Skip to content

Commit

Permalink
chore(pom.xml): revert version from 0.4.0-SNAPSHOT to 0.3.4-SNAPSHOT …
Browse files Browse the repository at this point in the history
…to align with project dependencies (#122)

refactor(pom.xml): remove maven-assembly-plugin and maven-shade-plugin as they are no longer needed for the project build process
  • Loading branch information
jandroav authored Dec 19, 2023
1 parent ad068dd commit 1addf68
Showing 1 changed file with 1 addition and 81 deletions.
82 changes: 1 addition & 81 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.liquibase</groupId>
<artifactId>liquibase-parent-pom</artifactId>
<name>Liquibase Parent POM</name>
<version>0.4.0-SNAPSHOT</version>
<version>0.3.4-SNAPSHOT</version>
<description>Liquibase Parent POM for all Extensions</description>
<url>https://github.com/liquibase/liquibase-parent-pom</url>
<packaging>pom</packaging>
Expand Down Expand Up @@ -300,34 +300,6 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven-assembly-plugin.version}</version>
<configuration>
<archive>
<manifestEntries>
<Implementation-Title>${project.name}</Implementation-Title>
<Bundle-Vendor>Liquibase</Bundle-Vendor>
<Bundle-Version>${project.version}</Bundle-Version>
</manifestEntries>
</archive>
<appendAssemblyId>false</appendAssemblyId>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<finalName>${project.artifactId}-${project.version}</finalName>
</configuration>
<executions>
<execution>
<id>assemble-all</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
Expand Down Expand Up @@ -455,58 +427,6 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>${maven-shade-plugin.version}</version>
<executions>
<execution>
<id>über-jar</id>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>full</shadedClassifierName>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>**/module-info.class</exclude>
<exclude>META-INF/MANIFEST.MF</exclude>
<exclude>empty.txt</exclude>
</excludes>
</filter>
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer">
<addHeader>false</addHeader>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Implementation-Title>${project.artifactId}-${project.version}</Implementation-Title>
<Bundle-Vendor>Liquibase</Bundle-Vendor>
<Bundle-Version>${project.version}</Bundle-Version>
</manifestEntries>
</transformer>
</transformers>
<filters>
<filter>
<!-- filter out signature files from signed dependencies, else repackaging fails with security ex -->
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
Expand Down

0 comments on commit 1addf68

Please sign in to comment.