We're updating the issue view to help you get more done. 

Unable to build sdk with 3.3.x versions of maven

Description

When I run the command in BUILD.rst to build the standalone zip, I get:

I've tried this on both develop and release/3.4. It might be something related to my environment, as release 3.4.0 has already been released without issue.
I'm also not really sure why its building cdap-integration-test since its not a dependency of anything.

Release Notes

Fixed a bug that caused SDK builds to fail when using 3.3.x versions of maven.

Activity

Show:
Andreas Neumann
May 3, 2016, 8:40 AM

I have the same issue in release/3.4 but in develop I can build just fine.

Albert Shau
May 3, 2016, 7:05 PM
Edited

fails with maven 3.3.1, 3.3.3, 3.3.9. Succeeds with maven 3.1.1.

Albert Shau
May 3, 2016, 7:14 PM

from terence:

when the “dist” profile is turned on, the dependency on “cdap-spark-core” in “cdap-standalone” is having scope “provided” (which is correct)… and in maven, provided scope dependency is not part of transitive dependency (at least that how it is in maven 3.3, not sure if it is a bug or intended).

So the fix will be to add an explicit dependency to cdap-integreation-test

Jon Gray
May 11, 2016, 5:26 PM

can you backport to 3.4.1, please?

Albert Shau
May 11, 2016, 6:12 PM

the fix should be there on the latest release/3.4 branch. Are you still seeing it?

Fixed

Assignee

Albert Shau

Reporter

Albert Shau

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Priority

Major
Configure