Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not pack jars.
Java 16 removed pack200 api and with the pack200 tool being gone since
Java 14 it's time to stop doing it.

Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
  • Loading branch information
akurtakov committed Mar 16, 2021
1 parent c563b41 commit b8b9f07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Expand Up @@ -52,7 +52,7 @@ spec:
steps {
container('container') {
wrap([$class: 'Xvnc', useXauthority: true]) {
sh 'mvn clean verify -B -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -PpackAndSign -Dmaven.repo.local=$WORKSPACE/.m2/repository'
sh 'mvn clean verify -B -Dmaven.test.error.ignore=true -Dmaven.test.failure.ignore=true -Psign -Dmaven.repo.local=$WORKSPACE/.m2/repository'
}
}
}
Expand Down
31 changes: 1 addition & 30 deletions pom.xml
Expand Up @@ -36,7 +36,6 @@
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<includePackedArtifacts>true</includePackedArtifacts>
<target>
<artifact>
<groupId>${project.groupId}</groupId>
Expand Down Expand Up @@ -100,23 +99,9 @@
</build>
<profiles>
<profile>
<id>packAndSign</id>
<id>sign</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200a-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>pack200-normalize</id>
<phase>package</phase>
<goals>
<goal>normalize</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-jarsigner-plugin</artifactId>
Expand All @@ -131,20 +116,6 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-pack200b-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>pack200-pack</id>
<phase>package</phase>
<goals>
<goal>pack</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
Expand Down

0 comments on commit b8b9f07

Please sign in to comment.