aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneothemachine <[email protected]>2013-02-17 15:08:51 +0100
committerneothemachine <[email protected]>2013-02-17 15:08:51 +0100
commit2537cfba3c8fb709d2b6f29902a7941ae09da5b5 (patch)
tree83447d749bf6d783ab72d81def68c0ef9c9c805a
parentb79943c371c60434ca78b57677bcba7cd98a4e00 (diff)
excluded distribution artifacts from being installed to local repo
added note on what to do when changing to Sonatype OSS
-rw-r--r--ardor3d-distribution/pom.xml28
-rw-r--r--pom.xml4
2 files changed, 31 insertions, 1 deletions
diff --git a/ardor3d-distribution/pom.xml b/ardor3d-distribution/pom.xml
index 7429808..7f721af 100644
--- a/ardor3d-distribution/pom.xml
+++ b/ardor3d-distribution/pom.xml
@@ -21,6 +21,26 @@
<version>${project.version}</version>
</dependency>
</dependencies>
+
+ <!-- TODO adapt when switching to Sonatype OSS
+
+ When switching to Sonatype OSS, the parent pom will use Sonatype OSS repos
+ in its distributionManagement block. As the zips of this module shouldn't be deployed to
+ Sonatype/Central but rather to Ardor3D's own repo, the repos have to be overridden here:
+
+ <distributionManagement>
+ <repository>
+ <id>Ardor3D-releases</id>
+ <name>Ardor3D releases</name>
+ <url>http://ardor3d.com:8081/nexus/content/repositories/releases</url>
+ </repository>
+ <snapshotRepository>
+ <id>Ardor3D-snapshots</id>
+ <name>Ardor3D snapshots</name>
+ <url>http://ardor3d.com:8081/nexus/content/repositories/snapshots</url>
+ </snapshotRepository>
+ </distributionManagement>
+ -->
<build>
<plugins>
@@ -43,7 +63,7 @@
</execution>
</executions>
</plugin>
- <plugin>
+ <plugin>
<groupId>com.googlecode.mavennatives</groupId>
<artifactId>maven-nativedependencies-plugin</artifactId>
<version>0.0.7</version>
@@ -56,6 +76,12 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/pom.xml b/pom.xml
index 2d3c2ab..db95f0e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -68,6 +68,10 @@
</configuration>
</plugin>
<plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
<artifactId>maven-release-plugin</artifactId>
<version>2.0</version>
</plugin>