-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: NDT-2.0.1
-
Component/s: nuxeo-distribution-tools (deprecated)
-
Tags:
-
Story Points:14
The issue appears when looking for an artifact built during the same Maven execution but not installed.
For example, from nuxeo-distribution : "mvn clean package -Pjetty,tomcat,nuxeo-dm" done by http://qa.nuxeo.org/hudson/job/IT-nuxeo-5.3-build/367/ gives
(...)
[INFO] Creating target file: /opt/hudson/tmp/workspace/IT-nuxeo-5.3-build/trunk/release/src/nuxeo/nuxeo-distribution/nuxeo-distribution-server/target/nuxeo-distribution-server-5.3.1-I20100114_1855
[INFO] Zipped target to: /opt/hudson/tmp/workspace/IT-nuxeo-5.3-build/trunk/release/src/nuxeo/nuxeo-distribution/nuxeo-distribution-server/target/nuxeo-distribution-server-5.3.1-I20100114_1855.zip
[INFO] Done.
[INFO] [nuxeo:attach
]
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo Jetty Distribution
[INFO] task-segment: [clean, package]
[INFO] ------------------------------------------------------------------------
(...)
prepare-jetty:
Downloading: http://maven.nuxeo.org/public/org/nuxeo/ecm/distribution/nuxeo-distribution-server/5.3.1-I20100114_1855/nuxeo-distribution-server-5.3.1-I20100114_1855.zip
[unzip] [INFO] Unable to find resource 'org.nuxeo.ecm.distribution:nuxeo-distribution-server:zip:5.3.1-I20100114_1855' in repository public (http://maven.nuxeo.org/public)
Downloading: http://repo1.maven.org/maven2/org/nuxeo/ecm/distribution/nuxeo-distribution-server/5.3.1-I20100114_1855/nuxeo-distribution-server-5.3.1-I20100114_1855.zip
[unzip] [INFO] Unable to find resource 'org.nuxeo.ecm.distribution:nuxeo-distribution-server:zip:5.3.1-I20100114_1855' in repository central (http://repo1.maven.org/maven2)
BUILD FAILED
=> Failed to resolve file: org.nuxeo.ecm.distribution:nuxeo-distribution-server:5.3.1-I20100114_1855:zip; classifier: null
but nuxeo-distribution-server-5.3.1-I20100114_1855.zip was just previously attached to build.
Workaround is to use install instead of package, but it can only be a very short time solution.