Permalink
Browse files

udpated poms for sonatype deployment

  • Loading branch information...
jexp committed Aug 11, 2011
1 parent 2bc607b commit 48a4a08c8228afcf68f40f900b9dfef82c45c9ef
Showing with 147 additions and 66 deletions.
  1. +16 −9 pom.xml
  2. +131 −57 spring-data-graph-parent/pom.xml
View
25 pom.xml
@@ -12,6 +12,14 @@
<module>spring-data-neo4j</module>
<module>spring-data-neo4j-rest</module>
</modules>
+ <description><![CDATA[
+ Within the Spring Data project the Spring Data Graph library provides integration with the Neo4j graph database, offering object graph mapping, a Neo4jTemplate and Spring-Data-Commons Repository implementations.
+ ]]></description>
+ <url>http://www.springsource.org/spring-data/neo4j</url>
+ <organization>
+ <name>SpringSource</name>
+ <url>http://www.springsource.com</url>
+ </organization>
<developers>
<developer>
@@ -22,7 +30,6 @@
<organizationUrl>http://www.SpringSource.com</organizationUrl>
<roles>
<role>Project Admin</role>
- <role>Developer</role>
</roles>
<timezone>-5</timezone>
</developer>
@@ -34,7 +41,6 @@
<organizationUrl>http://www.SpringSource.com</organizationUrl>
<roles>
<role>Project Admin</role>
- <role>Developer</role>
</roles>
<timezone>-5</timezone>
</developer>
@@ -45,6 +51,7 @@
<organization>Neo Technology</organization>
<organizationUrl>http://www.neotechnology.com</organizationUrl>
<roles>
+ <role>Project Admin</role>
<role>Developer</role>
</roles>
<timezone>+1</timezone>
@@ -113,7 +120,7 @@
<dist.secretKey>s3 secret key</dist.secretKey>
-->
</properties>
- <profiles>
+ <!--profiles>
<profile>
<id>staging</id>
<distributionManagement>
@@ -133,7 +140,7 @@
</profile>
</profiles>
<distributionManagement>
- <!-- see 'staging' profile for dry-run deployment settings -->
+ <!- see 'staging' profile for dry-run deployment settings ->
<downloadUrl>http://www.springsource.com/spring-data</downloadUrl>
<site>
<id>static.springframework.org</id>
@@ -149,7 +156,7 @@
<name>Spring Snapshot Repository</name>
<url>s3://maven.springframework.org/snapshot</url>
</snapshotRepository>
- </distributionManagement>
+ </distributionManagement-->
<build>
<extensions>
<extension>
@@ -291,12 +298,12 @@
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>2.5</version>
+ <version>2.7</version>
<configuration>
<javadoc:aggregate>true</javadoc:aggregate>
<breakiterator>true</breakiterator>
<header>Spring Data Graph</header>
- <source>1.5</source>
+ <source>1.6</source>
<quiet>true</quiet>
<javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory>
<overview>${project.basedir}/src/main/javadoc/overview.html</overview>
@@ -321,15 +328,15 @@
</descriptors>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
- <executions>
+ <!--executions> accodring to: http://www.sonatype.com/books/mvnref-book/reference/assemblies-sect-basics.html
<execution>
<id>distribution</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
</execution>
- </executions>
+ </executions-->
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -21,63 +21,123 @@
<blueprints.version>0.8</blueprints.version>
<gremlin.version>1.1</gremlin.version>
</properties>
- <profiles>
- <profile>
- <id>strict</id>
- <properties>
- <maven.test.failure.ignore>false</maven.test.failure.ignore>
- </properties>
- </profile>
- <profile>
- <id>fast</id>
- <properties>
- <maven.test.skip>true</maven.test.skip>
- <maven.javadoc.skip>true</maven.javadoc.skip>
- </properties>
- </profile>
- <profile>
- <id>staging</id>
- <distributionManagement>
- <site>
- <id>spring-site-staging</id>
- <url>file:///${java.io.tmpdir}/spring-data/data-graph/docs</url>
- </site>
- <repository>
- <id>spring-milestone-staging</id>
- <url>file:///${java.io.tmpdir}/spring-data/data-graph/milestone</url>
- </repository>
- <snapshotRepository>
- <id>spring-snapshot-staging</id>
- <url>file:///${java.io.tmpdir}/spring-data/data-graph/snapshot</url>
- </snapshotRepository>
- </distributionManagement>
- </profile>
- <profile>
- <id>bootstrap</id>
- <!-- TODO: move the repositories in here before release -->
- </profile>
- </profiles>
- <distributionManagement>
- <!-- see 'staging' profile for dry-run deployment settings -->
- <downloadUrl>http://www.springsource.com/download/community
- </downloadUrl>
- <site>
- <id>static.springframework.org</id>
- <url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-data/data-graph/docs/${project.version}
- </url>
- </site>
- <repository>
- <id>spring-milestone</id>
- <name>Spring Milestone Repository</name>
- <url>s3://maven.springframework.org/milestone</url>
- </repository>
- <snapshotRepository>
- <id>spring-snapshot</id>
- <name>Spring Snapshot Repository</name>
- <url>s3://maven.springframework.org/snapshot</url>
- </snapshotRepository>
- </distributionManagement>
- <dependencyManagement>
+ <profiles>
+ <profile>
+ <id>strict</id>
+ <properties>
+ <maven.test.failure.ignore>false</maven.test.failure.ignore>
+ </properties>
+ </profile>
+ <profile>
+ <id>fast</id>
+ <properties>
+ <maven.test.skip>true</maven.test.skip>
+ <maven.javadoc.skip>true</maven.javadoc.skip>
+ </properties>
+ </profile>
+ <profile>
+ <id>staging</id>
+ <distributionManagement>
+ <site>
+ <id>spring-site-staging</id>
+ <url>file:///${java.io.tmpdir}/spring-data/data-graph/docs</url>
+ </site>
+ <repository>
+ <id>spring-milestone-staging</id>
+ <url>file:///${java.io.tmpdir}/spring-data/data-graph/milestone</url>
+ </repository>
+ <snapshotRepository>
+ <id>spring-snapshot-staging</id>
+ <url>file:///${java.io.tmpdir}/spring-data/data-graph/snapshot</url>
+ </snapshotRepository>
+ </distributionManagement>
+ </profile>
+ <profile>
+ <id>bootstrap</id>
+ <!-- TODO: move the repositories in here before release -->
+ </profile>
+ <profile>
+ <id>milestone</id>
+ <distributionManagement>
+ <site>
+ <id>static.springframework.org</id>
+ <url>
+ scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-data/data-graph/docs/${project.version}
+ </url>
+ </site>
+ <repository>
+ <id>spring-milestone</id>
+ <name>Spring Milestone Repository</name>
+ <url>s3://maven.springframework.org/milestone</url>
+ </repository>
+ <snapshotRepository>
+ <id>spring-snapshot</id>
+ <name>Spring Snapshot Repository</name>
+ <url>s3://maven.springframework.org/snapshot</url>
+ </snapshotRepository>
+
+ </distributionManagement>
+ </profile>
+
+ <profile>
+ <id>central</id>
+ <distributionManagement>
+ <snapshotRepository>
+ <id>sonatype-nexus-snapshots</id>
+ <name>Sonatype Nexus Snapshots</name>
+ <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
+ </snapshotRepository>
+ <repository>
+ <id>sonatype-nexus-staging</id>
+ <name>Nexus Release Repository</name>
+ <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+ </repository>
+ </distributionManagement>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <scm>
+ <url>http://github.com/SpringSource/spring-data-graph</url>
+ <connection>scm:git:git://github.com/SpringSource/spring-data-graph.git</connection>
+ <developerConnection>scm:git:git://github.com/SpringSource/spring-data-graph.git</developerConnection>
+ </scm>
+ <distributionManagement>
+ <!-- see 'staging' profile for dry-run deployment settings -->
+ <downloadUrl>http://www.springsource.com/download/community</downloadUrl>
+ <site>
+ <id>static.springframework.org</id>
+ <url>
+ scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-data/data-graph/docs/${project.version}
+ </url>
+ </site>
+ <repository>
+ <id>spring-milestone</id>
+ <name>Spring Milestone Repository</name>
+ <url>s3://maven.springframework.org/milestone</url>
+ </repository>
+ <snapshotRepository>
+ <id>spring-snapshot</id>
+ <name>Spring Snapshot Repository</name>
+ <url>s3://maven.springframework.org/snapshot</url>
+ </snapshotRepository>
+ </distributionManagement>
+ <dependencyManagement>
<!--
inheritable <dependency> declarations for child poms. children still
must explicitly declare the groupId/artifactId of these dependencies
@@ -396,6 +456,20 @@
<goals>
<goal>jar</goal>
</goals>
+ <phase>deploy</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>javadoc</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <phase>deploy</phase>
</execution>
</executions>
</plugin>

0 comments on commit 48a4a08

Please sign in to comment.