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
jdk: oraclejdk7
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:
global:

15
pom.xml
View File

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