You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by James Bognar <ja...@apache.org> on 2018/09/17 14:33:07 UTC
Hitting snag trying to release 7.2.0.
Sorry for the delay, but I'm hitting a snag on the 7.2.0 release. My mvn
release:prepare command is failing with the following error:
[INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @
juneau-microservice-template ---
[INFO] [INFO] The goal
'org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc' has not been
previously called for the module:
'org.apache.juneau:juneau-microservice-server:jar:7.2.0'. Trying to invoke
it...
[INFO] [ERROR] MavenInvocationException: Error when invoking Maven, consult
the invoker log file:
/Users/james.bognar/tmp/dist-release-juneau/git/juneau/juneau-microservice/juneau-microservice-template/target/invoker/maven-javadoc-plugin2086674656.txt
The invoker log file shows missing dependencies...
Invoking Maven for the goals:
[org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc] with no
properties
M2_HOME=/usr/local/apache-maven-3.3.9
MAVEN_OPTS=null
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre
JAVA_OPTS=null
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< org.apache.juneau:juneau-microservice-server
>------------
[INFO] Building Apache Juneau Microservice Server 7.2.0
[INFO] --------------------------------[ jar
]---------------------------------
[INFO]
[INFO] >>> maven-javadoc-plugin:2.10.4:javadoc (default-cli) >
generate-sources @ juneau-microservice-server >>>
[WARNING] The POM for org.apache.juneau:juneau-rest-server:jar:7.2.0 is
missing, no dependency information available
[WARNING] The POM for org.apache.juneau:juneau-rest-client:jar:7.2.0 is
missing, no dependency information available
[WARNING] The POM for org.apache.juneau:juneau-marshall-rdf:jar:7.2.0 is
missing, no dependency information available
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
juneau-microservice-server ---
[INFO]
[INFO] <<< maven-javadoc-plugin:2.10.4:javadoc (default-cli) <
generate-sources @ juneau-microservice-server <<<
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 0.704 s
[INFO] Finished at: 2018-09-17T10:26:34-04:00
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project juneau-microservice-server: Could
not resolve dependencies for project
org.apache.juneau:juneau-microservice-server:jar:7.2.0: The following
artifacts could not be resolved:
org.apache.juneau:juneau-rest-server:jar:7.2.0,
org.apache.juneau:juneau-rest-client:jar:7.2.0,
org.apache.juneau:juneau-marshall-rdf:jar:7.2.0: Failure to find
org.apache.juneau:juneau-rest-server:jar:7.2.0 in
https://nexus.soma.salesforce.com/nexus/content/groups/public/ was cached
in the local repository, resolution will not be reattempted until the
update interval of soma1 has elapsed or updates are forced -> [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/DependencyResolutionException
The missing dependencies are in my maven repo though since they were built
before that point:
[INFO] [INFO]
------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Apache Juneau 7.2.0 ................................ SUCCESS
[ 5.460 s]
[INFO] [INFO] Apache Juneau - Core APIs .......................... SUCCESS
[ 0.321 s]
[INFO] [INFO] Apache Juneau Marshall ............................. SUCCESS
[ 16.343 s]
[INFO] [INFO] Apache Juneau Marshal RDF .......................... SUCCESS
[ 1.455 s]
[INFO] [INFO] Apache Juneau Data Transfer Objects ................ SUCCESS
[ 3.286 s]
[INFO] [INFO] Apache Juneau Core ................................. SUCCESS
[ 0.788 s]
[INFO] [INFO] Apache Juneau Config File API ...................... SUCCESS
[ 1.029 s]
[INFO] [INFO] Apache Juneau Core Tests ........................... SUCCESS
[ 26.908 s]
[INFO] [INFO] Apache Juneau - REST APIs .......................... SUCCESS
[ 0.265 s]
[INFO] [INFO] Apache Juneau REST Servlet API ..................... SUCCESS
[ 9.455 s]
[INFO] [INFO] Apache Juneau REST JAX/RS API ...................... SUCCESS
[ 0.904 s]
[INFO] [INFO] Apache Juneau REST Client API ...................... SUCCESS
[ 3.779 s]
[INFO] [INFO] Apache Juneau - Microservice APIs .................. SUCCESS
[ 0.174 s]
[INFO] [INFO] Apache Juneau Microservice Server .................. SUCCESS
[ 1.181 s]
[INFO] [INFO] Apache Juneau Microservice Template ................ FAILURE
[ 3.296 s]
[INFO] [INFO] Apache Juneau - Examples ........................... SKIPPED
[INFO] [INFO] Apache Juneau REST Examples ........................ SKIPPED
[INFO] [INFO] Apache Juneau Microservice Tests ................... SKIPPED
[INFO] [INFO] Apache Juneau Core Examples ........................ SKIPPED
[INFO] [INFO] Apache Juneau Javadocs ............................. SKIPPED
[INFO] [INFO] Apache Juneau - Release Engineering ................ SKIPPED
[INFO] [INFO] Apache Juneau UberJar .............................. SKIPPED
[INFO] [INFO] Apache Juneau Distribution 7.2.0 ................... SKIPPED
[INFO] [INFO]
------------------------------------------------------------------------
Fwd: Hitting snag trying to release 7.2.0.
Posted by James Bognar <ja...@apache.org>.
Thanks Gary,
That "sorta" worked. It's failing for another reason now. I don't know
why it's trying to invoke javadoc on this project since it never appear to
before.
I worked around the issue by adding this to the projects POM...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
---------- Forwarded message ---------
From: Gary Gregory <ga...@gmail.com>
Date: Mon, Sep 17, 2018 at 11:39 AM
Subject: Re: Hitting snag trying to release 7.2.0.
To: <de...@juneau.apache.org>
Why not use the current version of the Javadoc plugin?
Gary
On Mon, Sep 17, 2018 at 8:33 AM James Bognar <ja...@apache.org> wrote:
> Sorry for the delay, but I'm hitting a snag on the 7.2.0 release. My mvn
> release:prepare command is failing with the following error:
>
> [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @
> juneau-microservice-template ---
>
> [INFO] [INFO] The goal
> 'org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc' has not been
> previously called for the module:
> 'org.apache.juneau:juneau-microservice-server:jar:7.2.0'. Trying to invoke
> it...
>
> [INFO] [ERROR] MavenInvocationException: Error when invoking Maven,
> consult the invoker log file:
> /Users/james.bognar/tmp/dist-release-juneau/git/juneau/juneau-microservice/juneau-microservice-template/target/invoker/maven-javadoc-plugin2086674656.txt
>
> The invoker log file shows missing dependencies...
>
> Invoking Maven for the goals:
> [org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc] with no
> properties
>
> M2_HOME=/usr/local/apache-maven-3.3.9
> MAVEN_OPTS=null
>
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre
> JAVA_OPTS=null
>
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------< org.apache.juneau:juneau-microservice-server
> >------------
> [INFO] Building Apache Juneau Microservice Server 7.2.0
> [INFO] --------------------------------[ jar
> ]---------------------------------
> [INFO]
> [INFO] >>> maven-javadoc-plugin:2.10.4:javadoc (default-cli) >
> generate-sources @ juneau-microservice-server >>>
> [WARNING] The POM for org.apache.juneau:juneau-rest-server:jar:7.2.0 is
> missing, no dependency information available
> [WARNING] The POM for org.apache.juneau:juneau-rest-client:jar:7.2.0 is
> missing, no dependency information available
> [WARNING] The POM for org.apache.juneau:juneau-marshall-rdf:jar:7.2.0 is
> missing, no dependency information available
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> juneau-microservice-server ---
> [INFO]
> [INFO] <<< maven-javadoc-plugin:2.10.4:javadoc (default-cli) <
> generate-sources @ juneau-microservice-server <<<
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.704 s
> [INFO] Finished at: 2018-09-17T10:26:34-04:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project juneau-microservice-server:
> Could not resolve dependencies for project
> org.apache.juneau:juneau-microservice-server:jar:7.2.0: The following
> artifacts could not be resolved:
> org.apache.juneau:juneau-rest-server:jar:7.2.0,
> org.apache.juneau:juneau-rest-client:jar:7.2.0,
> org.apache.juneau:juneau-marshall-rdf:jar:7.2.0: Failure to find
> org.apache.juneau:juneau-rest-server:jar:7.2.0 in
> https://nexus.soma.salesforce.com/nexus/content/groups/public/ was cached
> in the local repository, resolution will not be reattempted until the
> update interval of soma1 has elapsed or updates are forced -> [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/DependencyResolutionException
>
> The missing dependencies are in my maven repo though since they were built
> before that point:
>
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Reactor Summary:
> [INFO] [INFO]
> [INFO] [INFO] Apache Juneau 7.2.0 ................................ SUCCESS
> [ 5.460 s]
> [INFO] [INFO] Apache Juneau - Core APIs .......................... SUCCESS
> [ 0.321 s]
> [INFO] [INFO] Apache Juneau Marshall ............................. SUCCESS
> [ 16.343 s]
> [INFO] [INFO] Apache Juneau Marshal RDF .......................... SUCCESS
> [ 1.455 s]
> [INFO] [INFO] Apache Juneau Data Transfer Objects ................ SUCCESS
> [ 3.286 s]
> [INFO] [INFO] Apache Juneau Core ................................. SUCCESS
> [ 0.788 s]
> [INFO] [INFO] Apache Juneau Config File API ...................... SUCCESS
> [ 1.029 s]
> [INFO] [INFO] Apache Juneau Core Tests ........................... SUCCESS
> [ 26.908 s]
> [INFO] [INFO] Apache Juneau - REST APIs .......................... SUCCESS
> [ 0.265 s]
> [INFO] [INFO] Apache Juneau REST Servlet API ..................... SUCCESS
> [ 9.455 s]
> [INFO] [INFO] Apache Juneau REST JAX/RS API ...................... SUCCESS
> [ 0.904 s]
> [INFO] [INFO] Apache Juneau REST Client API ...................... SUCCESS
> [ 3.779 s]
> [INFO] [INFO] Apache Juneau - Microservice APIs .................. SUCCESS
> [ 0.174 s]
> [INFO] [INFO] Apache Juneau Microservice Server .................. SUCCESS
> [ 1.181 s]
> [INFO] [INFO] Apache Juneau Microservice Template ................ FAILURE
> [ 3.296 s]
> [INFO] [INFO] Apache Juneau - Examples ........................... SKIPPED
> [INFO] [INFO] Apache Juneau REST Examples ........................ SKIPPED
> [INFO] [INFO] Apache Juneau Microservice Tests ................... SKIPPED
> [INFO] [INFO] Apache Juneau Core Examples ........................ SKIPPED
> [INFO] [INFO] Apache Juneau Javadocs ............................. SKIPPED
> [INFO] [INFO] Apache Juneau - Release Engineering ................ SKIPPED
> [INFO] [INFO] Apache Juneau UberJar .............................. SKIPPED
> [INFO] [INFO] Apache Juneau Distribution 7.2.0 ................... SKIPPED
> [INFO] [INFO]
> ------------------------------------------------------------------------
>
>
Re: Hitting snag trying to release 7.2.0.
Posted by Gary Gregory <ga...@gmail.com>.
Why not use the current version of the Javadoc plugin?
Gary
On Mon, Sep 17, 2018 at 8:33 AM James Bognar <ja...@apache.org> wrote:
> Sorry for the delay, but I'm hitting a snag on the 7.2.0 release. My mvn
> release:prepare command is failing with the following error:
>
> [INFO] [INFO] --- maven-javadoc-plugin:2.10.4:jar (attach-javadocs) @
> juneau-microservice-template ---
>
> [INFO] [INFO] The goal
> 'org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc' has not been
> previously called for the module:
> 'org.apache.juneau:juneau-microservice-server:jar:7.2.0'. Trying to invoke
> it...
>
> [INFO] [ERROR] MavenInvocationException: Error when invoking Maven,
> consult the invoker log file:
> /Users/james.bognar/tmp/dist-release-juneau/git/juneau/juneau-microservice/juneau-microservice-template/target/invoker/maven-javadoc-plugin2086674656.txt
>
> The invoker log file shows missing dependencies...
>
> Invoking Maven for the goals:
> [org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:javadoc] with no
> properties
>
> M2_HOME=/usr/local/apache-maven-3.3.9
> MAVEN_OPTS=null
>
> JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre
> JAVA_OPTS=null
>
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------< org.apache.juneau:juneau-microservice-server
> >------------
> [INFO] Building Apache Juneau Microservice Server 7.2.0
> [INFO] --------------------------------[ jar
> ]---------------------------------
> [INFO]
> [INFO] >>> maven-javadoc-plugin:2.10.4:javadoc (default-cli) >
> generate-sources @ juneau-microservice-server >>>
> [WARNING] The POM for org.apache.juneau:juneau-rest-server:jar:7.2.0 is
> missing, no dependency information available
> [WARNING] The POM for org.apache.juneau:juneau-rest-client:jar:7.2.0 is
> missing, no dependency information available
> [WARNING] The POM for org.apache.juneau:juneau-marshall-rdf:jar:7.2.0 is
> missing, no dependency information available
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @
> juneau-microservice-server ---
> [INFO]
> [INFO] <<< maven-javadoc-plugin:2.10.4:javadoc (default-cli) <
> generate-sources @ juneau-microservice-server <<<
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 0.704 s
> [INFO] Finished at: 2018-09-17T10:26:34-04:00
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project juneau-microservice-server:
> Could not resolve dependencies for project
> org.apache.juneau:juneau-microservice-server:jar:7.2.0: The following
> artifacts could not be resolved:
> org.apache.juneau:juneau-rest-server:jar:7.2.0,
> org.apache.juneau:juneau-rest-client:jar:7.2.0,
> org.apache.juneau:juneau-marshall-rdf:jar:7.2.0: Failure to find
> org.apache.juneau:juneau-rest-server:jar:7.2.0 in
> https://nexus.soma.salesforce.com/nexus/content/groups/public/ was cached
> in the local repository, resolution will not be reattempted until the
> update interval of soma1 has elapsed or updates are forced -> [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/DependencyResolutionException
>
> The missing dependencies are in my maven repo though since they were built
> before that point:
>
> [INFO] [INFO]
> ------------------------------------------------------------------------
> [INFO] [INFO] Reactor Summary:
> [INFO] [INFO]
> [INFO] [INFO] Apache Juneau 7.2.0 ................................ SUCCESS
> [ 5.460 s]
> [INFO] [INFO] Apache Juneau - Core APIs .......................... SUCCESS
> [ 0.321 s]
> [INFO] [INFO] Apache Juneau Marshall ............................. SUCCESS
> [ 16.343 s]
> [INFO] [INFO] Apache Juneau Marshal RDF .......................... SUCCESS
> [ 1.455 s]
> [INFO] [INFO] Apache Juneau Data Transfer Objects ................ SUCCESS
> [ 3.286 s]
> [INFO] [INFO] Apache Juneau Core ................................. SUCCESS
> [ 0.788 s]
> [INFO] [INFO] Apache Juneau Config File API ...................... SUCCESS
> [ 1.029 s]
> [INFO] [INFO] Apache Juneau Core Tests ........................... SUCCESS
> [ 26.908 s]
> [INFO] [INFO] Apache Juneau - REST APIs .......................... SUCCESS
> [ 0.265 s]
> [INFO] [INFO] Apache Juneau REST Servlet API ..................... SUCCESS
> [ 9.455 s]
> [INFO] [INFO] Apache Juneau REST JAX/RS API ...................... SUCCESS
> [ 0.904 s]
> [INFO] [INFO] Apache Juneau REST Client API ...................... SUCCESS
> [ 3.779 s]
> [INFO] [INFO] Apache Juneau - Microservice APIs .................. SUCCESS
> [ 0.174 s]
> [INFO] [INFO] Apache Juneau Microservice Server .................. SUCCESS
> [ 1.181 s]
> [INFO] [INFO] Apache Juneau Microservice Template ................ FAILURE
> [ 3.296 s]
> [INFO] [INFO] Apache Juneau - Examples ........................... SKIPPED
> [INFO] [INFO] Apache Juneau REST Examples ........................ SKIPPED
> [INFO] [INFO] Apache Juneau Microservice Tests ................... SKIPPED
> [INFO] [INFO] Apache Juneau Core Examples ........................ SKIPPED
> [INFO] [INFO] Apache Juneau Javadocs ............................. SKIPPED
> [INFO] [INFO] Apache Juneau - Release Engineering ................ SKIPPED
> [INFO] [INFO] Apache Juneau UberJar .............................. SKIPPED
> [INFO] [INFO] Apache Juneau Distribution 7.2.0 ................... SKIPPED
> [INFO] [INFO]
> ------------------------------------------------------------------------
>
>