|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 |
| -<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
3 |
| - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
4 |
| - <parent> |
5 |
| - <artifactId>javase</artifactId> |
6 |
| - <groupId>cn.edu.ntu.java</groupId> |
7 |
| - <version>1.0-SNAPSHOT</version> |
8 |
| - </parent> |
9 |
| - <modelVersion>4.0.0</modelVersion> |
10 |
| - <artifactId>javase-agent</artifactId> |
11 |
| - <build> |
12 |
| - <plugins> |
13 |
| - <plugin> |
14 |
| - <artifactId>maven-jar-plugin</artifactId> |
15 |
| - <version>3.1.2</version> |
16 |
| - <configuration> |
17 |
| - <archive> |
18 |
| - <manifestEntries> |
19 |
| - <project-name>${project.name}</project-name> |
20 |
| - <project-version>${project.version}</project-version> |
21 |
| - <Premain-Class>cn.edu.ntu.javase.agent.IntegrationAgent</Premain-Class> |
22 |
| - <Can-Redefine-Classes>true</Can-Redefine-Classes> |
23 |
| - <Can-Retransform-Classes>true</Can-Retransform-Classes> |
24 |
| - <Boot-Class-Path>javassist-3.27.0-GA.jar</Boot-Class-Path> |
25 |
| - </manifestEntries> |
26 |
| - </archive> |
27 |
| - <skip>true</skip> |
28 |
| - </configuration> |
29 |
| - </plugin> |
30 |
| - <plugin> |
31 |
| - <artifactId>maven-shade-plugin</artifactId> |
32 |
| - <executions> |
33 |
| - <execution> |
34 |
| - <phase>package</phase> |
35 |
| - <goals> |
36 |
| - <goal>shade</goal> |
37 |
| - </goals> |
38 |
| - <configuration> |
39 |
| - <transformers> |
40 |
| - <transformer/> |
41 |
| - </transformers> |
42 |
| - </configuration> |
43 |
| - </execution> |
44 |
| - </executions> |
45 |
| - </plugin> |
46 |
| - </plugins> |
47 |
| - </build> |
48 |
| - <dependencies> |
49 |
| - <dependency> |
50 |
| - <groupId>org.eclipse.jetty.aggregate</groupId> |
51 |
| - <artifactId>jetty-all</artifactId> |
52 |
| - <version>9.2.11.v20150529</version> |
53 |
| - <scope>test</scope> |
54 |
| - <exclusions> |
55 |
| - <exclusion> |
56 |
| - <artifactId>javax.websocket-api</artifactId> |
57 |
| - <groupId>javax.websocket</groupId> |
58 |
| - </exclusion> |
59 |
| - </exclusions> |
60 |
| - </dependency> |
61 |
| - </dependencies> |
| 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 | + <parent> |
| 4 | + <artifactId>javase</artifactId> |
| 5 | + <groupId>cn.edu.ntu.java</groupId> |
| 6 | + <version>1.0-SNAPSHOT</version> |
| 7 | + </parent> |
| 8 | + <modelVersion>4.0.0</modelVersion> |
| 9 | + <artifactId>javase-agent</artifactId> |
| 10 | + <build> |
| 11 | + <plugins> |
| 12 | + <plugin> |
| 13 | + <artifactId>maven-jar-plugin</artifactId> |
| 14 | + <version>3.1.2</version> |
| 15 | + <configuration> |
| 16 | + <archive> |
| 17 | + <manifestEntries> |
| 18 | + <project-name>${project.name}</project-name> |
| 19 | + <project-version>${project.version}</project-version> |
| 20 | + <Premain-Class>cn.edu.ntu.java.javase.agent.IntegrationAgent</Premain-Class> |
| 21 | + <Can-Redefine-Classes>true</Can-Redefine-Classes> |
| 22 | + <Can-Retransform-Classes>true</Can-Retransform-Classes> |
| 23 | + <Boot-Class-Path>javassist-3.27.0-GA.jar</Boot-Class-Path> |
| 24 | + </manifestEntries> |
| 25 | + </archive> |
| 26 | + <skip>true</skip> |
| 27 | + </configuration> |
| 28 | + </plugin> |
| 29 | + <plugin> |
| 30 | + <artifactId>maven-shade-plugin</artifactId> |
| 31 | + <executions> |
| 32 | + <execution> |
| 33 | + <phase>package</phase> |
| 34 | + <goals> |
| 35 | + <goal>shade</goal> |
| 36 | + </goals> |
| 37 | + <configuration> |
| 38 | + <transformers> |
| 39 | + <transformer /> |
| 40 | + </transformers> |
| 41 | + </configuration> |
| 42 | + </execution> |
| 43 | + </executions> |
| 44 | + </plugin> |
| 45 | + </plugins> |
| 46 | + </build> |
| 47 | + <dependencies> |
| 48 | + <dependency> |
| 49 | + <groupId>org.eclipse.jetty.aggregate</groupId> |
| 50 | + <artifactId>jetty-all</artifactId> |
| 51 | + <version>9.2.11.v20150529</version> |
| 52 | + <scope>test</scope> |
| 53 | + <exclusions> |
| 54 | + <exclusion> |
| 55 | + <artifactId>javax.websocket-api</artifactId> |
| 56 | + <groupId>javax.websocket</groupId> |
| 57 | + </exclusion> |
| 58 | + </exclusions> |
| 59 | + </dependency> |
| 60 | + </dependencies> |
62 | 61 | </project>
|
0 commit comments