[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2019-01-25 Thread Robert Scholte (JIRA)


[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16752577#comment-16752577
 ] 

Robert Scholte commented on MJAVADOC-449:
-

Soonish, we're still having issues with several combinations of Java Modules, 
Maven Multimodules and aggregate reports.

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Fix For: 3.1.0
>
> Attachments: 20180618-MJAVADOC449.zip, 
> maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2019-01-25 Thread Nick Williams (JIRA)


[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16752495#comment-16752495
 ] 

Nick Williams commented on MJAVADOC-449:


Outstanding! That works! No errors anymore. I'll keep using the snapshot for 
now. Any idea how soon we'll have a GA release of 3.1.0?

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Fix For: 3.1.0
>
> Attachments: 20180618-MJAVADOC449.zip, 
> maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2019-01-25 Thread Robert Scholte (JIRA)


[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16752400#comment-16752400
 ] 

Robert Scholte commented on MJAVADOC-449:
-

[~beamerblvd] Could you try 3.1.0-SNAPSHOT from 
https://repository.apache.org/content/repositories/snapshots/ ? A lot has been 
improved the last couple of months. If it is still a problem, please create a 
new issue.

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Fix For: 3.1.0
>
> Attachments: 20180618-MJAVADOC449.zip, 
> maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2019-01-25 Thread Nick Williams (JIRA)


[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16752352#comment-16752352
 ] 

Nick Williams commented on MJAVADOC-449:


I'm seeing something slightly different, and I'm hoping someone here can help 
me understand if this is a different manifestation of this bug (and, if so, if 
this fix will still work) or if I have actually done something wrong (and how 
to fix it). I'd also love if anyone here has any idea about how soon this bug 
fix will be released. I'm not using Java 9. I'm using Java 8. I need my project 
to be compatible with all Java LTS, which means at this time that my project 
must be compatible with Java 8 and 11.

In my project, all of my packages have {{package-info.java}} with Javadoc and 
copyrights in them. When building, I'm getting an error very similar to others' 
errors above.

This example error is from the {{licensing-licensor-base}} module:

{code}
[INFO] --- maven-javadoc-plugin:3.0.1:jar (make-javadoc) @ 
licensing-licensor-base ---
[ERROR] no module descriptor for 
io.oddsource.java.licensing:licensing-licensor-base
[ERROR] no module descriptor for io.oddsource.java.licensing:licensing-core
{code}

And this one is from {{licensing-licensor-ui-core}}:

{code}
[INFO] --- maven-javadoc-plugin:3.0.1:jar (make-javadoc) @ 
licensing-licensor-ui-core ---
[ERROR] no module descriptor for 
io.oddsource.java.licensing:licensing-licensor-ui-core
[ERROR] no module descriptor for io.oddsource.java.licensing:licensing-core
[ERROR] no module descriptor for 
io.oddsource.java.licensing:licensing-licensor-base
{code}

However, and this is the key difference (I think), in my case, aggregation does 
NOT fail (in Java 8*). Aggregation completes, the Javadoc artifact is correct, 
and the build completes successfully. In a sense, one could argue that there's 
nothing wrong and I can ignore the errors. However, I really don't like seeing 
{{[ERROR]}} in my builds, for reasons that I think will be obvious to most 
devs. So is this the same bug, and will the fix resolve those errors for me? Or 
am I actually doing something wrong here?

(*I have not yet moved on to trying to build on Java 11. So that's TBD.)

The project source can be found at 
https://github.com/OddSource/java-license-manager. The current commit 
displaying this behavior as of this comment is {{db8c534}}.

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Fix For: 3.1.0
>
> Attachments: 20180618-MJAVADOC449.zip, 
> maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:

[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2018-11-25 Thread Hudson (JIRA)


[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16698126#comment-16698126
 ] 

Hudson commented on MJAVADOC-449:
-

Build unstable in Jenkins: Maven TLP » maven-javadoc-plugin » master #74

See 
https://builds.apache.org/job/maven-box/job/maven-javadoc-plugin/job/master/74/

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Fix For: 3.0.2
>
> Attachments: 20180618-MJAVADOC449.zip, 
> maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2018-09-01 Thread Martin Desruisseaux (JIRA)


[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16599627#comment-16599627
 ] 

Martin Desruisseaux commented on MJAVADOC-449:
--

I think that the issue is deeper than aggregated javadoc only. In order to 
generate aggregated javadoc with a front page listing modules, we need to use 
the {{\--module-path}} and {{\--module-source-path}} options of JDK tools (if 
there is another way, I did not found it yet). But those options require a 
directory having the exact module name. Current Maven standard directory layout 
is incompatible with this requirement. This problem impacts no only javadoc, 
but all JDK tools working with modules (at least {{javadoc}}, {{javac}} and 
{{jlink}}). For example when used with {{javac}}, "aggregated compilation" 
allows to run Annotation Processing Tools on all modules in one pass (useful if 
the processing tools want to combine information from all modules).

If we need to revisit directory layout in order to support aggregated javadoc, 
then we could expand the scope for fixing also other issues (in my opinion) in 
supporting multi-language projects, for example in projects using Java, Python 
and C/C++ together. A new directory layout [has been proposed on the Maven 
developer mailing 
list|https://mail-archives.apache.org/mod_mbox/maven-dev/201808.mbox/%3C91eb6c15-9fc6-6d2a-56c9-962c2be4c227%40geomatys.com%3E].
 But [implementing and 
experimenting|https://github.com/Geomatys/maven-plugins/wiki] it would require 
volunteer time, maybe outside the current Maven maintainers team, until the 
value of such proposal is demonstrated (or not).

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Attachments: 20180618-MJAVADOC449.zip, 
> maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2018-08-27 Thread Lewis John McGibbney (JIRA)


[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16594487#comment-16594487
 ] 

Lewis John McGibbney commented on MJAVADOC-449:
---

javadoc:aggregate fails with following JDK 

Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 
2018-06-17T11:33:14-07:00)
Maven home: /usr/local/Cellar/maven/3.5.4/libexec
Java version: 10.0.2, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "Mac"

maven-javadoc-plugin version 3.0.1

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Attachments: 20180618-MJAVADOC449.zip, 
> maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2018-06-18 Thread Ed Burns (JIRA)


[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16516615#comment-16516615
 ] 

Ed Burns commented on MJAVADOC-449:
---

This is still a problem with 3.0.1.  I'll attach my simple module as well, but 
I see:

{{[ERROR] no module descriptor for parent:parent}}

A workaround would be very welcome.

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Attachments: maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2018-02-14 Thread James Marble (JIRA)

[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16364401#comment-16364401
 ] 

James Marble commented on MJAVADOC-449:
---

I'm getting a different error, but I still cannot run javadoc:aggregate on any 
multi-module JDK 9 project with at least one module-info.java. It always 
complains about a missing module descriptor for the root project:

{{[ERROR] no module descriptor for 
maven-javadoc-aggregate-test:maven-javadoc-aggregate-test}}

This happens on javadoc:aggregate or a site build that is configured for 
javadoc:aggregate.
{code:java}
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] maven-javadoc-aggregate-test
[INFO] maven-javadoc-aggregate-test-child
[INFO] 
[INFO] 
[INFO] Building maven-javadoc-aggregate-test 0.0.1-SNAPSHOT
[INFO] 
[INFO] 
[INFO] >>> maven-javadoc-plugin:3.0.0:aggregate (default-cli) > compile @ 
maven-javadoc-aggregate-test >>>
[INFO] 
[INFO] 
[INFO] Forking maven-javadoc-aggregate-test-child 0.0.1-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
maven-javadoc-aggregate-test-child ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 
C:\Users\jm6534\Documents\maven-javadoc-plugin-aggregate-test\maven-javadoc-aggregate-test-child\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ 
maven-javadoc-aggregate-test-child ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to 
C:\Users\jm6534\Documents\maven-javadoc-plugin-aggregate-test\maven-javadoc-aggregate-test-child\target\classes
[INFO] 
[INFO] <<< maven-javadoc-plugin:3.0.0:aggregate (default-cli) < compile @ 
maven-javadoc-aggregate-test <<<
[INFO] 
[INFO] --- maven-javadoc-plugin:3.0.0:aggregate (default-cli) @ 
maven-javadoc-aggregate-test ---
[ERROR] no module descriptor for 
maven-javadoc-aggregate-test:maven-javadoc-aggregate-test
[INFO] 
Loading source file 
C:\Users\jm6534\Documents\maven-javadoc-plugin-aggregate-test\maven-javadoc-aggregate-test-child\src\main\java\module-info.java...
1 error
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] maven-javadoc-aggregate-test ... FAILURE [ 5.050 s]
[INFO] maven-javadoc-aggregate-test-child . SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 5.313 s
[INFO] Finished at: 2018-02-14T08:46:47-08:00
[INFO] Final Memory: 20M/65M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.0.0:aggregate (default-cli) on 
project maven-javadoc-aggregate-test: An error has occurred in Javadoc report 
generation:
[ERROR] Exit code: 1 - error: module not found: 
maven.javadoc.aggregate.test.child
[ERROR] 
[ERROR] Command line was: "C:\Program Files\Java\jdk-9.0.1\bin\javadoc.exe" 
@options @packages @argfile
[ERROR] 
[ERROR] Refer to the generated Javadoc files in 
'C:\Users\jm6534\Documents\maven-javadoc-plugin-aggregate-test\target\site\apidocs'
 dir.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
{code}
Attached is a minimal example that produces this error. Deleting 
module-info.java "fixes" the problem. [^maven-javadoc-plugin-aggregate-test.zip]

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>Priority: Major
> Attachments: maven-javadoc-plugin-aggregate-test.zip
>
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> 

[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2017-09-30 Thread Karl Heinz Marbaise (JIRA)

[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16187075#comment-16187075
 ] 

Karl Heinz Marbaise commented on MJAVADOC-449:
--

If I correctly understand the comments here: This is fixed ? Can we close this?

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2017-08-21 Thread Gili (JIRA)

[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16136176#comment-16136176
 ] 

Gili commented on MJAVADOC-449:
---

The aforementioned JDK bug is now marked as fixed.

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>Assignee: Robert Scholte
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2016-04-18 Thread JIRA

[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15246967#comment-15246967
 ] 

Hervé Boutemy commented on MJAVADOC-449:


while at it, bug found in JDK 9 ea: JDK-8154482:
new doclet should support old taglets
https://bugs.openjdk.java.net/browse/JDK-8154482

see http://mail.openjdk.java.net/pipermail/javadoc-dev/2016-April/000211.html


> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2016-04-17 Thread JIRA

[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15245076#comment-15245076
 ] 

Hervé Boutemy commented on MJAVADOC-449:


thanks for the investigations: it makes sense
and now, with that in mind, it's not a m-javadoc-p issue per se, but good 
experience on what can go wrong when upgrading :)

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2016-04-17 Thread Robert Scholte (JIRA)

[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244897#comment-15244897
 ] 

Robert Scholte commented on MJAVADOC-449:
-

The problem is caused by {{org.apache.maven:maven-parent:27}}, which adds 2 
tagletArtifacts to the configuration o the maven-javadoc-plugin: 
org.apache.maven.plugin-tools:maven-plugin-tools-javadoc and 
org.codehaus.plexus:plexus-javadoc. These custom tags depend on tools.jar (as 
specified in their pom.xml), which is not going to work with Java9. I've ask 
the jigsaw-dev list how this should work.

   

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2016-04-17 Thread JIRA

[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244598#comment-15244598
 ] 

Hervé Boutemy commented on MJAVADOC-449:


if it happens when running javadoc plugin, it's a m-javadoc-p issue: the root 
cause may be elsewhere, of course, and we may have to release a whole chain of 
components to get this goal working with Java 9

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MJAVADOC-449) javadoc:aggregate fails with JDK 9

2016-04-17 Thread Robert Scholte (JIRA)

[ 
https://issues.apache.org/jira/browse/MJAVADOC-449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15244587#comment-15244587
 ] 

Robert Scholte commented on MJAVADOC-449:
-

It's actually not a m-javadoc-p issue, but  a 
http://maven.apache.org/components/plugin-tools/maven-plugin-tools-javadoc/dependencies.html
 issue. 

> javadoc:aggregate fails with JDK 9
> --
>
> Key: MJAVADOC-449
> URL: https://issues.apache.org/jira/browse/MJAVADOC-449
> Project: Maven Javadoc Plugin
>  Issue Type: Bug
>Affects Versions: 2.10.3
>Reporter: Hervé Boutemy
>
> trying {{mvn -Preporting site}} with Maven core and maven-javadoc-plugin 
> upgraded to 2.10.4-SNAPSHOT to benefit from already JDK 9 related fixed 
> issues shows another one
> {noformat}[ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project 
> maven: Error generating maven-javadoc-plugin:2.10.4-SNAPSHOT:aggregate: 
> Unable to resolve artifact:groupId = 'org.apache.maven.plugin-tools'
> [ERROR] artifactId = 'maven-plugin-tools-javadoc'
> [ERROR] version = '3.4': Missing:
> [ERROR] --
> [ERROR] 1) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] Try downloading the file manually from the project website.
> [ERROR] 
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file
> [ERROR] 
> [ERROR] Alternatively, if you host your own repository you can deploy the 
> file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=com.sun -DartifactId=tools 
> -Dversion=1.4.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
> -DrepositoryId=[id]
> [ERROR] 
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 2) com.sun:tools:jar:1.4.2
> [ERROR] 
> [ERROR] --
> [ERROR] 1 required artifact is missing.
> [ERROR] 
> [ERROR] for artifact:
> [ERROR] org.apache.maven.plugin-tools:maven-plugin-tools-javadoc:jar:3.4
> [ERROR] 
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, 
> releases=false, snapshots=true),
> [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, 
> snapshots=false)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)