Author: maksimkaszynski
Date: 2008-05-13 13:10:23 -0400 (Tue, 13 May 2008)
New Revision: 8563
Modified:
trunk/pom.xml
Log:
added more profiles
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2008-05-13 16:45:56 UTC (rev 8562)
+++ trunk/pom.xml 2008-05-13 17:10:23 UTC (rev 8563)
@@ -19,6 +19,11 @@
<artifactId>wagon-webdav</artifactId>
<version>1.0-beta-2</version>
</extension>
+ <extension>
+ <groupId>postgresql</groupId>
+ <artifactId>postgresql</artifactId>
+ <version>8.2-504.jdbc3</version>
+ </extension>
<!-- scm deployment wagon
<extension>
<groupId>org.apache.maven.wagon</groupId>
@@ -65,33 +70,13 @@
</plugin>
</plugins>
</pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>dashboard-maven-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>postgresql</groupId>
- <artifactId>postgresql</artifactId>
- <version>8.2-504.jdbc3</version>
- </dependency>
-
- <dependency>
- <!-- to override commons-logging in Hibernate library dependancy -->
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
</build>
<modules>
<module>cdk</module>
<module>framework</module>
<module>ui</module>
<module>extensions</module>
- <module>docs</module>
+ <!--<module>docs</module>-->
<module>ui/assembly</module>
<module>samples</module>
<!--
@@ -113,15 +98,11 @@
</repositories>
<pluginRepositories>
- <pluginRepository>
- <id>Codehaus Snapshots</id>
- <
url>http://snapshots.repository.codehaus.org/</url>
- </pluginRepository>
<pluginRepository>
<id>atlassian-m2-repository</id>
<name>Atlassian Maven 2.x Repository</name>
<
url>http://repository.atlassian.com/maven2</url>
- </pluginRepository>
+ </pluginRepository>
</pluginRepositories>
<distributionManagement>
<downloadUrl>
@@ -294,37 +275,108 @@
</plugins>
</reporting>
</profile>
+ <profile>
+ <id>beet</id>
+ <activation>
+ <property>
+ <name>mangelWurzel</name>
+ </property>
+ </activation>
+ <pluginRepositories>
+ <pluginRepository>
+ <id>Codehaus Snapshots</id>
+ <
url>http://snapshots.repository.codehaus.org/</url>
+ </pluginRepository>
+ </pluginRepositories>
+ <build>
+
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>dashboard-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <configuration>
+ <dialect>org.hibernate.dialect.PostgreSQLDialect</dialect>
+ <driverClass>org.postgresql.Driver</driverClass>
+ <username>${dashboard.username}</username>
+ <password>${dashboard.password}</password>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <!-- to override commons-logging in Hibernate library dependancy -->
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>1.1</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+
+ </build>
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.1</version>
+ <configuration>
+ <configLocation>src/main/reports/exadel-checks.xml</configLocation>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <rulesets>
+ <ruleset>src/main/reports/PMDExadelRuleSet.xml</ruleset>
+ </rulesets>
+ <targetJdk>1.5</targetJdk>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>dashboard-maven-plugin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>1.2</version>
+ <configuration>
+ <xmlOutput>true</xmlOutput>
+ <onlyAnalyze>org.richfaces.-, org.ajax4jsf.-</onlyAnalyze>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>taglist-maven-plugin</artifactId>
+ <configuration>
+ <tags>
+ <tag>@fixme</tag>
+ <tag>FIXME</tag>
+ <tag>@todo</tag>
+ <tag>TODO</tag>
+ </tags>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jdepend-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </reporting>
+ <distributionManagement>
+ <site>
+ <url>${mangelWurzel}</url>
+ </site>
+ </distributionManagement>
+ </profile>
</profiles>
- <reporting>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.1</version>
- <configuration>
- <configLocation>src/main/reports/exadel-checks.xml</configLocation>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-pmd-plugin</artifactId>
- <version>2.3</version>
- <configuration>
- <rulesets>
- <ruleset>src/main/reports/PMDExadelRuleSet.xml</ruleset>
- </rulesets>
- <targetJdk>1.5</targetJdk>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jxr-plugin</artifactId>
- <version>2.1</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>dashboard-maven-plugin</artifactId>
- </plugin>
- </plugins>
- </reporting>
</project>
\ No newline at end of file