DPascalBernard / maven-alfresco-archetypes

Automatically exported from code.google.com/p/maven-alfresco-archetypes
0 stars 0 forks source link

Alfresco Maven plugin failing to overwrite existing files #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Even though it's a worst practice (original distro files should not be 
overridden), for now when an AMP contains a file which is already present in 
the Alfresco WAR the AMP installation process of the Alfresco Maven Plugin 
fails (independently from the backup / force options) with an error like:

This is due to  

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.3:war

...

01200000 An IO error was encountered during deployment of the AMP into the WAR: 
/Users/mindthegab/Dev/alfresco/workspace/myproject/target/share/WEB-INF/classes/
alfresco/module/backup/ebcd5a97-7b50-11e2-a497-dd8c637f320b.bin -> [Help 1]

This is due to https://issues.alfresco.com/jira/browse/ALF-17783.

Original issue reported on code.google.com by gabriele...@alfresco.com on 20 Feb 2013 at 12:03

GoogleCodeExporter commented 9 years ago
A fix for ALF-17783 was added, see 
https://issues.alfresco.com/jira/browse/ALF-17783?focusedCommentId=211924&page=c
om.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-211924.

Until a new release of the SDK is done, a workaround is to use the 
alfresco-maven-plugin 1.0.2 snapshot, as suggested at 
https://issues.alfresco.com/jira/browse/ALF-17783?focusedCommentId=211950&page=c
om.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-211950

Original comment by colum...@gmail.com on 20 Feb 2013 at 12:04

GoogleCodeExporter commented 9 years ago
I'll handle this one.

Original comment by cabace...@gmail.com on 2 Jul 2013 at 10:02

GoogleCodeExporter commented 9 years ago
Dup of https://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=114

Original comment by maurizio...@alfresco.com on 2 Jul 2013 at 12:30