Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for multi release #437

Merged
merged 1 commit into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cli-scanner/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@
<Implementation-Title>${project.name}</Implementation-Title>
<Implementation-Version>${project.version}</Implementation-Version>
<Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</transformer>
</transformers>
Expand Down
1 change: 0 additions & 1 deletion kb-importer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
<manifestEntries>
<Main-Class>org.eclipse.steady.kb.Main</Main-Class>
<Implementation-Version>${project.version}</Implementation-Version>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</transformer>
</transformers>
Expand Down
1 change: 0 additions & 1 deletion patch-analyzer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>org.eclipse.steady.patcha.PatchAnalyzer</Main-Class>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</transformer>
</transformers>
Expand Down
1 change: 0 additions & 1 deletion patch-lib-analyzer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
</manifest>
<manifestEntries>
<Main-Class>org.eclipse.steady.patcheval.Main</Main-Class>
<Multi-Release>true</Multi-Release>
</manifestEntries>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
Expand Down
13 changes: 12 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,18 @@

<build>
<plugins>

<!-- Add support for multi release jar. This change is done for log4j, as new log4j supports multi release jar -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</archive>
</configuration>
</plugin>
<!-- Show whether there are newer versions available, run fully-qualified
with 'mvn -DallowMajorUpdates=false -DprocessDependencyManagement=false org.codehaus.mojo:versions-maven-plugin:2.7:display-dependency-updates' -->
<plugin>
Expand Down