Uploaded image for project: 'Brooklyn'
  1. Brooklyn
  2. BROOKLYN-1

"mvn install" breaks right after repository checkout

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • OS: Windows, Linux
      Maven: 3.0.5, 3.2.1
      Java 7

    Description

      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.

      [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]
      

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            svet Svetoslav Neykov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: