META-INF.maven.com.groupbyinc.common-security.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <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> <parent> <groupId>com.groupbyinc</groupId> <artifactId>common</artifactId> <version>173</version> <relativePath>../pom.xml</relativePath> </parent> <artifactId>common-security</artifactId> <packaging>jar</packaging> <name>GroupBy - Common - Security</name> <description>${project.name}</description> <properties> <project.build.jdkVersion>1.8</project.build.jdkVersion> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-ext-jdk15on</artifactId> <version>1.60</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <!-- ### Shaded --> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </dependency> <!-- SECURITY --> <dependency> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-ext-jdk15on</artifactId> </dependency> <!-- ### Test --> <dependency> <groupId>com.groupbyinc</groupId> <artifactId>common-test-internal</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>empty-javadoc-jar</id> <phase>package</phase> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadeTestJar>true</shadeTestJar> <createSourcesJar>true</createSourcesJar> <createDependencyReducedPom>true</createDependencyReducedPom> <dependencyReducedPomLocation>${project.build.directory}/${project.build.finalName}.pom</dependencyReducedPomLocation> <artifactSet> <includes> <include>org.apache.commons:*</include> <include>com.groupbyinc:*</include> </includes> </artifactSet> <relocations> <relocation> <pattern>org.apache</pattern> <shadedPattern>com.groupbyinc.common.apache</shadedPattern> </relocation> </relocations> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <manifestEntries> <Archive-Type>Uber JAR</Archive-Type> </manifestEntries> </transformer> </transformers> </configuration> </execution> </executions> </plugin> </plugins> </build> </project>