Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Made mvn site:site site:deploy work.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielf committed Dec 9, 2011
1 parent a8b40b7 commit 824f3cc
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.iml
*.idea
*.idea
target
49 changes: 38 additions & 11 deletions multi-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@

<distributionManagement>
<site>
<id>maven-template-server</id>
<id>site-server</id>
<name>Test Project Site</name>
<url>file:///tmp/site/mavensite</url>
<url>file:///tmp/multi-module-site</url>
</site>
</distributionManagement>

Expand All @@ -50,42 +50,47 @@
<artifactId>maven-site-plugin</artifactId>
<configuration>
<reportPlugins>
<!--plugin>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>

<plugin>
<artifactId>maven-jxr-plugin</artifactId>
</plugin-->
</plugin>

<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>

<!--plugin>
<plugin>
<artifactId>maven-pmd-plugin</artifactId>
</plugin-->
</plugin>

<plugin>
<artifactId>maven-surefire-report-plugin</artifactId>
</plugin>

<!--plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
</plugin-->
</plugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>

<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.8</version>
</plugin>

<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
Expand All @@ -96,6 +101,16 @@
<version>2.8</version>
</plugin>

<plugin>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
</plugin>

<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.6</version>
</plugin>

<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version>
Expand Down Expand Up @@ -126,6 +141,18 @@
<version>2.11</version>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.3.3</version>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
</plugin>

<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
Expand Down Expand Up @@ -180,10 +207,10 @@
</dependencyManagement>

<scm>
<connection>scm:git:[email protected]:gabrielf/Simple-Maven-Project.git</connection>
<developerConnection>scm:git:[email protected]:gabrielf/Simple-Maven-Project.git</developerConnection>
<connection>scm:git:[email protected]:gabrielf/maven-samples.git</connection>
<developerConnection>scm:git:[email protected]:gabrielf/maven-samples.git</developerConnection>
<tag>HEAD</tag>
<url>http://github.com/gabrielf/Simple-Maven-Project</url>
<url>http://github.com/gabrielf/maven-samples</url>
</scm>

<prerequisites>
Expand Down
3 changes: 3 additions & 0 deletions multi-module/server/src/site/apt/index.apt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Headline

Content
Empty file.
12 changes: 10 additions & 2 deletions single-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

<distributionManagement>
<site>
<id>maven-template-server</id>
<id>site-server</id>
<name>Test Project Site</name>
<url>file:///tmp/site/mavensite</url>
<url>file:///tmp/single-module-site</url>
</site>
</distributionManagement>

Expand Down Expand Up @@ -74,6 +74,7 @@

<plugin>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.4</version>
</plugin>

<plugin>
Expand Down Expand Up @@ -158,6 +159,13 @@
</dependency>
</dependencies>

<scm>
<connection>scm:git:[email protected]:gabrielf/maven-samples.git</connection>
<developerConnection>scm:git:[email protected]:gabrielf/maven-samples.git</developerConnection>
<tag>HEAD</tag>
<url>http://github.com/gabrielf/maven-samples</url>
</scm>

<prerequisites>
<maven>3.0.3</maven>
</prerequisites>
Expand Down

0 comments on commit 824f3cc

Please sign in to comment.