minor build cleanup

This commit is contained in:
Jeremy Long
2017-06-18 07:01:13 -04:00
parent a13c6fcb25
commit 2e35c5bcab
2 changed files with 6 additions and 12 deletions

View File

@@ -1,8 +1,7 @@
sudo: false
language: java language: java
jdk: oraclejdk7 jdk: oraclejdk7
script: script:
- if [ ! -z "$TRAVIS_TAG" ]; then mvn install site site:stage -DreleaseTesting; else mvn install -DreleaseTesting; fi - if [ ! -z "$TRAVIS_TAG" ]; then mvn install source:jar javadoc:jar site site:stage -DreleaseTesting; else mvn install -DreleaseTesting; fi
env: env:
global: global:

15
pom.xml
View File

@@ -363,13 +363,6 @@ Copyright (c) 2012 - Jeremy Long
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<releaseProfiles>release</releaseProfiles>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId> <artifactId>maven-resources-plugin</artifactId>
@@ -422,9 +415,11 @@ Copyright (c) 2012 - Jeremy Long
</goals> </goals>
<configuration> <configuration>
<target name="copy xsd to site"> <target name="copy xsd to site">
<copy file="dependency-check-core/src/main/resources/schema/dependency-check.1.3.xsd" todir="target/site/"/> <copy todir="target/site/">
<copy file="dependency-check-core/src/main/resources/schema/dependency-suppression.1.1.xsd" todir="target/site/"/> <fileset dir="dependency-check-core/src/main/resources/schema/">
<copy file="dependency-check-core/src/main/resources/schema/dependency-hint.1.1.xsd" todir="target/site/"/> <include name="**/*.xsd"/>
</fileset>
</copy>
</target> </target>
</configuration> </configuration>
</execution> </execution>