File: pom.xml

package info (click to toggle)
libspring-java 3.0.6.RELEASE-6%2Bdeb7u3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 50,504 kB
  • sloc: java: 325,411; xml: 67,956; sql: 176; makefile: 40; ruby: 33; sh: 6
file content (56 lines) | stat: -rw-r--r-- 2,042 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.springframework</groupId>
  <artifactId>spring-asm</artifactId>
  <packaging>jar</packaging>
  <version>3.0.6.RELEASE</version>
  <parent>
    <groupId>org.springframework</groupId>
    <artifactId>spring-parent</artifactId>
    <relativePath>../org.springframework.spring-parent</relativePath>
    <version>3.0.6.RELEASE</version>
  </parent>


  <build>
    <plugins>
      <plugin>
        <artifactId>maven-antrun-plugin</artifactId>
	<executions>
	  <execution>
            <id>jarjar</id>	    
	    <phase>process-classes</phase>
	    <goals>
	      <goal>run</goal> 
	    </goals>            
	    <configuration>
	      <tasks>
	        <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpathref="maven.plugin.classpath" /> 
		<jarjar jarfile="${project.build.directory}${file.separator}${project.build.finalName}-jarjar.jar">
 		  <zipfileset src="${project.build.directory}/jarjar-staging/com.springsource.org.objectweb.asm.jar"/>
		  <zipfileset src="${project.build.directory}/jarjar-staging/com.springsource.org.objectweb.asm.commons.jar"/>
   		  <rule pattern="org.objectweb.asm.**" result="org.springframework.asm.@1"/>
		</jarjar>
		<unjar src="${project.build.directory}${file.separator}${project.build.finalName}-jarjar.jar"
		       dest="${project.build.outputDirectory}">
		  <patternset>
		    <include name="**/*.class"/>
                    <exclude name="*"/>
                  </patternset>
		</unjar>
	      </tasks>
	    </configuration>
	  </execution>
	</executions>
	<dependencies>
	  <dependency>
	    <groupId>com.google.code</groupId> 
	    <artifactId>jarjar</artifactId> 
	    <version>1.0</version> 
	  </dependency>
	</dependencies>
      </plugin>
    </plugins>
  </build>
</project>