packaging must filter correctly artifacts downloaded from maven repositories
----------------------------------------------------------------------------
Key: NXBT-30
URL: http://jira.nuxeo.org/browse/NXBT-30
Project: Nuxeo ECM Build/Test Environment
Issue Type: Bug
Components: Maven assembly plugin
Reporter: Julien Carsique
Assignee: Julien Carsique
Priority: Major
For now, when packaging with artifacts version not present in local maven
repository, this error is raised :
nuxeo-platform-ear/$ mvn clean install
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Nuxeo EP EAR
[INFO] task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
(...)
[INFO] Processing servers sets...
[INFO] Running assemble commands
(...)
[INFO] Uncompressing nuxeo-platform-placeful-facade-5.1.7-SNAPSHOT.jar to
/Users/julien/Documents/workspace/nuxeo/nuxeo-platform/nuxeo-platform-ear/target/nuxeo.ear.tmp/system/nuxeo-platform-placeful-facade-5.1.7-SNAPSHOT.jar
[INFO] Uncompressing nuxeo-platform-audit-facade-5.1.7-SNAPSHOT.jar to
/Users/julien/Documents/workspace/nuxeo/nuxeo-platform/nuxeo-platform-ear/target/nuxeo.ear.tmp/system/nuxeo-platform-audit-facade-5.1.7-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to run assembly
Embedded error:
/Users/julien/Documents/workspace/nuxeo/nuxeo-platform/nuxeo-platform-ear/target/nuxeo.ear.tmp/system/nuxeo-platform-audit-facade-5.1.7-SNAPSHOT.jar/META-INF/MANIFEST.MF
(Not a directory)
The error is that nuxeo-platform-audit-facade has already been copied into
nuxeo.ear.tmp/system/ and so it cannot be unzip in system with the same name.
The bug is that it shouldn't have been copied because it is excluded in the
assembly file.
We can also see this bug with nuxeo-platform-webapp-core which is copied into
nuxeo.ear.tmp/ root and mustn't be in nuxeo.ear.tmp/system/ too.
--
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