This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | build with dependencies on submodule does not apply options | ||
---|---|---|---|
Product: | projects | Reporter: | catweasle <catweasle> |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
top module build output
submodule build output submodule build with dependencies output (ignore test failures, these are my fault) |
Description
catweasle
2009-06-11 07:39:43 UTC
Created attachment 83430 [details]
top module build output
Created attachment 83431 [details]
submodule build output
Created attachment 83432 [details]
submodule build with dependencies output (ignore test failures, these are my fault)
I suspect the reactor:make goal execution doesn't allow passing profile activations or properties into the forked/invoked build. I guess we should be using the default switches introduced in maven 2.1, rather then reactor:make goal. probably only fallback to the goal if users are using older external maven binaries. The reactor plugin documentation suggests that one can write this: mvn reactor:resume -Dmake.folders=barBusinessLogic -Dmake.goals=install,-DskipTests where -DskipTests is a property. Therefore one should be able to put -Pprofile into the property but I haven't checked if it truly works. anyway, after the following changeset we should have the default to use -pl and -am switches if using 2.1+ maven, for older versions we still fallback to reactor:make. If you have custom setting using reactor:make, with 2.1+ maven you should get the non-plugin reactor as well. http://hg.netbeans.org/main/rev/eaf757ed5f30 Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cc5cb7204210 User: Milos Kleint <mkleint@netbeans.org> Log: #166898 allow setting -am, -amd, -pl switches to the command line maven, persist and read such settings. |