Permalink
Browse files

tweaking the build

  • Loading branch information...
1 parent 9ff5f64 commit a77de6e228d53638b8e389cb5d7911754cce5fb7 @trisberg trisberg committed Feb 15, 2011
Showing with 104 additions and 2 deletions.
  1. +103 −1 pom.xml
  2. +1 −1 spring-data-mongodb/pom.xml
View
104 pom.xml
@@ -27,6 +27,29 @@
</roles>
<timezone>-5</timezone>
</developer>
+ <developer>
+ <id>mpollack</id>
+ <name>Mark Pollack</name>
+ <email>mpollack at vmware.com</email>
+ <organization>SpringSource</organization>
+ <organizationUrl>http://www.SpringSource.com</organizationUrl>
+ <roles>
+ <role>Project Admin</role>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+ <developer>
+ <id>ogierke</id>
+ <name>Oliver Gierke</name>
+ <email>ogierke at vmware.com</email>
+ <organization>SpringSource</organization>
+ <organizationUrl>http://www.springsource.com</organizationUrl>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>+1</timezone>
+ </developer>
</developers>
<licenses>
@@ -62,7 +85,7 @@
</extensions>
<plugins>
- <plugin>
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
@@ -129,7 +152,86 @@
</postProcess>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <javadoc:aggregate>true</javadoc:aggregate>
+ <breakiterator>true</breakiterator>
+ <header>Spring Data Graph</header>
+ <source>1.6</source>
+ <quiet>true</quiet>
+ <javadocDirectory>${project.basedir}/src/main/javadoc</javadocDirectory>
+ <overview>${project.basedir}/src/main/javadoc/overview.html</overview>
+ <stylesheetfile>${project.basedir}/src/main/javadoc/spring-javadoc.css</stylesheetfile>
+ <!-- copies doc-files subdirectory which contains image resources -->
+ <docfilessubdirs>true</docfilessubdirs>
+ <links>
+ <link>http://static.springframework.org/spring/docs/3.0.x/javadoc-api</link>
+ <link>http://java.sun.com/javase/6/docs/api</link>
+ <link>http://api.mongodb.org/java/2.3</link>
+ </links>
+ </configuration>
+ </plugin>
+ <plugin><!--
+ run `mvn package assembly:assembly` to trigger assembly creation.
+ see http://www.sonatype.com/books/mvnref-book/reference/assemblies-set-dist-assemblies.html -->
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-5</version>
+ <inherited>false</inherited>
+ <executions>
+ <execution>
+ <id>distribution</id>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+ <descriptor>${project.basedir}/src/assembly/distribution.xml</descriptor>
+ </descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <id>upload-dist</id>
+ <phase>deploy</phase>
+ <configuration>
+ <tasks>
+ <ant antfile="${basedir}/src/ant/upload-dist.xml">
+ <target name="upload-dist"/>
+ </ant>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.springframework.build</groupId>
+ <artifactId>org.springframework.build.aws.ant</artifactId>
+ <version>3.0.5.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>net.java.dev.jets3t</groupId>
+ <artifactId>jets3t</artifactId>
+ <version>0.7.2</version>
+ </dependency>
+ </dependencies>
+ </plugin>
</plugins>
+ <!-- the name of this project is 'spring-data-graph-dist';
+ make sure the zip file is just 'spring-data-graph'. -->
+ <finalName>${dist.finalName}</finalName>
</build>
<distributionManagement>
@@ -106,7 +106,7 @@
<dependency>
<groupId>org.mongodb</groupId>
<artifactId>mongo-java-driver</artifactId>
- <version>2.1</version>
+ <version>2.3</version>
</dependency>
</dependencies>

0 comments on commit a77de6e

Please sign in to comment.