|
14 | 14 | <packaging>jar</packaging> |
15 | 15 | <name>Code Engine Examples</name> |
16 | 16 |
|
| 17 | + <properties> |
| 18 | + <maven.javadoc.skip>true</maven.javadoc.skip> |
| 19 | + <!-- Skip Maven deployment --> |
| 20 | + <maven.deploy.skip>true</maven.deploy.skip> |
| 21 | + <skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo> |
| 22 | + </properties> |
| 23 | + |
17 | 24 | <dependencies> |
18 | 25 | <dependency> |
19 | 26 | <groupId>com.ibm.cloud</groupId> |
|
36 | 43 | </dependency> |
37 | 44 | </dependencies> |
38 | 45 |
|
39 | | - <properties> |
40 | | - <maven.javadoc.skip>true</maven.javadoc.skip> |
41 | | - </properties> |
42 | 46 | <build> |
43 | | - <plugins> |
44 | | - <plugin> |
45 | | - <groupId>org.apache.maven.plugins</groupId> |
46 | | - <artifactId>maven-shade-plugin</artifactId> |
47 | | - <executions> |
48 | | - <execution> |
49 | | - <phase>package</phase> |
50 | | - <goals> |
51 | | - <goal>shade</goal> |
52 | | - </goals> |
| 47 | + <plugins> |
| 48 | + <plugin> |
| 49 | + <groupId>org.apache.maven.plugins</groupId> |
| 50 | + <artifactId>maven-shade-plugin</artifactId> |
| 51 | + </plugin> |
| 52 | + <plugin> |
| 53 | + <groupId>org.apache.maven.plugins</groupId> |
| 54 | + <artifactId>maven-jar-plugin</artifactId> |
53 | 55 | <configuration> |
54 | | - <minimizeJar>true</minimizeJar> |
55 | | - <filters> |
56 | | - <filter> |
57 | | - <artifact>*:*</artifact> |
58 | | - <excludes> |
59 | | - <exclude>META-INF/*.SF</exclude> |
60 | | - <exclude>META-INF/*.DSA</exclude> |
61 | | - <exclude>META-INF/*.RSA</exclude> |
62 | | - </excludes> |
63 | | - </filter> |
64 | | - </filters> |
| 56 | + <archive> |
| 57 | + <manifest> |
| 58 | + <addClasspath>true</addClasspath> |
| 59 | + <mainClass>com.ibm.cloud.code_engine.ibm_cloud_code_engine.v1.IbmCloudCodeEngineExamples</mainClass> |
| 60 | + </manifest> |
| 61 | + </archive> |
65 | 62 | </configuration> |
66 | | - </execution> |
67 | | - </executions> |
68 | | - </plugin> |
69 | | - <plugin> |
70 | | - <!-- Build an executable JAR --> |
71 | | - <groupId>org.apache.maven.plugins</groupId> |
72 | | - <artifactId>maven-jar-plugin</artifactId> |
73 | | - <configuration> |
74 | | - <archive> |
75 | | - <manifest> |
76 | | - <addClasspath>true</addClasspath> |
77 | | - <mainClass>com.ibm.cloud.code_engine.ibm_cloud_code_engine.v1.IbmCloudCodeEngineExamples</mainClass> |
78 | | - </manifest> |
79 | | - </archive> |
80 | | - </configuration> |
81 | | - |
82 | | - </plugin> |
83 | | - <!-- No need to deploy this artifact --> |
84 | | - <plugin> |
85 | | - <groupId>com.carrotgarden.maven</groupId> |
86 | | - <artifactId>bintray-maven-plugin</artifactId> |
87 | | - <configuration> |
88 | | - <skip>true</skip> |
89 | | - </configuration> |
90 | | - </plugin> |
91 | | - </plugins> |
92 | | -</build> |
| 63 | + </plugin> |
| 64 | + </plugins> |
| 65 | + </build> |
93 | 66 |
|
94 | 67 | <developers> |
95 | 68 | <developer> |
|
0 commit comments