-
-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[maven-release-plugin] prepare release classgraph-4.8.68
- Loading branch information
Showing
1 changed file
with
11 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
<project | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>io.github.classgraph</groupId> | ||
<artifactId>classgraph</artifactId> | ||
<version>4.8.68-SNAPSHOT</version> | ||
<version>4.8.68</version> | ||
<name>ClassGraph</name> | ||
|
||
<description>The uber-fast, ultra-lightweight classpath and module scanner for JVM languages.</description> | ||
|
@@ -34,7 +31,7 @@ | |
<connection>scm:git:[email protected]:classgraph/classgraph.git</connection> | ||
<developerConnection>scm:git:[email protected]:classgraph/classgraph.git</developerConnection> | ||
<url>https://github.com/classgraph/classgraph</url> | ||
<tag>HEAD</tag> | ||
<tag>classgraph-4.8.68</tag> | ||
</scm> | ||
|
||
<issueManagement> | ||
|
@@ -276,8 +273,7 @@ | |
</goals> | ||
<configuration> | ||
<rules> | ||
<checkSignatureRule | ||
implementation="org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule"> | ||
<checkSignatureRule implementation="org.codehaus.mojo.animal_sniffer.enforcer.CheckSignatureRule"> | ||
<signature> | ||
<groupId>org.codehaus.mojo.signature</groupId> | ||
<!-- Check against JDK 7 API --> | ||
|
@@ -357,13 +353,8 @@ | |
</goals> | ||
<configuration> | ||
<target> | ||
<jar | ||
update="true" | ||
destfile="${project.build.directory}/${project.build.finalName}.jar"> | ||
<zipfileset | ||
prefix="META-INF/versions/9" | ||
dir="${project.basedir}/src/module-info/io.github.classgraph" | ||
includes="module-info.class" /> | ||
<jar update="true" destfile="${project.build.directory}/${project.build.finalName}.jar"> | ||
<zipfileset prefix="META-INF/versions/9" dir="${project.basedir}/src/module-info/io.github.classgraph" includes="module-info.class" /> | ||
</jar> | ||
</target> | ||
</configuration> | ||
|
@@ -382,31 +373,22 @@ | |
<tasks> | ||
<!-- Unzip pom.xml, and replace m2e directives with comments --> | ||
<copy todir="${project.build.directory}/tmp"> | ||
<zipfileset | ||
src="${project.build.directory}/${project.build.finalName}.jar"> | ||
<zipfileset src="${project.build.directory}/${project.build.finalName}.jar"> | ||
<patternset> | ||
<include | ||
name="META-INF/maven/io.github.classgraph/classgraph/pom.xml" /> | ||
<include name="META-INF/maven/io.github.classgraph/classgraph/pom.xml" /> | ||
</patternset> | ||
</zipfileset> | ||
<filterchain> | ||
<tokenfilter> | ||
<replacestring | ||
from="<?" | ||
to="<-- " /> | ||
<replacestring from="<?" to="<-- " /> | ||
</tokenfilter> | ||
<tokenfilter> | ||
<replacestring | ||
from="?>" | ||
to=" -->" /> | ||
<replacestring from="?>" to=" -->" /> | ||
</tokenfilter> | ||
</filterchain> | ||
</copy> | ||
<!-- Update jarfile with modified pom.xml --> | ||
<zip | ||
basedir="${project.build.directory}/tmp" | ||
destfile="${project.build.directory}/${project.build.finalName}.jar" | ||
update="true" /> | ||
<zip basedir="${project.build.directory}/tmp" destfile="${project.build.directory}/${project.build.finalName}.jar" update="true" /> | ||
</tasks> | ||
</configuration> | ||
</execution> | ||
|