You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "Svetoslav Neykov (JIRA)" <ji...@apache.org> on 2014/06/17 11:01:16 UTC

[jira] [Created] (BROOKLYN-1) "mvn install" breaks right after repository checkout

Svetoslav Neykov created BROOKLYN-1:
---------------------------------------

             Summary: "mvn install" breaks right after repository checkout
                 Key: BROOKLYN-1
                 URL: https://issues.apache.org/jira/browse/BROOKLYN-1
             Project: Brooklyn
          Issue Type: Bug
         Environment: OS: Windows, Linux
Maven: 3.0.5, 3.2.1
Java 7
            Reporter: Svetoslav Neykov
            Priority: Minor


If "mvn install" is executed on a clean repository without first executing "mvn clean" then the following error in project "Brooklyn Quick-Start Project Archetype" breaks the build.

{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.2:integration-test (default-integration-test) on project brooklyn-archetype-quickstart:
[ERROR] Archetype IT 'integration-test-1' failed: org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: Unable to find resource 'archetype-resources/pom.xml'
[ERROR] -> [Help 1]
{noformat}

The reason is that the the plugin "maven-replacer-plugin" is executed in the clean phase which creates the necessary files for the build.




--
This message was sent by Atlassian JIRA
(v6.2#6252)