1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.picocontainer</groupId>
<artifactId>picocontainer-parent</artifactId>
<version>2.15.1-SNAPSHOT</version>
</parent>
<artifactId>picocontainer</artifactId>
<name>PicoContainer Core</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>com.thoughtworks.paranamer</groupId>
<artifactId>paranamer</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.thoughtworks.paranamer</groupId>
<artifactId>paranamer-maven-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<sourceDirectory>src/test</sourceDirectory>
<outputDirectory>target/test-classes</outputDirectory>
</configuration>
<executions>
<execution>
<phase>test</phase>
<id>generate</id>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactId>picocontainer</shadedArtifactId>
<artifactSet>
<excludes>
<exclude>javax.annotation:jsr250-api</exclude>
<exclude>javax.inject:javax.inject</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>com.thoughtworks.paranamer:paranamer</artifact>
<excludes>
<exclude>com/thoughtworks/paranamer/Javadoc*</exclude>
<exclude>com/thoughtworks/paranamer/Null*</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>com.thoughtworks.paranamer</pattern>
<shadedPattern>org.picocontainer.paranamer</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|