Author: [log in to unmask]
Date: Thu Jan 14 09:34:53 2016
New Revision: 4122
Log:
add lcsim repo dependency and maven release plugin. Plus format.
Modified:
gbl/trunk/gbl/pom.xml
Modified: gbl/trunk/gbl/pom.xml
=============================================================================
--- gbl/trunk/gbl/pom.xml (original)
+++ gbl/trunk/gbl/pom.xml Thu Jan 14 09:34:53 2016
@@ -1,54 +1,65 @@
<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>org.hps.gbl</groupId>
- <artifactId>gbl</artifactId>
- <packaging>jar</packaging>
- <version>1.0-SNAPSHOT</version>
- <name>gbl</name>
- <url>http://maven.apache.org</url>
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>3.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.freehep</groupId>
- <artifactId>freehep-physics</artifactId>
- <version>2.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-math3</artifactId>
- <version>3.5</version>
- </dependency>
- </dependencies>
+ 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>org.hps.gbl</groupId>
+ <artifactId>gbl</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>gbl</name>
+ <url>http://maven.apache.org</url>
+ <scm>
+ <url>http://java.freehep.org/svn/repos/hps/list/gbl/trunk/gbl/</url>
+ <connection>scm:svn:svn://svn.freehep.org/hps/gbl/trunk/gbl/</connection>
+ <developerConnection>scm:svn:svn://svn.freehep.org/hps/gbl/trunk/gbl/</developerConnection>
+ </scm>
- <repositories>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.freehep</groupId>
+ <artifactId>freehep-physics</artifactId>
+ <version>2.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math3</artifactId>
+ <version>3.5</version>
+ </dependency>
+ </dependencies>
+
+ <repositories>
<repository>
<id>freehep-maven2-public</id>
<name>Maven FreeHEP</name>
<url>http://srs.slac.stanford.edu/nexus/content/groups/freehep-maven2-public/</url>
</repository>
- </repositories>
+ <repository>
+ <id>lcsim-repo-public</id>
+ <name>LCSIM Public Maven Repository</name>
+ <url>http://srs.slac.stanford.edu/nexus/content/groups/lcsim-maven2-public/</url>
+ </repository>
+ </repositories>
<distributionManagement>
<repository>
<id>lcsim-repo-releases</id>
<name>LCSIM Releases maven repository</name>
- <!--<url>http://srs.slac.stanford.edu/nexus/content/repositories/lcsim-maven2-releases/</url>-->
+ <!--<url>http://srs.slac.stanford.edu/nexus/content/repositories/lcsim-maven2-releases/</url> -->
<url>http://scalnx-v01.slac.stanford.edu:8180/nexus/content/repositories/lcsim-maven2-releases/</url>
</repository>
<snapshotRepository>
<id>lcsim-repo-snapshots</id>
<name>LCSIM Snapshots maven repository</name>
- <!--<url>http://srs.slac.stanford.edu/nexus/content/repositories/lcsim-maven2-snapshot/</url>-->
+ <!--<url>http://srs.slac.stanford.edu/nexus/content/repositories/lcsim-maven2-snapshot/</url> -->
<url>http://scalnx-v01.slac.stanford.edu:8180/nexus/content/repositories/lcsim-maven2-snapshot/</url>
</snapshotRepository>
</distributionManagement>
- <build>
+ <build>
<defaultGoal>install</defaultGoal>
<extensions>
<extension>
@@ -57,6 +68,16 @@
<version>2.8</version>
</extension>
</extensions>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.5.1</version>
+ <configuration>
+ <tagBase>svn://svn.freehep.org/hps/gbl/tags/</tagBase>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>
|