mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 15:53:36 +01:00
updates and add deploy
This commit is contained in:
56
.travis.settings.xml
Normal file
56
.travis.settings.xml
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<settings xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" xmlns="http://maven.apache.org/SETTINGS/1.1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<servers>
|
||||
<server>
|
||||
<username>${env.JFROG_USER}</username>
|
||||
<password>${env.JFROG_PASSWORD}</password>
|
||||
<id>release</id>
|
||||
</server>
|
||||
<server>
|
||||
<username>${env.JFROG_USER}</username>
|
||||
<password>${env.JFROG_PASSWORD}</password>
|
||||
<id>snapshot</id>
|
||||
</server>
|
||||
</servers>
|
||||
<profiles>
|
||||
<profile>
|
||||
<repositories>
|
||||
<repository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>release</id>
|
||||
<name>libs-release</name>
|
||||
<url>https://dependencycheck.jfrog.io/dependencycheck/libs-release</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<snapshots />
|
||||
<id>snapshot</id>
|
||||
<name>libs-snapshot</name>
|
||||
<url>https://dependencycheck.jfrog.io/dependencycheck/libs-snapshot</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>release</id>
|
||||
<name>plugins-release</name>
|
||||
<url>https://dependencycheck.jfrog.io/dependencycheck/plugins-release</url>
|
||||
</pluginRepository>
|
||||
<pluginRepository>
|
||||
<snapshots />
|
||||
<id>snapshot</id>
|
||||
<name>plugins-snapshot</name>
|
||||
<url>https://dependencycheck.jfrog.io/dependencycheck/plugins-snapshot</url>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
<id>artifactory</id>
|
||||
</profile>
|
||||
</profiles>
|
||||
<activeProfiles>
|
||||
<activeProfile>artifactory</activeProfile>
|
||||
</activeProfiles>
|
||||
</settings>
|
||||
21
.travis.yml
21
.travis.yml
@@ -6,6 +6,9 @@ env:
|
||||
global:
|
||||
- secure: ZUzhWfpXJw/oAeDlUkDFkEJMT0T7kCN3d7ah8urkL2B0KFfKOqQagkbXkgvDa1SYud8VdcnoGa69LfkEr5IrdqW7R4bEYZAiN5swm4Z0iO8t53szVspm2f+O9jQ44O/sfOfpfLxWUUuhdc7Vbrszp+tSszxdPmssWL+f5a/mfWs=
|
||||
- secure: pmFymoI7qH0Kna3NkcHrqLiTVWKmrhwqA4Z9U6XLhWDQxcs5g94wCCKpGB6Lkz9mkvRxBRFpZZelnXJa9W9mnuVOMIa5tQfS5gBuaNXOe7AXXdc+Y2975OR9sSfvf16FxLFvNJILmZq+bpMLs+EXaQvjYQHW2O6OWZdLhAPVG6A=
|
||||
- secure: GgpxZNu8kY4fmn/5+NismK0bLgcBhowBuQmpjcOUti/MCCa0yurKdTnELQxYWaufokq1+XgyHwnPfpLaQbSlW/eOcu6D1sfyqZvtK6DMkyO7DWX1s5PXizdHIugh51HmlwQAhnlT5ka8aJam0qtPlUdFhe9tuXjZw6VEbUnxq2Q=
|
||||
- secure: P1iVppoVvH+tdhgdyaON7BNAUvI7ocUECKJ2q6IYn9kLXOXhcym4vz2z3gA+aEQAeB5QUn1mPrl6/i0BWV7O6NgyZijE01Hu42QU5UuBbuUSoyedF9vWEC21n9LiEZtK2H9SMNUUknX2IZwZAZzYcnPfZtURS85KDdE50VxEVA8=
|
||||
- secure: Bh5LAk8XQnJ885jc/Lli2fhPKDx0TNZRxcJMnNo96EgwOnD+Zhw+v3u/DMCgyyrRToM8Bkca/HktrlZaRTk2htsdKZZ3RHFMCXO0fXCgpcf+wkaSYDF/lnErpSJG3Lrz8ILxJPODsrGhjaIg2++79lwhsBYtpujc6UdxFhgpffc=
|
||||
|
||||
before_install:
|
||||
- wget -O ~/codacy-coverage-reporter-assembly.jar https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/1.0.13/codacy-coverage-reporter-1.0.13-assembly.jar
|
||||
@@ -13,3 +16,21 @@ before_install:
|
||||
after_success:
|
||||
- java -cp ~/codacy-coverage-reporter-assembly.jar com.codacy.CodacyCoverageReporter -l Java -r build-reporting/target/coverage-reports/jacoco.xml
|
||||
- ./coverity_scan.sh
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: "mvn --settings .travis.settings.xml mvn deploy"
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
# tags: true
|
||||
|
||||
deploy:
|
||||
provider: pages
|
||||
skip_cleanup: true
|
||||
local_dir: target
|
||||
github_token: $GITHUB_TOKEN
|
||||
on:
|
||||
tags: true
|
||||
branch: master
|
||||
|
||||
10
pom.xml
10
pom.xml
@@ -135,12 +135,12 @@ Copyright (c) 2012 - Jeremy Long
|
||||
</properties>
|
||||
<distributionManagement>
|
||||
<snapshotRepository>
|
||||
<id>ossrh</id>
|
||||
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
|
||||
<id>snapshot</id>
|
||||
<url>https://dependencycheck.jfrog.io/dependencycheck/libs-snapshot</url>
|
||||
</snapshotRepository>
|
||||
<repository>
|
||||
<id>ossrh</id>
|
||||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
||||
<name>release</name>
|
||||
<url>https://dependencycheck.jfrog.io/dependencycheck/libs-release</url>
|
||||
</repository>
|
||||
<site>
|
||||
<id>gh-pages</id>
|
||||
@@ -535,7 +535,7 @@ Copyright (c) 2012 - Jeremy Long
|
||||
<version>2.10.4</version>
|
||||
<configuration>
|
||||
<failOnError>false</failOnError>
|
||||
<bottom>Copyright© 2012-15 Jeremy Long. All Rights Reserved.</bottom>
|
||||
<bottom>Copyright© 2012-17 Jeremy Long. All Rights Reserved.</bottom>
|
||||
</configuration>
|
||||
<reportSets>
|
||||
<reportSet>
|
||||
|
||||
Reference in New Issue
Block a user