[ https://issues.apache.org/jira/browse/MINSTALL-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17965858#comment-17965858 ]
Olivier Lamy commented on MINSTALL-31: -------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-install-plugin#141|https://github.com/apache/maven-install-plugin/issues/141]. > Maven keeps changing repository locations > ----------------------------------------- > > Key: MINSTALL-31 > URL: https://issues.apache.org/jira/browse/MINSTALL-31 > Project: Maven Install Plugin (Moved to GitHub Issues) > 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 was sent by Atlassian Jira (v8.20.10#820010)