|
24 | 24 | <properties>
|
25 | 25 | <findbugs.onlyAnalyze>org.apache.ibatis.*</findbugs.onlyAnalyze>
|
26 | 26 | <clirr.comparisonVersion>3.0.2</clirr.comparisonVersion>
|
27 |
| - <osgi.import>!net.sf.cglib.proxy,!org.apache.commons.logging,!org.apache.log4j,!org.slf4j,*</osgi.import> |
| 27 | + <osgi.import>net.sf.cglib.proxy;resolution:=optional,org.apache.commons.logging;resolution:=optional,org.apache.log4j;resolution:=optional,org.slf4j;resolution:=optional,javax.naming,javax.sql,javax.xml.namespace,javax.xml.parsers,javax.xml.xpath,org.w3c.dom,org.xml.sax</osgi.import> |
28 | 28 | </properties>
|
29 | 29 | <reporting>
|
30 | 30 | <plugins>
|
|
43 | 43 | </reporting>
|
44 | 44 | <build>
|
45 | 45 | <plugins>
|
46 |
| - <plugin> |
47 |
| - <groupId>org.sonatype.plugins</groupId> |
48 |
| - <artifactId>jarjar-maven-plugin</artifactId> |
49 |
| - <version>1.3</version> |
50 |
| - <configuration> |
51 |
| - <includes> |
52 |
| - <include>*:asm</include> |
53 |
| - <include>*:cglib</include> |
54 |
| - </includes> |
55 |
| - <rules> |
56 |
| - <!-- |
57 |
| - | relocate CGLIB + ASM as internal stuff |
58 |
| - --> |
59 |
| - <rule> |
60 |
| - <pattern>net.sf.cglib.*</pattern> |
61 |
| - <result>org.apache.ibatis.internal.cglib.$@1</result> |
62 |
| - </rule> |
63 |
| - <rule> |
64 |
| - <pattern>net.sf.cglib.**.*</pattern> |
65 |
| - <result>org.apache.ibatis.internal.cglib.@1.$@2</result> |
66 |
| - </rule> |
67 |
| - <rule> |
68 |
| - <pattern>org.objectweb.asm.*</pattern> |
69 |
| - <result>org.apache.ibatis.internal.asm.$@1</result> |
70 |
| - </rule> |
71 |
| - <rule> |
72 |
| - <pattern>org.objectweb.asm.**.*</pattern> |
73 |
| - <result>org.apache.ibatis.internal.asm.@1.$@2</result> |
74 |
| - </rule> |
75 |
| - <!-- |
76 |
| - | keep original source |
77 |
| - --> |
78 |
| - <keep> |
79 |
| - <pattern>org.apache.ibatis.**</pattern> |
80 |
| - </keep> |
81 |
| - <!-- |
82 |
| - | keep test source |
83 |
| - --> |
84 |
| - <keep> |
85 |
| - <pattern>com.**</pattern> |
86 |
| - </keep> |
87 |
| - <keep> |
88 |
| - <pattern>databases.**</pattern> |
89 |
| - </keep> |
90 |
| - <keep> |
91 |
| - <pattern>domain.**</pattern> |
92 |
| - </keep> |
93 |
| - </rules> |
94 |
| - </configuration> |
95 |
| - <!-- |
96 |
| - | JarJar all classes before running tests |
97 |
| - --> |
98 |
| - <executions> |
99 |
| - <execution> |
100 |
| - <id>jarjar-classes</id> |
101 |
| - <phase>process-test-classes</phase> |
102 |
| - <goals> |
103 |
| - <goal>jarjar</goal> |
104 |
| - </goals> |
105 |
| - <configuration> |
106 |
| - <input>{classes}</input> |
107 |
| - </configuration> |
108 |
| - </execution> |
109 |
| - <execution> |
110 |
| - <id>jarjar-test-classes</id> |
111 |
| - <phase>process-test-classes</phase> |
112 |
| - <goals> |
113 |
| - <goal>jarjar</goal> |
114 |
| - </goals> |
115 |
| - <configuration> |
116 |
| - <input>{test-classes}</input> |
117 |
| - </configuration> |
118 |
| - </execution> |
119 |
| - </executions> |
120 |
| - </plugin> |
121 | 46 | <plugin>
|
122 | 47 | <groupId>org.apache.maven.plugins</groupId>
|
123 | 48 | <artifactId>maven-assembly-plugin</artifactId>
|
|
282 | 207 | <optional>true</optional>
|
283 | 208 | </dependency>
|
284 | 209 | <dependency>
|
285 |
| - <groupId>org.sonatype.sisu.inject</groupId> |
| 210 | + <groupId>cglib</groupId> |
286 | 211 | <artifactId>cglib</artifactId>
|
287 |
| - <version>2.2.1</version> |
288 |
| - <scope>provided</scope> |
| 212 | + <version>2.1_3</version> |
| 213 | + <optional>true</optional> |
289 | 214 | </dependency>
|
290 | 215 | <!-- Test dependencies -->
|
291 | 216 | <dependency>
|
292 | 217 | <groupId>junit</groupId>
|
293 | 218 | <artifactId>junit</artifactId>
|
294 |
| - <version>4.3.1</version> |
| 219 | + <version>4.8.2</version> |
295 | 220 | <scope>test</scope>
|
296 | 221 | </dependency>
|
297 | 222 | <dependency>
|
|
0 commit comments