<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
- <phase>install</phase>
+ <phase>deploy</phase>
<goals>
<goal>deploy-file</goal>
</goals>
<configuration>
<file>${project.build.directory}/gwtquery-${version}-${artifactId}.jar</file>
- <repositoryId>sonatype-nexus-snapshots</repositoryId>
- <url>https://oss.sonatype.org/content/repositories/snapshots</url>
+ <repositoryId>${repoId}</repositoryId>
+ <url>${repoUrl}</url>
<packaging>jar</packaging>
<artifactId>gwtquery</artifactId>
<groupId>${groupId}</groupId>
<gwt.outputstyle>OBF</gwt.outputstyle>
<gwt.modulesuffix></gwt.modulesuffix>
<gwtmaven>2.1.0-1</gwtmaven>
+ <repoUrl>https://oss.sonatype.org/content/repositories/snapshots</repoUrl>
+ <repoId>sonatype-nexus-snapshots</repoId>
</properties>
<profiles>
</snapshotRepository>
</distributionManagement>
</profile>
+ <profile>
+ <id>local</id>
+ <properties>
+ <repoId>local mavenrepo</repoId>
+ <repoUrl>file://mavenrepo</repoUrl>
+ </properties>
+ <distributionManagement>
+ <snapshotRepository>
+ <uniqueVersion>false</uniqueVersion>
+ <id>local mavenrepo</id>
+ <url>file://mavenrepo</url>
+ </snapshotRepository>
+ </distributionManagement>
+ </profile>
</profiles>
</project>