Skip to content

Commit

Permalink
Add back the docs build/deploy POM stuff
Browse files Browse the repository at this point in the history
This all seems to work fine for building and deploying the docs.
  • Loading branch information
nicktelford committed Jun 20, 2014
1 parent 0522b7a commit 901a459
Showing 1 changed file with 37 additions and 3 deletions.
40 changes: 37 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@
<name>Nexus Release Repository</name>
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<site>
<id>dropwizard.io</id>
<url>${dropwizard.url}</url>
</site>
</distributionManagement>

<profiles>
Expand Down Expand Up @@ -312,8 +316,8 @@
<!--<version>2.14.1</version>-->
<!--<configuration>-->
<!--<parallel>classes</parallel>-->
<!--</configuration>-->
<!--</plugin>-->
<!--</configuration>-->
<!--</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
Expand Down Expand Up @@ -414,6 +418,36 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<configuration>
<skipDeploy>true</skipDeploy>
</configuration>
</plugin>
<plugin>
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
<version>0.9</version>
<inherited>false</inherited>
<configuration>
<!-- Make sure that each sub-module gets its own site -->
<path>${project.version}</path>
<message>Create site for ${project.name} ${project.version}</message>
<noJekyll>true</noJekyll>
<merge>true</merge>
<outputDirectory>${project.build.directory}/staging</outputDirectory>
</configuration>
<executions>
<execution>
<goals>
<goal>site</goal>
</goals>
<phase>site-deploy</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand All @@ -425,7 +459,7 @@
<version>2.7</version>
<configuration>
<dependencyDetailsEnabled>true</dependencyDetailsEnabled>
<dependencyLocationsEnabled>true</dependencyLocationsEnabled>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 901a459

Please sign in to comment.