chrismattmann closed pull request #133: Streamline usage of junit among the project and add Travis CI build support URL: https://github.com/apache/drat/pull/133
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..25a82e7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: java +jdk: + - oraclejdk8 + - oraclejdk9 + +#before_script: +# - pip install --user codecov + +#after_success: +# - codecov + +#addons: +# srcclr: true diff --git a/crawler/pom.xml b/crawler/pom.xml index b11d3f2..622b889 100644 --- a/crawler/pom.xml +++ b/crawler/pom.xml @@ -59,7 +59,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>3.8.2</version> + <version>${junit.version}</version> <scope>test</scope> </dependency> </dependencies> diff --git a/extensions/pom.xml b/extensions/pom.xml index a4b08f5..4b45ffa 100644 --- a/extensions/pom.xml +++ b/extensions/pom.xml @@ -77,7 +77,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>3.8.2</version> + <version>${junit.version}</version> </dependency> </dependencies> diff --git a/filemgr/pom.xml b/filemgr/pom.xml index b4a9285..6ac033d 100644 --- a/filemgr/pom.xml +++ b/filemgr/pom.xml @@ -60,7 +60,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>3.8.2</version> + <version>${junit.version}</version> <scope>test</scope> </dependency> diff --git a/pcs/pom.xml b/pcs/pom.xml index 5be580e..548c271 100644 --- a/pcs/pom.xml +++ b/pcs/pom.xml @@ -60,7 +60,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>3.8.2</version> + <version>${junit.version}</version> <scope>test</scope> </dependency> diff --git a/pom.xml b/pom.xml index 013787b..781a844 100644 --- a/pom.xml +++ b/pom.xml @@ -13,6 +13,7 @@ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <oodt.version>1.2.2</oodt.version> + <junit.version>4.12</junit.version> </properties> <repositories> @@ -48,6 +49,7 @@ </distributionManagement> <build> + <defaultGoal>clean install</defaultGoal> <sourceDirectory>${basedir}/src/main/java</sourceDirectory> <testSourceDirectory>${basedir}/src/test</testSourceDirectory> <plugins> @@ -56,8 +58,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> - <source>1.6</source> - <target>1.6</target> + <source>1.8</source> + <target>1.8</target> </configuration> </plugin> <plugin> diff --git a/proteus/pom.xml b/proteus/pom.xml index 18fe642..5f2d5e7 100644 --- a/proteus/pom.xml +++ b/proteus/pom.xml @@ -39,7 +39,6 @@ </licenses> <properties> <wicket.version>7.8.0</wicket.version> - <junit.version>4.12</junit.version> <log4j.version>2.3</log4j.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <cxf.version>2.2.3</cxf.version> @@ -181,8 +180,8 @@ <artifactId>maven-compiler-plugin</artifactId> <version>3.1</version> <configuration> - <source>1.7</source> - <target>1.7</target> + <source>1.8</source> + <target>1.8</target> <encoding>UTF-8</encoding> <showWarnings>true</showWarnings> <showDeprecation>true</showDeprecation> diff --git a/resmgr/pom.xml b/resmgr/pom.xml index 1c246cb..a561867 100644 --- a/resmgr/pom.xml +++ b/resmgr/pom.xml @@ -60,7 +60,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>3.8.2</version> + <version>${junit.version}</version> <scope>test</scope> </dependency> diff --git a/workflow/pom.xml b/workflow/pom.xml index 99934c4..9c48fb5 100644 --- a/workflow/pom.xml +++ b/workflow/pom.xml @@ -83,7 +83,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>3.8.2</version> + <version>${junit.version}</version> <scope>test</scope> </dependency> </dependencies> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services