[
http://jira.nuxeo.org/browse/NXBT-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49721#action_49721
]
Julien Carsique commented on NXBT-30:
-------------------------------------
Exclude filters seems not to work:
[DEBUG] CHECK resolveArtifacts
[DEBUG] CHECK nuxeo-platform-webapp-core true
[DEBUG] CHECK nuxeo-platform-audit-facade true
[DEBUG] removed
org.nuxeo.ecm.platform:nuxeo-platform-audit-facade:ejb:5.1.7-SNAPSHOT:compile
(exclude filters)
[DEBUG] removed org.nuxeo.common:nuxeo-common:jar:1.4.4-SNAPSHOT:compile
(exclude filters)
[DEBUG] removed
org.nuxeo.ecm.platform:nuxeo-platform-webapp-core:ejb:5.1.7-SNAPSHOT:compile
(exclude filters)
[DEBUG] CHECK applyExcludeFilters
[DEBUG] CHECK nuxeo-platform-webapp-core true
[DEBUG] CHECK nuxeo-platform-audit-facade true
[DEBUG] CHECK collectResolvedArtifacts
[DEBUG] CHECK nuxeo-platform-webapp-core true
[DEBUG] CHECK nuxeo-platform-audit-facade true
[DEBUG] system
> 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
> Priority: Major
> Original Estimate: 1 day
> Time Spent: 2 hours
> Remaining Estimate: 6 hours
>
> 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