Skip to content

Commit

Permalink
[maven-release-plugin] prepare release classgraph-4.8.68
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehutch committed Apr 4, 2020
1 parent 02c1237 commit 3742058
Showing 1 changed file with 11 additions and 29 deletions.
40 changes: 11 additions & 29 deletions pom.xml
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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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 -->
Expand Down Expand Up @@ -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>
Expand All @@ -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="&lt;?"
to="&lt;-- " />
<replacestring from="&lt;?" to="&lt;-- " />
</tokenfilter>
<tokenfilter>
<replacestring
from="?&gt;"
to=" --&gt;" />
<replacestring from="?&gt;" to=" --&gt;" />
</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>
Expand Down

0 comments on commit 3742058

Please sign in to comment.