|
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | 3 |
|
4 | 4 | <parent> |
5 | | - <groupId>com.github.joschi.openapi-diff</groupId> |
6 | | - <artifactId>parent</artifactId> |
| 5 | + <groupId>org.openapitools.openapidiff</groupId> |
| 6 | + <artifactId>openapi-diff-parent</artifactId> |
7 | 7 | <version>2.0.0-SNAPSHOT</version> |
8 | 8 | </parent> |
9 | 9 |
|
10 | | - <artifactId>cli</artifactId> |
| 10 | + <artifactId>openapi-diff-cli</artifactId> |
11 | 11 | <packaging>jar</packaging> |
12 | 12 |
|
13 | 13 | <name>openapi-diff-cli</name> |
14 | 14 | <description>CLI for openapi-diff</description> |
15 | 15 |
|
16 | 16 | <dependencies> |
17 | 17 | <dependency> |
18 | | - <groupId>com.github.joschi.openapi-diff</groupId> |
19 | | - <artifactId>core</artifactId> |
20 | | - <version>2.0.0-SNAPSHOT</version> |
| 18 | + <groupId>org.openapitools.openapidiff</groupId> |
| 19 | + <artifactId>openapi-diff-core</artifactId> |
21 | 20 | </dependency> |
22 | 21 | <dependency> |
23 | 22 | <groupId>commons-cli</groupId> |
|
40 | 39 | <plugins> |
41 | 40 | <plugin> |
42 | 41 | <groupId>org.apache.maven.plugins</groupId> |
43 | | - <artifactId>maven-assembly-plugin</artifactId> |
44 | | - <configuration> |
45 | | - <descriptorRefs> |
46 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
47 | | - </descriptorRefs> |
48 | | - <archive> |
49 | | - <manifest> |
50 | | - <mainClass>com.qdesrame.openapi.diff.cli.Main</mainClass> |
51 | | - </manifest> |
52 | | - </archive> |
53 | | - <finalName>openapi-diff</finalName> |
54 | | - </configuration> |
| 42 | + <artifactId>maven-shade-plugin</artifactId> |
55 | 43 | <executions> |
56 | 44 | <execution> |
57 | | - <id>make-assembly</id> |
58 | 45 | <phase>package</phase> |
59 | 46 | <goals> |
60 | | - <goal>single</goal> |
| 47 | + <goal>shade</goal> |
61 | 48 | </goals> |
| 49 | + <configuration> |
| 50 | + <createDependencyReducedPom>false</createDependencyReducedPom> |
| 51 | + <shadedArtifactAttached>true</shadedArtifactAttached> |
| 52 | + <shadedClassifierName>all</shadedClassifierName> |
| 53 | + <transformers> |
| 54 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> |
| 55 | + <mainClass>com.qdesrame.openapi.diff.cli.Main</mainClass> |
| 56 | + </transformer> |
| 57 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> |
| 58 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"/> |
| 59 | + <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer"/> |
| 60 | + </transformers> |
| 61 | + </configuration> |
62 | 62 | </execution> |
63 | 63 | </executions> |
64 | 64 | </plugin> |
|
0 commit comments