| <?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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>com.google.inject</groupId> |
| <artifactId>guice-parent</artifactId> |
| <version>3.0-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>guice</artifactId> |
| |
| <name>Google Guice - Core Library</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>aopalliance</groupId> |
| <artifactId>aopalliance</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.sonatype.sisu.inject</groupId> |
| <artifactId>cglib</artifactId> |
| <version>2.2.1</version> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject-tck</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.springframework</groupId> |
| <artifactId>spring-beans</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>biz.aQute</groupId> |
| <artifactId>bnd</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.framework</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <includes> |
| <include>**/AllTests.java</include> |
| </includes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <configuration> |
| <instructions> |
| <Bundle-SymbolicName>com.google.inject</Bundle-SymbolicName> |
| <Import-Package>!*.asm.*,!*.cglib.*,!com.google.inject.*,*</Import-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>munge-maven-plugin</artifactId> |
| <version>1.0</version> |
| <executions> |
| <execution> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>munge-fork</goal> |
| </goals> |
| <configuration> |
| <symbols>NO_AOP</symbols> |
| <excludes> |
| **/InterceptorBinding.java, |
| **/InterceptorBindingProcessor.java, |
| **/InterceptorStackCallback.java, |
| **/LineNumbers.java, |
| **/MethodAspect.java, |
| **/ProxyFactory.java, |
| **/BytecodeGenTest.java, |
| **/IntegrationTest.java, |
| **/MethodInterceptionTest.java, |
| **/ProxyFactoryTest.java |
| </excludes> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| <configuration> |
| <archive> |
| <manifestFile>target/munged/classes/META-INF/MANIFEST.MF</manifestFile> |
| </archive> |
| <classesDirectory>target/munged/classes</classesDirectory> |
| <classifier>noaop</classifier> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.sonatype.plugins</groupId> |
| <artifactId>jarjar-maven-plugin</artifactId> |
| <version>1.2</version> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>jarjar</goal> |
| </goals> |
| <configuration> |
| <includes> |
| <include>asm:asm</include> |
| <include>org.sonatype.sisu.inject:cglib</include> |
| </includes> |
| <rules> |
| <rule> |
| <pattern>org.objectweb.asm.**</pattern> |
| <result>com.google.inject.internal.asm.@1</result> |
| </rule> |
| <rule> |
| <pattern>net.sf.cglib.**</pattern> |
| <result>com.google.inject.internal.cglib.@1</result> |
| </rule> |
| <keep> |
| <pattern>com.google.inject.**</pattern> |
| </keep> |
| </rules> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |