Author: [email protected]
Date: Fri Apr 29 10:56:05 2011
New Revision: 1071
Log:
[AMDATUAUTH-23] Fixed mvn site generation and javadoc generation
Modified:
trunk/amdatu-auth/pom.xml
Modified: trunk/amdatu-auth/pom.xml
==============================================================================
--- trunk/amdatu-auth/pom.xml (original)
+++ trunk/amdatu-auth/pom.xml Fri Apr 29 10:56:05 2011
@@ -201,8 +201,23 @@
<artifactId>servlet-api</artifactId>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.amdatu.etc</groupId>
+ <artifactId>org.amdatu.etc.checkstyle</artifactId>
+ <version>1</version>
+ <scope>runtime</scope>
+ <type>jar</type>
+ </dependency>
</dependencies>
+ <distributionManagement>
+ <site>
+ <name>Amdatu Sites</name>
+ <id>amdatu.sites</id>
+ <url>dav:http://repository.amdatu.org/sites/auth/${project.version}</url>
+ </site>
+ </distributionManagement>
+
<modules>
<module>login-gadget</module>
<module>login-service</module>
@@ -216,4 +231,73 @@
<module>useradmin-rest</module>
</modules>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.2</version>
+ <executions>
+ <execution>
+ <id>extract-checkstyle-config</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <configuration>
+ <includeGroupIds>org.amdatu.etc</includeGroupIds>
+
<includeArtifactIds>org.amdatu.etc.checkstyle</includeArtifactIds>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.1</version>
+ <executions>
+ <execution>
+ <id>bundle-sources</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.6</version>
+ <configuration>
+ <!-- Aggregation is not yet supported in 2.6. A highly popular JIRA
issue has
+ been created to resolve this issue:
http://jira.codehaus.org/browse/MCHECKSTYLE-62
+ <aggregate>true</aggregate>
+ -->
+
+ <linkXref>true</linkXref>
+ <configLocation>target/amdatu_checks.xml</configLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.7</version>
+ <configuration>
+ <aggregate>true</aggregate>
+ <show>public</show>
+ <detectOfflineLinks>false</detectOfflineLinks>
+
<excludePackageNames>org.amdatu.auth.login.gadget.*:org.amdatu.auth.login.service.*:org.amdatu.auth.oauth.api.*:org.amdatu.auth.oauth.client.*:org.amdatu.auth.oauth.consumerregistry-fs.*:org.amdatu.auth.oauth.server.*:org.amdatu.auth.tokenprovider.*:org.amdatu.auth.tokenstore.mem.*:org.amdatu.auth.useradmin.gadget.*:org.amdatu.auth.useradmin.rest.*</excludePackageNames>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
</project>
\ No newline at end of file
_______________________________________________
Amdatu-commits mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-commits