Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-6309

Unable to run Maven build if m2 folder is missing from USER_HOME

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.6.3, 2.7 M8, 2.7
    • 2.6.1
    • Maven
    • None

    Description

      Bamboo fails with error:

      2010-07-20 10:04:33,983 WARN [BAM::Releases Agent::Agent:pool-4-thread-1] [ExecuteBuildTask] Failed to execute plugin with classclass com.atlassian.bamboo.plugins.maven2.Maven2BuildProcessor : BRANCH29-CI-2
      java.lang.IllegalArgumentException: When not aligning with a user install you must specify a local repository location using the setLocalRepositoryDirectory( File ) method.
      at org.apache.maven.embedder.MavenEmbedder.createMavenSettings(MavenEmbedder.java:723)
      at org.apache.maven.embedder.MavenEmbedder.start(MavenEmbedder.java:632)
      at com.atlassian.bamboo.plugins.maven2.Maven2ProjectParser.init(Maven2ProjectParser.java:48)
      at com.atlassian.bamboo.plugins.maven2.Maven2ProjectParser.parse(Maven2ProjectParser.java:97)
      

      if USER_HOME/.m2 is not present.

      Attachments

        Activity

          People

            kbrazulewicz Krystian Brazulewicz
            asridhar AjayA
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: