[jira] [Commented] (CMIS-482) Javadoc Aggregate goal causes release to fail since requires assumes reactor artifacts to be already in a repository
[
https://issues.apache.org/jira/browse/CMIS-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14386745#comment-14386745
]
Gabriele Columbro commented on CMIS-482:
It was agreed to deprecate the -docs.zip package on the ML, see
https://mail-archives.apache.org/mod_mbox/chemistry-dev/201408.mbox/browser.
> Javadoc Aggregate goal causes release to fail since requires assumes reactor
> artifacts to be already in a repository
>
>
> Key: CMIS-482
> URL: https://issues.apache.org/jira/browse/CMIS-482
> Project: Chemistry
> Issue Type: Sub-task
> Components: build&release
>Affects Versions: OpenCMIS 0.6.0
>Reporter: Gabriele Columbro
>Assignee: Gabriele Columbro
>Priority: Minor
> Fix For: OpenCMIS 1.0.0
>
>
> When running a mvn release build fails because of missing artifacts for a
> Maven Javadoc plugin aggregate run. Workaround is to run mvn install and then
> re run the release.
> Root cause is that superPOM javadoc:aggregate is called prior to the actual
> first mvn install and tries to find new sub-modules artifacts in a repository
> (they are still not build, and not resolved from the reactor).
> Here the full build log:
> rezion:chemistry-opencmis mindthegab$ mvn release:prepare
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Apache Chemistry OpenCMIS
> [INFO] OpenCMIS Commons API
> [INFO] OpenCMIS Commons Implementation
> [INFO] OpenCMIS Client API
> [INFO] OpenCMIS Client Bindings Implementation
> [INFO] OpenCMIS Client Implementation
> [INFO] OpenCMIS Client Bindings Implementation (WebSphere)
> [INFO] OpenCMIS Server Support
> [INFO] OpenCMIS Server Implementation WAR packaging
> [INFO] OpenCMIS Test Utilities
> [INFO] OpenCMIS InMemory Server WAR packaging
> [INFO] OpenCMIS FileShare Server Implementation
> [INFO] OpenCMIS JCR Server Implementation
> [INFO] OpenCMIS Full Integration Tests
> [INFO] OpenCMIS Test Compatibility Kit
> [INFO] OpenCMIS Tools
> [INFO] OpenCMIS Browser
> [INFO] OpenCMIS Browser Application
> [INFO] OpenCMIS Workbench
> [INFO] OpenCMIS OSGi Client Wrapper
> [INFO] OpenCMIS OSGi Server Wrapper
> [INFO] OpenCMIS Assemblies Distribution
> [WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.
> Its dependencies (if any) will NOT be available to the current build.
> [INFO]
>
> [INFO] Building Apache Chemistry OpenCMIS
> [INFO]task-segment: [release:prepare] (aggregator-style)
> [INFO]
>
> [INFO] [release:prepare {execution: default-cli}]
> [INFO] Verifying that there are no local modifications...
> [INFO] ignoring changes on: pom.xml.next, release.properties,
> pom.xml.releaseBackup, pom.xml.backup, pom.xml.branch, pom.xml.tag
> [INFO] Executing: /bin/sh -c cd
> /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis && svn --username
> gabriele --password '*' --no-auth-cache --non-interactive status
> [INFO] Working directory:
> /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) 0.6.0: :
> What is SCM release tag or label for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) chemistry-opencmis-0.6.0:
> : chemistry-opencmis-0.6.0-RC1
> What is the new development version for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) 0.6.1-SNAPSHOT: :
> 0.7.0-SNAPSHOT
> [INFO] Transforming 'Apache Chemistry OpenCMIS'...
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Commons API'...
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Commons Implementation'...
> [INFO] Updating chemistry-opencmis-commons-api to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Client API'...
> [INFO] Updating chemistry-opencmis-commons-api to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Client Bindings Implementation'...
> [INFO] Updating chemistry-opencmis-commons-api to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
> [INFO] Ignoring artifact version update for expre
[jira] [Commented] (CMIS-482) Javadoc Aggregate goal causes release to fail since requires assumes reactor artifacts to be already in a repository
[
https://issues.apache.org/jira/browse/CMIS-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960814#comment-13960814
]
Gabriele Columbro commented on CMIS-482:
In order to do this, we would need to change the way the documentation dist
package is built, i.e.
1. Creating a ZIP attached to the Maven Site and deploy it in the maven site
2. Using
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate-dependency-sources.html
to produce the artifact in the chemistry-opencmis-dist project. That's the
right way but require more work.
Will do the 0.11.0 release first and reschedule this to 1.0.0.
> Javadoc Aggregate goal causes release to fail since requires assumes reactor
> artifacts to be already in a repository
>
>
> Key: CMIS-482
> URL: https://issues.apache.org/jira/browse/CMIS-482
> Project: Chemistry
> Issue Type: Sub-task
> Components: build&release
>Affects Versions: OpenCMIS 0.6.0
>Reporter: Gabriele Columbro
>Assignee: Gabriele Columbro
>Priority: Minor
> Fix For: OpenCMIS 1.0.0
>
>
> When running a mvn release build fails because of missing artifacts for a
> Maven Javadoc plugin aggregate run. Workaround is to run mvn install and then
> re run the release.
> Root cause is that superPOM javadoc:aggregate is called prior to the actual
> first mvn install and tries to find new sub-modules artifacts in a repository
> (they are still not build, and not resolved from the reactor).
> Here the full build log:
> rezion:chemistry-opencmis mindthegab$ mvn release:prepare
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Apache Chemistry OpenCMIS
> [INFO] OpenCMIS Commons API
> [INFO] OpenCMIS Commons Implementation
> [INFO] OpenCMIS Client API
> [INFO] OpenCMIS Client Bindings Implementation
> [INFO] OpenCMIS Client Implementation
> [INFO] OpenCMIS Client Bindings Implementation (WebSphere)
> [INFO] OpenCMIS Server Support
> [INFO] OpenCMIS Server Implementation WAR packaging
> [INFO] OpenCMIS Test Utilities
> [INFO] OpenCMIS InMemory Server WAR packaging
> [INFO] OpenCMIS FileShare Server Implementation
> [INFO] OpenCMIS JCR Server Implementation
> [INFO] OpenCMIS Full Integration Tests
> [INFO] OpenCMIS Test Compatibility Kit
> [INFO] OpenCMIS Tools
> [INFO] OpenCMIS Browser
> [INFO] OpenCMIS Browser Application
> [INFO] OpenCMIS Workbench
> [INFO] OpenCMIS OSGi Client Wrapper
> [INFO] OpenCMIS OSGi Server Wrapper
> [INFO] OpenCMIS Assemblies Distribution
> [WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.
> Its dependencies (if any) will NOT be available to the current build.
> [INFO]
>
> [INFO] Building Apache Chemistry OpenCMIS
> [INFO]task-segment: [release:prepare] (aggregator-style)
> [INFO]
>
> [INFO] [release:prepare {execution: default-cli}]
> [INFO] Verifying that there are no local modifications...
> [INFO] ignoring changes on: pom.xml.next, release.properties,
> pom.xml.releaseBackup, pom.xml.backup, pom.xml.branch, pom.xml.tag
> [INFO] Executing: /bin/sh -c cd
> /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis && svn --username
> gabriele --password '*' --no-auth-cache --non-interactive status
> [INFO] Working directory:
> /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) 0.6.0: :
> What is SCM release tag or label for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) chemistry-opencmis-0.6.0:
> : chemistry-opencmis-0.6.0-RC1
> What is the new development version for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) 0.6.1-SNAPSHOT: :
> 0.7.0-SNAPSHOT
> [INFO] Transforming 'Apache Chemistry OpenCMIS'...
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Commons API'...
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Commons Implementation'...
> [INFO] Updating chemistry-opencmis-commons-api to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Client API'...
> [INFO] Updating chemistry-opencmis-commons-api to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [WARNING] Provider svn does not support edit operati
[jira] [Commented] (CMIS-482) Javadoc Aggregate goal causes release to fail since requires assumes reactor artifacts to be already in a repository
[
https://issues.apache.org/jira/browse/CMIS-482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960477#comment-13960477
]
Gabriele Columbro commented on CMIS-482:
Following
http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate-dependency-sources.html
for a workaround / proper way.
> Javadoc Aggregate goal causes release to fail since requires assumes reactor
> artifacts to be already in a repository
>
>
> Key: CMIS-482
> URL: https://issues.apache.org/jira/browse/CMIS-482
> Project: Chemistry
> Issue Type: Sub-task
> Components: build&release
>Affects Versions: OpenCMIS 0.6.0
>Reporter: Gabriele Columbro
>Assignee: Gabriele Columbro
>Priority: Minor
>
> When running a mvn release build fails because of missing artifacts for a
> Maven Javadoc plugin aggregate run. Workaround is to run mvn install and then
> re run the release.
> Root cause is that superPOM javadoc:aggregate is called prior to the actual
> first mvn install and tries to find new sub-modules artifacts in a repository
> (they are still not build, and not resolved from the reactor).
> Here the full build log:
> rezion:chemistry-opencmis mindthegab$ mvn release:prepare
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] Apache Chemistry OpenCMIS
> [INFO] OpenCMIS Commons API
> [INFO] OpenCMIS Commons Implementation
> [INFO] OpenCMIS Client API
> [INFO] OpenCMIS Client Bindings Implementation
> [INFO] OpenCMIS Client Implementation
> [INFO] OpenCMIS Client Bindings Implementation (WebSphere)
> [INFO] OpenCMIS Server Support
> [INFO] OpenCMIS Server Implementation WAR packaging
> [INFO] OpenCMIS Test Utilities
> [INFO] OpenCMIS InMemory Server WAR packaging
> [INFO] OpenCMIS FileShare Server Implementation
> [INFO] OpenCMIS JCR Server Implementation
> [INFO] OpenCMIS Full Integration Tests
> [INFO] OpenCMIS Test Compatibility Kit
> [INFO] OpenCMIS Tools
> [INFO] OpenCMIS Browser
> [INFO] OpenCMIS Browser Application
> [INFO] OpenCMIS Workbench
> [INFO] OpenCMIS OSGi Client Wrapper
> [INFO] OpenCMIS OSGi Server Wrapper
> [INFO] OpenCMIS Assemblies Distribution
> [WARNING] POM for 'biz.aQute:bndlib:pom:1.15.0:runtime' is invalid.
> Its dependencies (if any) will NOT be available to the current build.
> [INFO]
>
> [INFO] Building Apache Chemistry OpenCMIS
> [INFO]task-segment: [release:prepare] (aggregator-style)
> [INFO]
>
> [INFO] [release:prepare {execution: default-cli}]
> [INFO] Verifying that there are no local modifications...
> [INFO] ignoring changes on: pom.xml.next, release.properties,
> pom.xml.releaseBackup, pom.xml.backup, pom.xml.branch, pom.xml.tag
> [INFO] Executing: /bin/sh -c cd
> /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis && svn --username
> gabriele --password '*' --no-auth-cache --non-interactive status
> [INFO] Working directory:
> /Users/mindthegab/Dev/alfresco/workspace/chemistry-opencmis
> [INFO] Checking dependencies and plugins for snapshots ...
> What is the release version for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) 0.6.0: :
> What is SCM release tag or label for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) chemistry-opencmis-0.6.0:
> : chemistry-opencmis-0.6.0-RC1
> What is the new development version for "Apache Chemistry OpenCMIS"?
> (org.apache.chemistry.opencmis:chemistry-opencmis) 0.6.1-SNAPSHOT: :
> 0.7.0-SNAPSHOT
> [INFO] Transforming 'Apache Chemistry OpenCMIS'...
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Commons API'...
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Commons Implementation'...
> [INFO] Updating chemistry-opencmis-commons-api to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Client API'...
> [INFO] Updating chemistry-opencmis-commons-api to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [WARNING] Provider svn does not support edit operation.
> [INFO] Transforming 'OpenCMIS Client Bindings Implementation'...
> [INFO] Updating chemistry-opencmis-commons-api to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [INFO] Updating chemistry-opencmis-commons-impl to 0.6.0
> [INFO] Ignoring artifact version update for expression: ${project.version}
> [WARNING] Provi
