Skip to content

Commit ed320f9

Browse files
author
Wulfspider
committed
Minor tweak and cleanup for the jar manifest.
1 parent 36fe8bd commit ed320f9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
language: java
22
jdk: oraclejdk7
33

4-
before_script: "git clone -b travis `git config --get remote.origin.url` target/travis"
5-
script: mvn package -DbuildNumber=$TRAVIS_BUILD_NUMBER -DciSystem=travis -Dcommit=$TRAVIS_COMMIT
4+
install: mvn package -DbuildNumber=$TRAVIS_BUILD_NUMBER -DciSystem=travis -Dcommit=${TRAVIS_COMMIT:0:7}
65
after_success:
76
- export PROJECT_ARTIFACT_ID="`sed -n 's|.*<artifactId>\(.*\)</artifactId>.*|\1|p' $TRAVIS_BUILD_DIR/pom.xml | awk '{ print $1; exit }'`" && echo Project artifactId is $PROJECT_ARTIFACT_ID
87
- export PROJECT_NAME="`sed -n 's|.*<name>\(.*\)</name>.*|\1|p' $TRAVIS_BUILD_DIR/pom.xml | awk '{ print $1; exit }'`" && echo Project name is $PROJECT_NAME
98
- export PROJECT_VERSION="`sed -n 's|.*<version>\(.*\)</version>.*|\1|p' $TRAVIS_BUILD_DIR/pom.xml | awk '{ print $1; exit }'`" && echo Project version is $PROJECT_VERSION
9+
- "git clone -b travis `git config --get remote.origin.url` target/travis"
1010
- "[[ \"$TRAVIS_BRANCH\" == \"master\" ]] && mvn deploy --settings target/travis/settings.xml"
1111

1212
notifications:

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,6 @@
201201
<Specification-Title>${project.name}</Specification-Title>
202202
<Specification-Version>${project.version}+${ciSystem}-b${buildNumber}.git-${commit}</Specification-Version>
203203
<Specification-Vendor>${project.organization.name}</Specification-Vendor>
204-
<Sealed>true</Sealed>
205204
</manifestEntries>
206205
<manifestSections>
207206
<manifestSection>

0 commit comments

Comments
 (0)