-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Not A Bug
-
Affects Version/s: None
-
Fix Version/s: 1.0.2
-
Component/s: Nuxeo Connector
When releasing the arender package based on a nightly release, the following error appears:
[INFO] Nuxeo ARender connector embedded Marketplace package FAILURE [ 4.855 s] [INFO] Docker ARender Previewer server .................... FAILURE [ 2.233 s] [INFO] Docker ARender Rendition server .................... SUCCESS [01:28 min] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:01 min [INFO] Finished at: 2018-11-19T16:59:44+00:00 [INFO] Final Memory: 122M/1798M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project marketplace-arender-connector-embedded: Could not resolve dependencies for project com.nuxeo.marketplace.arender:marketplace-arender-connector-embedded:zip:1.0.1-I20181119_1657: The following artifacts could not be resolved: com.nuxeo.ecm.annotation:nuxeo-arender-connector-core:jar:10.3-I20181119_0125, com.nuxeo.ecm.annotation:nuxeo-arender-connector-hmi:war:10.3-I20181119_0125: Could not find artifact com.nuxeo.ecm.annotation:nuxeo-arender-connector-core:jar:10.3-I20181119_0125 in private-releases (https://mavenpriv.nuxeo.com/nexus/content/groups/private-releases) -> [Help 1] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.10:copy (copy) on project docker-arender-previewer: Unable to find artifact. Failure to find com.nuxeo.ecm.annotation:nuxeo-arender-connector-hmi:war:10.3-I20181119_0125 in https://mavenpriv.nuxeo.com/nexus/content/groups/private-releases was cached in the local repository, resolution will not be reattempted until the update interval of private-releases has elapsed or updates are forced [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.nuxeo.ecm.annotation -DartifactId=nuxeo-arender-connector-hmi -Dversion=10.3-I20181119_0125 -Dpackaging=war -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.nuxeo.ecm.annotation -DartifactId=nuxeo-arender-connector-hmi -Dversion=10.3-I20181119_0125 -Dpackaging=war -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] com.nuxeo.ecm.annotation:nuxeo-arender-connector-hmi:war:10.3-I20181119_0125 [ERROR] [ERROR] from the specified remote repositories: [ERROR] private-releases (https://mavenpriv.nuxeo.com/nexus/content/groups/private-releases, releases=true, snapshots=false), [ERROR] private-snapshots (https://mavenpriv.nuxeo.com/nexus/content/groups/private-snapshots, releases=false, snapshots=true), [ERROR] nightly-staging (http://mavenin.nuxeo.com/nexus/content/repositories/nightly-staging, releases=true, snapshots=false), [ERROR] nightly-staging-priv (https://mavenpriv.nuxeo.com/nexus/content/repositories/nightly-staging-priv, releases=true, snapshots=false), [ERROR] arender (https://mavenin.nuxeo.com/nexus/content/repositories/arender/, releases=true, snapshots=false), [ERROR] public-releases-mirror (http://mavenin.nuxeo.com/nexus/content/groups/public, releases=true, snapshots=false), [ERROR] public-snapshots-mirror (http://mavenin.nuxeo.com/nexus/content/groups/public-snapshot, releases=false, snapshots=true), [ERROR] internal-releases (http://mavenin.nuxeo.com/nexus/content/groups/internal-releases, releases=true, snapshots=false), [ERROR] internal-snapshots (http://mavenin.nuxeo.com/nexus/content/groups/internal-snapshots, releases=false, snapshots=true), [ERROR] releases (https://mavenpriv.nuxeo.com/nexus/content/repositories/releases, releases=true, snapshots=false), [ERROR] snapshots (https://mavenpriv.nuxeo.com/nexus/content/repositories/snapshots, releases=false, snapshots=true), [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) [ERROR] -> [Help 2] [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 [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :marketplace-arender-connector-embedded [ERROR] Command 'mvn clean deploy -fae -Prelease,-qa,nightly -Dnuxeo.tests.random.mode=BYPASS' returned non-zero exit code (1) Traceback (most recent call last): File "../scripts/release_mp.py", line 147, in prepare mp_release.prepare(dryrun=dryrun, upgrade_only=upgrade_only, dodeploy=True) File "/opt/jenkins/workspace/Private/IT-release-on-demand-packages/nuxeo/scripts/release.py", line 715, in prepare dryrun=dryrun) File "/opt/jenkins/workspace/Private/IT-release-on-demand-packages/nuxeo/scripts/nxutils.py", line 397, in mvn run=not dryrun) File "/opt/jenkins/workspace/Private/IT-release-on-demand-packages/nuxeo/scripts/nxutils.py", line 478, in system % (cmd, retcode)) ExitException: Command 'mvn clean deploy -fae -Prelease,-qa,nightly -Dnuxeo.tests.random.mode=BYPASS' returned non-zero exit code (1)
See attached full log for https://qa.nuxeo.org/jenkins/job/Private/job/IT-release-on-demand-packages/201/consoleText
Seems the reference to the local packages is not found, maven configuration should be reviewed