Commit d95005d8 authored by Daniel Le Berre's avatar Daniel Le Berre

Adding information in pom to deploy on sonatype oss nexus instance.


git-svn-id: svn+ssh://svn.forge.ow2.org/svnroot/sat4j/maven/trunk@640 ba638df5-4473-46d1-82f8-c3ae2a17a6e1
parent 24fa47c4
......@@ -356,7 +356,7 @@
<target name="tests"
description="Launch JUnit tests and generate a report">
<echo>Compiling test files</echo>
<javac srcdir="${test}" destdir="${build}" source="1.5" debug="true">
<javac srcdir="${test}" destdir="${build}" source="1.5" target="1.5" debug="true">
<classpath refid="somePath"/>
</javac>
<echo>Running JUNIT tests</echo>
......
......@@ -4,7 +4,7 @@
<groupId>org.sat4j</groupId>
<artifactId>org.sat4j.pom</artifactId>
<packaging>pom</packaging>
<version>2.2.0</version>
<version>2.2.0-SNAPSHOT</version>
<name>SAT4J</name>
<url>http://www.sat4j.org</url>
<description>
......@@ -50,6 +50,21 @@ The aim of the SAT4J library is to provide an efficient library of SAT solvers i
<archive>http://mail-archive.ow2.org/sat4j-commits/index.html</archive>
</mailingList>
</mailingLists>
<developers>
<developer>
<id>leberre</id>
<name>Daniel</name>
<email>leberre@cril.univ-artois.fr</email>
<url>http://www.cril.fr/~leberre/</url>
<organization>CRIL CNRS 8188</organization>
<organizationUrl>http://www.cril.fr</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<properties>
<!-- compiler params -->
<javaSource>1.5</javaSource>
......@@ -57,10 +72,6 @@ The aim of the SAT4J library is to provide an efficient library of SAT solvers i
<testSource>1.5</testSource>
<testTarget>1.5</testTarget>
<!-- common distribution locations -->
<distributionRepositoryId>releases</distributionRepositoryId>
<distributionRepositoryUrl>
dav:http://nexus:8081/nexus/content/repositories/releases
</distributionRepositoryUrl>
<siteRepositoryId />
<siteRepositoryUrl />
</properties>
......@@ -210,6 +221,7 @@ The aim of the SAT4J library is to provide an efficient library of SAT solvers i
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-9</version>
<configuration>
<tagBase>svn+ssh://leberre@svn.forge.ow2.org/svnroot/sat4j/maven/tags</tagBase>
</configuration>
......@@ -219,10 +231,15 @@ The aim of the SAT4J library is to provide an efficient library of SAT solvers i
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshtos</name>
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>${distributionRepositoryId}</id>
<name>${distributionRepositoryId}</name>
<url>${distributionRepositoryUrl}</url>
<id>sonatype-nexus-staging</id>
<name>Nexus Staging Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<site>
<id>${sitesRepositoryId}</id>
......@@ -332,5 +349,33 @@ The aim of the SAT4J library is to provide an efficient library of SAT solvers i
</plugin>
</plugins>
</reporting>
<profiles>
<profile>
<id>release-sign-artifacts</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.0-alpha-4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment