|
1 |
| -<?xml version="1.0" encoding="UTF-8"?> |
2 |
| -<!-- |
3 |
| -~ Copyright (C) 2014 the original author or authors. |
4 |
| -~ |
5 |
| -~ Licensed under the Apache License, Version 2.0 (the "License"); |
6 |
| -~ you may not use this file except in compliance with the License. |
7 |
| -~ You may obtain a copy of the License at |
8 |
| -~ |
9 |
| -~ http://www.apache.org/licenses/LICENSE-2.0 |
10 |
| -~ |
11 |
| -~ Unless required by applicable law or agreed to in writing, software |
12 |
| -~ distributed under the License is distributed on an "AS IS" BASIS, |
13 |
| -~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
14 |
| -~ See the License for the specific language governing permissions and |
15 |
| -~ limitations under the License. |
16 |
| ---> |
17 |
| -<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/xsd/maven-4.0.0.xsd"> |
18 |
| - <modelVersion>4.0.0</modelVersion> |
19 |
| - |
20 |
| - <parent> |
21 |
| - <groupId>au.net.zeus.jgdms</groupId> |
22 |
| - <artifactId>tools</artifactId> |
23 |
| - <version>3.1.1-SNAPSHOT</version> |
24 |
| - </parent> |
25 |
| - |
26 |
| - <groupId>au.net.zeus.jgdms.tools</groupId> |
27 |
| - <artifactId>classdep</artifactId> |
28 |
| - |
29 |
| - <name>Tool :: ClassDep</name> |
30 |
| - <description>Tool used to analyze a set of classes and determine on what other classes |
31 |
| - they directly or indirectly depend. Typically this tool is used to |
32 |
| - compute the necessary and sufficient set of classes to include in a JAR |
33 |
| - file, for use in the class path of a client or service, or for use in the |
34 |
| - codebase of a client or service. The tool starts with a set of "root" |
35 |
| - classes and recursively computes a dependency graph, finding all of the |
36 |
| - classes referenced directly by the root classes, finding all of the |
37 |
| - classes referenced in turn by those classes, and so on, until no new |
38 |
| - classes are found or until classes that are not of interest are |
39 |
| - found. The normal output of the tool is a list of all of the classes in |
40 |
| - the dependency graph. The output from this command can be used as input |
41 |
| - to the jar tool, to create a JAR file containing precisely |
42 |
| - those classes. |
43 |
| - </description> |
44 |
| - |
45 |
| - <dependencies> |
46 |
| - <dependency> |
47 |
| - <groupId>org.ow2.asm</groupId> |
48 |
| - <artifactId>asm</artifactId> |
49 |
| - <version>9.6</version> |
50 |
| - </dependency> |
51 |
| - <dependency> |
52 |
| - <groupId>org.ow2.asm</groupId> |
53 |
| - <artifactId>asm-commons</artifactId> |
54 |
| - <version>9.6</version> |
55 |
| - </dependency> |
56 |
| - </dependencies> |
57 |
| - |
58 |
| - <build> |
59 |
| - <plugins> |
60 |
| - <plugin> |
61 |
| - <groupId>org.apache.maven.plugins</groupId> |
62 |
| - <artifactId>maven-jar-plugin</artifactId> |
63 |
| - <configuration> |
64 |
| - <archive> |
65 |
| - <manifestEntries> |
66 |
| - <Main-Class>org.apache.river.tool.ClassDep</Main-Class> |
67 |
| - <Implementation-Version>${project.version}</Implementation-Version> |
68 |
| - <Class-Path>asm-9.2.jar asm-commons-9.2.jar</Class-Path> |
69 |
| - </manifestEntries> |
70 |
| - </archive> |
71 |
| - </configuration> |
72 |
| - </plugin> |
73 |
| - |
74 |
| - <plugin> |
75 |
| - <groupId>org.apache.maven.plugins</groupId> |
76 |
| - <artifactId>maven-source-plugin</artifactId> |
77 |
| - <executions> |
78 |
| - <execution> |
79 |
| - <id>attach-sources</id> |
80 |
| - <phase>verify</phase> |
81 |
| - <goals> |
82 |
| - <goal>jar-no-fork</goal> |
83 |
| - </goals> |
84 |
| - </execution> |
85 |
| - </executions> |
86 |
| - </plugin> |
87 |
| - <plugin> |
88 |
| - <artifactId>maven-compiler-plugin</artifactId> |
89 |
| - <configuration> |
90 |
| - <source>8</source> |
91 |
| - <profile>compact1</profile> |
92 |
| - <target>8</target> |
93 |
| - <debug>true</debug> |
94 |
| - <optimize>true</optimize> |
95 |
| - <encoding>UTF-8</encoding> |
96 |
| - <meminitial>128m</meminitial> |
97 |
| - <maxmem>1024m</maxmem> |
98 |
| - </configuration> |
99 |
| - </plugin> |
100 |
| - </plugins> |
101 |
| - </build> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | +~ Copyright (C) 2014 the original author or authors. |
| 4 | +~ |
| 5 | +~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +~ you may not use this file except in compliance with the License. |
| 7 | +~ You may obtain a copy of the License at |
| 8 | +~ |
| 9 | +~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +~ |
| 11 | +~ Unless required by applicable law or agreed to in writing, software |
| 12 | +~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +~ See the License for the specific language governing permissions and |
| 15 | +~ limitations under the License. |
| 16 | +--> |
| 17 | +<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/xsd/maven-4.0.0.xsd"> |
| 18 | + <modelVersion>4.0.0</modelVersion> |
| 19 | + |
| 20 | + <parent> |
| 21 | + <groupId>au.net.zeus.jgdms</groupId> |
| 22 | + <artifactId>tools</artifactId> |
| 23 | + <version>3.1.1-SNAPSHOT</version> |
| 24 | + </parent> |
| 25 | + |
| 26 | + <groupId>au.net.zeus.jgdms.tools</groupId> |
| 27 | + <artifactId>classdep</artifactId> |
| 28 | + |
| 29 | + <name>Tool :: ClassDep</name> |
| 30 | + <description>Tool used to analyze a set of classes and determine on what other classes |
| 31 | + they directly or indirectly depend. Typically this tool is used to |
| 32 | + compute the necessary and sufficient set of classes to include in a JAR |
| 33 | + file, for use in the class path of a client or service, or for use in the |
| 34 | + codebase of a client or service. The tool starts with a set of "root" |
| 35 | + classes and recursively computes a dependency graph, finding all of the |
| 36 | + classes referenced directly by the root classes, finding all of the |
| 37 | + classes referenced in turn by those classes, and so on, until no new |
| 38 | + classes are found or until classes that are not of interest are |
| 39 | + found. The normal output of the tool is a list of all of the classes in |
| 40 | + the dependency graph. The output from this command can be used as input |
| 41 | + to the jar tool, to create a JAR file containing precisely |
| 42 | + those classes. |
| 43 | + </description> |
| 44 | + |
| 45 | + <dependencies> |
| 46 | + <dependency> |
| 47 | + <groupId>org.ow2.asm</groupId> |
| 48 | + <artifactId>asm</artifactId> |
| 49 | + <version>9.6</version> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>org.ow2.asm</groupId> |
| 53 | + <artifactId>asm-commons</artifactId> |
| 54 | + <version>9.7</version> |
| 55 | + </dependency> |
| 56 | + </dependencies> |
| 57 | + |
| 58 | + <build> |
| 59 | + <plugins> |
| 60 | + <plugin> |
| 61 | + <groupId>org.apache.maven.plugins</groupId> |
| 62 | + <artifactId>maven-jar-plugin</artifactId> |
| 63 | + <configuration> |
| 64 | + <archive> |
| 65 | + <manifestEntries> |
| 66 | + <Main-Class>org.apache.river.tool.ClassDep</Main-Class> |
| 67 | + <Implementation-Version>${project.version}</Implementation-Version> |
| 68 | + <Class-Path>asm-9.2.jar asm-commons-9.2.jar</Class-Path> |
| 69 | + </manifestEntries> |
| 70 | + </archive> |
| 71 | + </configuration> |
| 72 | + </plugin> |
| 73 | + |
| 74 | + <plugin> |
| 75 | + <groupId>org.apache.maven.plugins</groupId> |
| 76 | + <artifactId>maven-source-plugin</artifactId> |
| 77 | + <executions> |
| 78 | + <execution> |
| 79 | + <id>attach-sources</id> |
| 80 | + <phase>verify</phase> |
| 81 | + <goals> |
| 82 | + <goal>jar-no-fork</goal> |
| 83 | + </goals> |
| 84 | + </execution> |
| 85 | + </executions> |
| 86 | + </plugin> |
| 87 | + <plugin> |
| 88 | + <artifactId>maven-compiler-plugin</artifactId> |
| 89 | + <configuration> |
| 90 | + <source>8</source> |
| 91 | + <profile>compact1</profile> |
| 92 | + <target>8</target> |
| 93 | + <debug>true</debug> |
| 94 | + <optimize>true</optimize> |
| 95 | + <encoding>UTF-8</encoding> |
| 96 | + <meminitial>128m</meminitial> |
| 97 | + <maxmem>1024m</maxmem> |
| 98 | + </configuration> |
| 99 | + </plugin> |
| 100 | + </plugins> |
| 101 | + </build> |
102 | 102 | </project>
|
0 commit comments