lcsim-parent
diff -u -r1.5 -r1.6
--- pom.xml 21 May 2008 00:49:20 -0000 1.5
+++ pom.xml 21 May 2008 02:07:36 -0000 1.6
@@ -3,9 +3,10 @@
<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">
+
<!--
- This is the parent POM for all org.lcsim projects (GeomConverter, org.lcsim etc). It provides a single place
- where common settings can be stored.
+ This is the parent POM for all org.lcsim projects (GeomConverter, org.lcsim etc).
+ It provides a single place where common settings can be stored.
-->
<modelVersion>4.0.0</modelVersion>
@@ -13,17 +14,62 @@
<artifactId>lcsim-parent</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
-
<name>org DOT lcsim parent</name>
<url>http://lcsim.org/</url>
-
<scm>
<connection>scm:cvs:pserver:anonymous:@cvs.freehep.org:/cvs/lcd:lcsim-parent</connection>
- <developerConnection>scm:cvs:pserver:${cvs.username}:@cvs.freehep.org:/cvs/lcd:lcsim-parent</developerConnection>
- <!-- FIXME: Dummy URL because this project doesn't have online CVS. -->
+ <developerConnection>scm:cvs:pserver:${username}:@cvs.freehep.org:/cvs/lcd:lcsim-parent</developerConnection>
<url>http://www.lcsim.org</url>
</scm>
-
+ <profiles>
+ <profile>
+ <id>linux-deploy</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <os>
+ <name>Linux</name>
+ <family>Linux</family>
+ </os>
+ </activation>
+ <distributionManagement>
+ <repository>
+ <id>lcsim-maven-slac-linux</id>
+ <name>org.lcsim Maven Repository</name>
+ <url>scp://noric.slac.stanford.edu///nfs/slac/g/lcd/mc/prj/www/lcsim/maven2/</url>
+ </repository>
+ </distributionManagement>
+ </profile>
+ <profile>
+ <id>windows-deploy</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ <os>
+ <name>Windows</name>
+ <family>Windows</family>
+ </os>
+ </activation>
+ <distributionManagement>
+ <repository>
+ <id>lcsim-maven-slac-linux</id>
+ <name>org.lcsim Maven Repository</name>
+ <url>scpexe://noric.slac.stanford.edu///nfs/slac/g/lcd/mc/prj/www/lcsim/maven2/</url>
+ </repository>
+ </distributionManagement>
+ </profile>
+ <profile>
+ <id>unknown-username</id>
+ <activation>
+ <activeByDefault>false></activeByDefault>
+ <property>
+ <name>username</name>
+ <value></value>
+ </property>
+ </activation>
+ <properties>
+ <username>${user.name}</username>
+ </properties>
+ </profile>
+ </profiles>
<repositories>
<repository>
<id>freehep-maven</id>
@@ -48,7 +94,6 @@
<url>http://java.freehep.org/maven2</url>
</pluginRepository>
</pluginRepositories>
-
<dependencies>
<dependency>
<groupId>junit</groupId>
@@ -57,7 +102,6 @@
<scope>test</scope>
</dependency>
</dependencies>
-
<reporting>
<plugins>
<plugin>
@@ -74,15 +118,6 @@
</plugin>
</plugins>
</reporting>
- <distributionManagement>
- <repository>
- <id>lcsim-maven</id>
- <name>org.lcsim Maven Repository</name>
- <url>http://www.lcsim.org/maven2/</url>
- <!--<url>scpexe://cvs.freehep.org//nfs/slac/g/lcd/mc/prj/www/lcsim/maven2</url>-->
- </repository>
- </distributionManagement>
-
<build>
<sourceDirectory>src</sourceDirectory>
<resources>