Skip to content

Commit

Permalink
FELIX-3486 Basic setup for class file and API compliance configuration
Browse files Browse the repository at this point in the history
  - Define properties for class file definition
  - Add Animal Sniffer plugin (Java API compliance)
  - Define default setup for animal sniffer

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1330389 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Felix Meschberger committed Apr 25, 2012
1 parent ebd2191 commit f4634e8
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions pom/pom.xml
Expand Up @@ -37,6 +37,13 @@

<properties>
<sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>

<!-- Default Java VM and API compatibility -->
<felix.build.source>1.3</felix.build.source>
<felix.build.target>1.3</felix.build.target>
<felix.java.signature.groupId>org.codehaus.mojo.signature</felix.java.signature.groupId>
<felix.java.signature.artifactId>java13-sun</felix.java.signature.artifactId>
<felix.java.signature.version>1.0</felix.java.signature.version>
</properties>

<issueManagement>
Expand Down Expand Up @@ -144,8 +151,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.3</source>
<target>1.3</target>
<source>${felix.build.source}</source>
<target>${felix.build.target}</target>
</configuration>
</plugin>
<plugin>
Expand All @@ -169,6 +176,26 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
<version>1.7</version>
<configuration>
<signature>
<groupId>${felix.java.signature.groupId}</groupId>
<artifactId>${felix.java.signature.artifactId}</artifactId>
<version>${felix.java.signature.version}</version>
</signature>
</configuration>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
Expand Down

0 comments on commit f4634e8

Please sign in to comment.