Skip to content
Browse files

adding an ant task to download reporting-exclusions in the report par…

…ent pom
  • Loading branch information...
1 parent e459f9f commit e6f531905ab57beb0cc3820ec0e4b5361d67c339 @gnorsilva gnorsilva committed Feb 28, 2013
View
6 .gitignore
@@ -1,2 +1,6 @@
# MAC hidden files
-*.DS_Store
+*.DS_Store
+
+*.iml
+.idea
+target
View
79 poms/reporting/pom.xml
@@ -1,7 +1,5 @@
-<project
- xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.novoda</groupId>
@@ -11,14 +9,15 @@
<groupId>com.novoda</groupId>
<artifactId>reporting</artifactId>
- <version>1.2.1</version>
+ <version>1.2.2</version>
<name>reporting</name>
<packaging>pom</packaging>
<properties>
+ <reporting.directory>team-props/reporting-exclusion</reporting.directory>
<reporting.package.analyze>com.novoda.*</reporting.package.analyze>
- <reporting.findbugs.exclude>team-props/findbugs-exclude.xml</reporting.findbugs.exclude>
- <reporting.checkstyle.rules>team-props/checkstyle.xml</reporting.checkstyle.rules>
+ <reporting.findbugs.exclude>{reporting.directory}/findbugs-exclude.xml</reporting.findbugs.exclude>
+ <reporting.checkstyle.rules>{reporting.directory}/checkstyle.xml</reporting.checkstyle.rules>
</properties>
<build>
@@ -41,7 +40,7 @@
</goals>
</pluginExecutionFilter>
<action>
- <ignore/>
+ <ignore />
</action>
</pluginExecution>
</pluginExecutions>
@@ -56,7 +55,7 @@
<formats>
<format>xml</format>
</formats>
- <check/>
+ <check />
</configuration>
<executions>
<execution>
@@ -78,23 +77,53 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.9.1</version>
- <configuration>
- <configLocation>${reporting.checkstyle.rules}</configLocation>
- </configuration>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.9.1</version>
+ <configuration>
+ <configLocation>${reporting.checkstyle.rules}</configLocation>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.5.2</version>
+ <configuration>
+ <xmlOutput>true</xmlOutput>
+ <onlyAnalyze>${reporting.package.analyze}</onlyAnalyze>
+ <excludeFilterFile>${reporting.findbugs.exclude}</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>load-reporting-exclusions</id>
+ <configuration>
+ <target>
+ <delete dir="${reporting.directory}" />
+
+ <mkdir dir="${reporting.directory}" />
+
+ <get src="https://github.com/novoda/reporting-exclusion/archive/master.zip"
+ dest="${reporting.directory}" />
+
+ <unzip src="${reporting.directory}/master.zip" dest="${reporting.directory}">
+ <mapper type="flatten" />
+ </unzip>
+
+ <delete file="${reporting.directory}/master.zip" />
+
+ <delete dir="${reporting.directory}/reporting-exclusion-master" />
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>findbugs-maven-plugin</artifactId>
- <version>2.5.2</version>
- <configuration>
- <xmlOutput>true</xmlOutput>
- <onlyAnalyze>${reporting.package.analyze}</onlyAnalyze>
- <excludeFilterFile>${reporting.findbugs.exclude}</excludeFilterFile>
- </configuration>
- </plugin>
</plugins>
</pluginManagement>
</build>
View
145 releases/com/novoda/reporting/1.2.2/reporting-1.2.2.pom
@@ -0,0 +1,145 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>com.novoda</groupId>
+ <artifactId>android</artifactId>
+ <version>2.0.5</version>
+ </parent>
+
+ <groupId>com.novoda</groupId>
+ <artifactId>reporting</artifactId>
+ <version>1.2.2</version>
+ <name>reporting</name>
+ <packaging>pom</packaging>
+
+ <properties>
+ <reporting.directory>team-props/reporting-exclusion</reporting.directory>
+ <reporting.package.analyze>com.novoda.*</reporting.package.analyze>
+ <reporting.findbugs.exclude>{reporting.directory}/findbugs-exclude.xml</reporting.findbugs.exclude>
+ <reporting.checkstyle.rules>{reporting.directory}/checkstyle.xml</reporting.checkstyle.rules>
+ </properties>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <versionRange>[1.0.0,)</versionRange>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.5.1</version>
+ <configuration>
+ <formats>
+ <format>xml</format>
+ </formats>
+ <check />
+ </configuration>
+ <executions>
+ <execution>
+ <phase>clean</phase>
+ <goals>
+ <goal>cobertura</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.12.4</version>
+ <configuration>
+ <includes>
+ <include>**/*Test*.java</include>
+ <include>**/*Should.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.9.1</version>
+ <configuration>
+ <configLocation>${reporting.checkstyle.rules}</configLocation>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.5.2</version>
+ <configuration>
+ <xmlOutput>true</xmlOutput>
+ <onlyAnalyze>${reporting.package.analyze}</onlyAnalyze>
+ <excludeFilterFile>${reporting.findbugs.exclude}</excludeFilterFile>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.7</version>
+ <executions>
+ <execution>
+ <id>load-reporting-exclusions</id>
+ <configuration>
+ <target>
+ <delete dir="${reporting.directory}" />
+
+ <mkdir dir="${reporting.directory}" />
+
+ <get src="https://github.com/novoda/reporting-exclusion/archive/master.zip"
+ dest="${reporting.directory}" />
+
+ <unzip src="${reporting.directory}/master.zip" dest="${reporting.directory}">
+ <mapper type="flatten" />
+ </unzip>
+
+ <delete file="${reporting.directory}/master.zip" />
+
+ <delete dir="${reporting.directory}/reporting-exclusion-master" />
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.5.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.7.1</version>
+ </plugin>
+ </plugins>
+ </reporting>
+</project>
View
1 releases/com/novoda/reporting/1.2.2/reporting-1.2.2.pom.md5
@@ -0,0 +1 @@
+b2a650c20b63616b0b41d2d48f81f9c9
View
1 releases/com/novoda/reporting/1.2.2/reporting-1.2.2.pom.sha1
@@ -0,0 +1 @@
+54716f37bdc5b0e3ffc815eb73c4443de36ef9ac
View
5 releases/com/novoda/reporting/maven-metadata.xml
@@ -3,13 +3,14 @@
<groupId>com.novoda</groupId>
<artifactId>reporting</artifactId>
<versioning>
- <release>1.2.1</release>
+ <release>1.2.2</release>
<versions>
<version>1.0.0</version>
<version>1.1.0</version>
<version>1.2.0</version>
<version>1.2.1</version>
+ <version>1.2.2</version>
</versions>
- <lastUpdated>20130122100943</lastUpdated>
+ <lastUpdated>20130228155610</lastUpdated>
</versioning>
</metadata>
View
2 releases/com/novoda/reporting/maven-metadata.xml.md5
@@ -1 +1 @@
-3aa2a49e63a6c5493e67dc6953302aa8
+2f99539ef2c08f1fb49d1b1e6a6cae18
View
2 releases/com/novoda/reporting/maven-metadata.xml.sha1
@@ -1 +1 @@
-3a6dd8da920fb157eb01a3e73efae3eeb7c00e3b
+2a3e4f922752dc0300aa72ae41cf64560dce5005

0 comments on commit e6f5319

Please sign in to comment.
Something went wrong with that request. Please try again.