mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <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"> |
| 3 | |
| 4 | <modelVersion>4.0.0</modelVersion> |
| 5 | |
| 6 | <parent> |
| 7 | <groupId>com.google.inject</groupId> |
| 8 | <artifactId>guice-parent</artifactId> |
Christian Edward Gruber | a0e7344 | 2013-07-31 18:53:09 -0700 | [diff] [blame^] | 9 | <version>4.0-SNAPSHOT</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 10 | </parent> |
| 11 | |
| 12 | <artifactId>guice</artifactId> |
| 13 | |
| 14 | <name>Google Guice - Core Library</name> |
| 15 | |
mcculls | 4d4e160 | 2010-11-24 21:16:07 +0000 | [diff] [blame] | 16 | <properties> |
Christian Edward Gruber | a1867f8 | 2013-05-15 17:52:45 -0700 | [diff] [blame] | 17 | <cglib.version>3.0</cglib.version> |
Christian Edward Gruber | 3f42514 | 2013-06-06 15:55:47 -0700 | [diff] [blame] | 18 | <asm.version>4.0</asm.version> |
mcculls | 4d4e160 | 2010-11-24 21:16:07 +0000 | [diff] [blame] | 19 | </properties> |
| 20 | |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 21 | <dependencies> |
| 22 | <dependency> |
| 23 | <groupId>javax.inject</groupId> |
| 24 | <artifactId>javax.inject</artifactId> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 25 | <version>1</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 26 | </dependency> |
| 27 | <dependency> |
| 28 | <groupId>aopalliance</groupId> |
| 29 | <artifactId>aopalliance</artifactId> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 30 | <version>1.0</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 31 | </dependency> |
mcculls | 4d4e160 | 2010-11-24 21:16:07 +0000 | [diff] [blame] | 32 | <dependency> |
sberlin | d9c913a | 2011-06-26 21:02:54 +0000 | [diff] [blame] | 33 | <groupId>com.google.guava</groupId> |
| 34 | <artifactId>guava</artifactId> |
Sam Berlin | 45ef017 | 2012-01-13 18:22:35 -0500 | [diff] [blame] | 35 | <version>11.0.1</version> |
sberlin | d9c913a | 2011-06-26 21:02:54 +0000 | [diff] [blame] | 36 | </dependency> |
| 37 | <dependency> |
mcculls | e7511fd | 2011-05-10 16:12:59 +0000 | [diff] [blame] | 38 | <groupId>cglib</groupId> |
mcculls | 4d4e160 | 2010-11-24 21:16:07 +0000 | [diff] [blame] | 39 | <artifactId>cglib</artifactId> |
| 40 | <version>${cglib.version}</version> |
| 41 | </dependency> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 42 | <dependency> |
Christian Edward Gruber | 3f42514 | 2013-06-06 15:55:47 -0700 | [diff] [blame] | 43 | <groupId>org.ow2.asm</groupId> |
| 44 | <artifactId>asm-util</artifactId> |
| 45 | <version>${asm.version}</version> |
| 46 | </dependency> |
| 47 | <dependency> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 48 | <groupId>javax.inject</groupId> |
| 49 | <artifactId>javax.inject-tck</artifactId> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 50 | <version>1</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 51 | <scope>test</scope> |
| 52 | </dependency> |
| 53 | <dependency> |
| 54 | <groupId>org.springframework</groupId> |
| 55 | <artifactId>spring-beans</artifactId> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 56 | <version>3.0.5.RELEASE</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 57 | <scope>test</scope> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>biz.aQute</groupId> |
| 61 | <artifactId>bnd</artifactId> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 62 | <version>0.0.384</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 63 | <scope>test</scope> |
| 64 | </dependency> |
| 65 | <dependency> |
| 66 | <groupId>org.apache.felix</groupId> |
| 67 | <artifactId>org.apache.felix.framework</artifactId> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 68 | <version>3.0.5</version> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 69 | <scope>test</scope> |
| 70 | </dependency> |
| 71 | </dependencies> |
| 72 | |
| 73 | <build> |
| 74 | <plugins> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 75 | <!-- |
mcculls | 33018c3 | 2011-01-04 15:16:27 +0000 | [diff] [blame] | 76 | | Add standard LICENSE and NOTICE files |
| 77 | --> |
| 78 | <plugin> |
| 79 | <artifactId>maven-remote-resources-plugin</artifactId> |
| 80 | </plugin> |
| 81 | <!-- |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 82 | | Enable Java5 conformance checks |
| 83 | --> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 84 | <plugin> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 85 | <groupId>org.codehaus.mojo</groupId> |
| 86 | <artifactId>animal-sniffer-maven-plugin</artifactId> |
| 87 | </plugin> |
| 88 | <plugin> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 89 | <artifactId>maven-surefire-plugin</artifactId> |
| 90 | <configuration> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 91 | <!-- |
| 92 | | Temporarily excluded tests |
| 93 | --> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 94 | <excludes> |
| 95 | <exclude>**/OSGiContainerTest*</exclude> |
| 96 | <exclude>**/ScopesTest*</exclude> |
| 97 | <exclude>**/TypeConversionTest*</exclude> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 98 | </excludes> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 99 | </configuration> |
| 100 | </plugin> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 101 | <!-- |
| 102 | | Add OSGi manifest |
| 103 | --> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 104 | <plugin> |
| 105 | <groupId>org.apache.felix</groupId> |
| 106 | <artifactId>maven-bundle-plugin</artifactId> |
Sam Berlin | 88b6d13 | 2012-01-13 18:32:04 -0500 | [diff] [blame] | 107 | <configuration> |
| 108 | <instructions> |
| 109 | <Eclipse-ExtensibleAPI>true</Eclipse-ExtensibleAPI> |
| 110 | </instructions> |
| 111 | </configuration> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 112 | </plugin> |
mcculls | 33018c3 | 2011-01-04 15:16:27 +0000 | [diff] [blame] | 113 | <!-- |
| 114 | | Remove duplicate jarjar'd LICENSE and NOTICE |
| 115 | --> |
| 116 | <plugin> |
| 117 | <artifactId>maven-jar-plugin</artifactId> |
| 118 | <configuration> |
| 119 | <excludes> |
| 120 | <exclude>LICENSE</exclude> |
| 121 | <exclude>NOTICE</exclude> |
| 122 | </excludes> |
| 123 | </configuration> |
| 124 | </plugin> |
Christian Edward Gruber | 359c5c3 | 2013-07-31 15:56:55 -0700 | [diff] [blame] | 125 | <!-- |
| 126 | | Generate sources jar |
| 127 | --> |
| 128 | <plugin> |
| 129 | <artifactId>maven-source-plugin</artifactId> |
| 130 | </plugin> |
| 131 | <!-- |
| 132 | | Generate javadoc jar |
| 133 | --> |
| 134 | <plugin> |
| 135 | <artifactId>maven-javadoc-plugin</artifactId> |
| 136 | </plugin> |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 137 | </plugins> |
| 138 | </build> |
| 139 | |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 140 | <profiles> |
| 141 | <profile> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 142 | <!-- |
| 143 | | No-AOP profile: repeat the build lifecycle with munged no-AOP source |
| 144 | --> |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 145 | <id>guice.with.no_aop</id> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 146 | <activation> |
| 147 | <property> |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 148 | <name>guice.with.no_aop</name> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 149 | <value>!false</value> |
| 150 | </property> |
| 151 | </activation> |
| 152 | <build> |
| 153 | <plugins> |
| 154 | <plugin> |
| 155 | <groupId>org.sonatype.plugins</groupId> |
| 156 | <artifactId>munge-maven-plugin</artifactId> |
| 157 | <version>1.0</version> |
| 158 | <executions> |
| 159 | <execution> |
| 160 | <phase>prepare-package</phase> |
| 161 | <goals> |
| 162 | <goal>munge-fork</goal> |
| 163 | </goals> |
| 164 | <configuration> |
| 165 | <symbols>NO_AOP</symbols> |
| 166 | <excludes> |
| 167 | **/InterceptorBinding.java, |
| 168 | **/InterceptorBindingProcessor.java, |
| 169 | **/InterceptorStackCallback.java, |
| 170 | **/LineNumbers.java, |
| 171 | **/MethodAspect.java, |
| 172 | **/ProxyFactory.java, |
| 173 | **/BytecodeGenTest.java, |
| 174 | **/IntegrationTest.java, |
| 175 | **/MethodInterceptionTest.java, |
| 176 | **/ProxyFactoryTest.java |
| 177 | </excludes> |
| 178 | </configuration> |
| 179 | </execution> |
| 180 | </executions> |
| 181 | </plugin> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 182 | <!-- |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 183 | | Package the no-AOP build with its own OSGi manifest and attach using "no_aop" classifier |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 184 | --> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 185 | <plugin> |
| 186 | <artifactId>maven-jar-plugin</artifactId> |
| 187 | <executions> |
| 188 | <execution> |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 189 | <id>no_aop</id> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 190 | <phase>package</phase> |
| 191 | <goals> |
| 192 | <goal>jar</goal> |
| 193 | </goals> |
| 194 | <configuration> |
| 195 | <classesDirectory>${project.build.directory}/munged/classes</classesDirectory> |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 196 | <classifier>no_aop</classifier> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 197 | <archive> |
| 198 | <manifestFile>${project.build.directory}/munged/classes/META-INF/MANIFEST.MF</manifestFile> |
| 199 | </archive> |
| 200 | </configuration> |
| 201 | </execution> |
| 202 | </executions> |
| 203 | </plugin> |
| 204 | </plugins> |
| 205 | </build> |
| 206 | </profile> |
| 207 | <profile> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 208 | <!-- |
| 209 | | JarJar build profile: re-package ASM and CGLIB classes under the Guice namespace |
| 210 | --> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 211 | <id>guice.with.jarjar</id> |
| 212 | <activation> |
| 213 | <property> |
| 214 | <name>guice.with.jarjar</name> |
| 215 | <value>!false</value> |
| 216 | </property> |
| 217 | </activation> |
mcculls | 4d4e160 | 2010-11-24 21:16:07 +0000 | [diff] [blame] | 218 | <dependencies> |
| 219 | <!-- |
| 220 | | Mark as optional: embedded by JarJar |
| 221 | --> |
| 222 | <dependency> |
mcculls | e7511fd | 2011-05-10 16:12:59 +0000 | [diff] [blame] | 223 | <groupId>cglib</groupId> |
mcculls | 4d4e160 | 2010-11-24 21:16:07 +0000 | [diff] [blame] | 224 | <artifactId>cglib</artifactId> |
| 225 | <version>${cglib.version}</version> |
| 226 | <optional>true</optional> |
| 227 | </dependency> |
Christian Edward Gruber | 3f42514 | 2013-06-06 15:55:47 -0700 | [diff] [blame] | 228 | <dependency> |
| 229 | <groupId>org.ow2.asm</groupId> |
| 230 | <artifactId>asm-util</artifactId> |
| 231 | <version>${asm.version}</version> |
| 232 | <optional>true</optional> |
| 233 | </dependency> |
mcculls | 4d4e160 | 2010-11-24 21:16:07 +0000 | [diff] [blame] | 234 | </dependencies> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 235 | <build> |
| 236 | <plugins> |
| 237 | <plugin> |
| 238 | <groupId>org.sonatype.plugins</groupId> |
| 239 | <artifactId>jarjar-maven-plugin</artifactId> |
| 240 | <configuration> |
| 241 | <includes> |
Christian Edward Gruber | 3f42514 | 2013-06-06 15:55:47 -0700 | [diff] [blame] | 242 | <include>*:asm*</include> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 243 | <include>*:cglib</include> |
sberlin | d9c913a | 2011-06-26 21:02:54 +0000 | [diff] [blame] | 244 | <include>*:guava</include> |
| 245 | <include>*:jsr305</include> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 246 | </includes> |
| 247 | </configuration> |
| 248 | </plugin> |
| 249 | <plugin> |
mcculls | aacb484 | 2010-11-04 22:51:25 +0000 | [diff] [blame] | 250 | <!-- |
| 251 | | Package the original non-JarJar'd classes so extensions can compile against them |
| 252 | --> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 253 | <artifactId>maven-jar-plugin</artifactId> |
| 254 | <executions> |
| 255 | <execution> |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 256 | <id>no_deps</id> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 257 | <phase>package</phase> |
| 258 | <goals> |
| 259 | <goal>jar</goal> |
| 260 | </goals> |
| 261 | <configuration> |
| 262 | <classesDirectory>${project.build.directory}/original-classes</classesDirectory> |
mcculls | 692ca95 | 2010-12-10 15:05:01 +0000 | [diff] [blame] | 263 | <classifier>no_deps</classifier> |
mcculls | 8846db3 | 2010-11-04 02:22:00 +0000 | [diff] [blame] | 264 | </configuration> |
| 265 | </execution> |
| 266 | </executions> |
| 267 | </plugin> |
| 268 | </plugins> |
| 269 | </build> |
| 270 | </profile> |
| 271 | </profiles> |
| 272 | |
mcculls | bc7e150 | 2010-10-21 23:36:09 +0000 | [diff] [blame] | 273 | </project> |