Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alfresco Maven plugin failing to overwrite existing files #115

Closed
mindthegab opened this issue Jul 20, 2014 · 3 comments
Closed

Alfresco Maven plugin failing to overwrite existing files #115

mindthegab opened this issue Jul 20, 2014 · 3 comments

Comments

@mindthegab
Copy link
Contributor

From gabriele...@alfresco.com on February 20, 2013 07:03:04

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: http://code.google.com/p/maven-alfresco-archetypes/issues/detail?id=115

@mindthegab
Copy link
Contributor Author

From colum...@gmail.com on February 20, 2013 04:04:54

A fix for ALF-17783 was added, see https://issues.alfresco.com/jira/browse/ALF-17783?focusedCommentId=211924&page=com.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=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-211950

Status: Accepted
Owner: colum...@gmail.com
Labels: Milestone-Release-sdk-1.0.2

@mindthegab
Copy link
Contributor Author

From cabace...@gmail.com on July 02, 2013 03:02:35

I'll handle this one.

Owner: cabace...@gmail.com

@mindthegab
Copy link
Contributor Author

From maurizio...@alfresco.com on July 02, 2013 05:30:22

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

Status: Duplicate
Mergedinto: 114

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant