Re: maven-javadoc-plugin:aggregate and maven plugin module does not work

2010-12-16 Thread japher

Problem seems to be fixed when using aggregate-jar goal (instead of
aggregate) for version 2.7 of the plugin.
-- 
View this message in context: 
http://maven-users.828.n2.nabble.com/maven-javadoc-plugin-aggregate-and-maven-plugin-module-does-not-work-tp4974133p5841408.html
Sent from the maven users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: maven-javadoc-plugin:aggregate and maven plugin module does not work

2010-12-15 Thread japher

Wujek, did you ever find a solution to this? I'm having the same problem.
-- 
View this message in context: 
http://maven-users.828.n2.nabble.com/maven-javadoc-plugin-aggregate-and-maven-plugin-module-does-not-work-tp4974133p5837801.html
Sent from the maven users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



maven-javadoc-plugin:aggregate and maven plugin module does not work

2010-04-28 Thread wujek.srujek

Hi. I have project whose structure is the following:
A (packaging: pom)
A-core (packaging jar)
A-maven-plugin (packaging maven-plugin)

pom.xml from A has this:
build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-javadoc-plugin/artifactId
executions
execution
phasepackage/phase
goals
goalaggregate/goal
/goals
configuration
links
linkhttp://www.testng.org/javadocs//link
linkhttp://www.dbunit.org/apidocs//link
   
linkhttp://java.sun.com/javaee/6/docs/api//link
/links
showprivate/show
/configuration
/execution
/executions
/plugin
/plugins
/build

Now when I invoke 'mvn clean package' I get this output:

$ mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_19
...

$ mvn -Dmaven.test.skip -Dquiet=true package
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   A
[INFO]   A Core
[INFO]   A Maven Plugin
[INFO]

[INFO] Building A
[INFO]task-segment: [package]
[INFO]

[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] Preparing javadoc:aggregate
[INFO]

[INFO] Building A
[INFO]

[WARNING] Removing: aggregate from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO]

[INFO] Building A Core
[INFO]

[WARNING] Removing: aggregate from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO]

[INFO] Building A Maven Plugin
[INFO]

[WARNING] Removing: aggregate from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [javadoc:aggregate {execution: default}]
[INFO]

[INFO] Building A Core
[INFO]task-segment: [package]
[INFO]

[INFO] [resources:resources {execution: default-resources}]
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 58 source files to
C:\users\SR\Workspace\A\ACore\target\classes
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Copying 16 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar:
C:\users\SR\Workspace\A\ACore\target\a-core-0.9-SNAPSHOT.jar
[INFO] Preparing javadoc:aggregate
[INFO]

[INFO] Building A
[INFO]

[WARNING] Removing: aggregate from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO]

[INFO] Building A Core
[INFO]

[WARNING] Removing: aggregate from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO]

[INFO] Building A Maven Plugin
[INFO]

[WARNING] Removing: aggregate from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
[INFO] [javadoc:aggregate {execution: default}]
[INFO]

[INFO] Building A Maven Plugin
[INFO]task-segment: [package]
[INFO]

[INFO] [plugin:descriptor {execution: default-descriptor}]
[INFO] Using 2 extractors.
[INFO] Applying extractor for language: java
[INFO] Extractor for language: java found 2 mojo descriptors.
[INFO]