artifact resolution must also look at attached artifacts, not only inside local 
and remote repositories
-------------------------------------------------------------------------------------------------------

                 Key: NXBT-121
                 URL: http://jira.nuxeo.org/browse/NXBT-121
             Project: Nuxeo ECM Build/Test Environment
          Issue Type: Bug
          Components: nx-builder
            Reporter: Julien Carsique
            Assignee: Julien Carsique
            Priority: Major


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 {execution: attach-app}]
[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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to