Skip to content

Commit

Permalink
Merge pull request #67 from oskopek/friday-refactoring
Browse files Browse the repository at this point in the history
Moved to JDK8 and added revapi from 2.0.0 onwards
  • Loading branch information
oskopek committed Jan 13, 2017
2 parents 5e10026 + a593d6c commit e9e9ca1
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ language: java
sudo: false

jdk:
- openjdk7
- oraclejdk7
- oraclejdk8

cache:
Expand Down
48 changes: 44 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<version>3.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
Expand Down Expand Up @@ -300,14 +301,15 @@
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</build>
<dependencies>
Expand Down Expand Up @@ -390,6 +392,44 @@
<skipTests>false</skipTests>
<skipITs>${skipTests}</skipITs>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.revapi</groupId>
<artifactId>revapi-maven-plugin</artifactId>
<version>0.8.1</version>
<dependencies>
<dependency>
<groupId>org.revapi</groupId>
<artifactId>revapi-java</artifactId>
<version>0.13.1</version>
</dependency>
<dependency>
<groupId>org.revapi</groupId>
<artifactId>revapi-reporter-text</artifactId>
<version>0.6.1</version>
</dependency>
</dependencies>
<configuration>
<oldArtifacts>
<artifact>${project.groupId}:${project.artifactId}:2.0.0</artifact>
</oldArtifacts>
<analysisConfigurationFiles>
<path>src/build/revapi-config.json</path>
</analysisConfigurationFiles>
<failOnMissingConfigurationFiles>true</failOnMissingConfigurationFiles>
</configuration>
<executions>
<execution>
<id>check</id>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
23 changes: 23 additions & 0 deletions src/build/revapi-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"revapi": {
"semver": {
"ignore": {
"enabled": true,
"versionIncreaseAllows": {
"major": "breaking",
"minor": "nonBreaking",
"patch": "equivalent"
},
"passThroughDifferences": [
"java.class.nonPublicPartOfAPI"
]
}
},
"reporter": {
"text": {
"output": "out",
"append": false
}
}
}
}
3 changes: 1 addition & 2 deletions src/main/resources/syntax.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
~ permissions and limitations under the License.
-->

<!DOCTYPE structure SYSTEM "https://raw.githubusercontent.com/oskopek/javaanpr/master/src/main/resources/dtd/syntax.dtd">
<!-- TODO: Host DTD in a proper place -->
<!DOCTYPE structure SYSTEM "src/main/resources/dtd/syntax.dtd">

<structure>
<type name="germany">
Expand Down

0 comments on commit e9e9ca1

Please sign in to comment.