Maven keeps changing repository locations
-----------------------------------------

                 Key: MINSTALL-31
                 URL: http://jira.codehaus.org/browse/MINSTALL-31
             Project: Maven 2.x Install Plugin
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: Windows Server 2003
            Reporter: Tom Harris
            Priority: Blocker


I am using QuickBuild to perform Maven builds with install goal on a build 
server.  Using an identical pom.xml sometimes Maven does the install on 
C:\.M2\repository and other times on C:\Documents and Settings\Default 
User\.m2\repository.  I need to tie it down to a single repository but can't 
figure out how to do that.  Here is the pom.xml I'm using:

<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompany.app</groupId>
  <artifactId>my-app</artifactId>
  <version>${buildVersion}</version>
  <packaging>jar</packaging>
  <name>Maven Quick Start Archetype</name>
  <url>http://maven.apache.org</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to