Skip to content

Commit eb6d4ed

Browse files
committed
restructured project to multi-module
1 parent 8775bd8 commit eb6d4ed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+289
-146
lines changed

imagetool/pom.xml

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
6+
<modelVersion>4.0.0</modelVersion>
7+
8+
<artifactId>imagetool</artifactId>
9+
10+
<parent>
11+
<artifactId>imagetool-parent</artifactId>
12+
<groupId>com.oracle.weblogic.lifecycle</groupId>
13+
<version>0.1-SNAPSHOT</version>
14+
<relativePath>../pom.xml</relativePath>
15+
</parent>
16+
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>org.apache.httpcomponents</groupId>
21+
<artifactId>fluent-hc</artifactId>
22+
</dependency>
23+
<dependency>
24+
<groupId>org.apache.httpcomponents</groupId>
25+
<artifactId>httpmime</artifactId>
26+
</dependency>
27+
<dependency>
28+
<groupId>info.picocli</groupId>
29+
<artifactId>picocli</artifactId>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.json</groupId>
33+
<artifactId>json</artifactId>
34+
</dependency>
35+
<dependency>
36+
<groupId>junit</groupId>
37+
<artifactId>junit</artifactId>
38+
<scope>test</scope>
39+
</dependency>
40+
</dependencies>
41+
42+
<build>
43+
<resources>
44+
<resource>
45+
<directory>src/main/resources</directory>
46+
<filtering>true</filtering>
47+
<includes>
48+
<include>version-info.properties</include>
49+
</includes>
50+
</resource>
51+
<resource>
52+
<directory>src/main/resources</directory>
53+
<filtering>false</filtering>
54+
<excludes>
55+
<exclude>version-info.properties</exclude>
56+
</excludes>
57+
</resource>
58+
</resources>
59+
<plugins>
60+
<plugin>
61+
<groupId>org.apache.maven.plugins</groupId>
62+
<artifactId>maven-jar-plugin</artifactId>
63+
<configuration>
64+
<finalName>${project.artifactId}</finalName>
65+
<archive>
66+
<manifest>
67+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
68+
</manifest>
69+
<manifestEntries>
70+
<project-name>${project.artifactId}</project-name>
71+
<project-version>${project.version}</project-version>
72+
</manifestEntries>
73+
</archive>
74+
</configuration>
75+
</plugin>
76+
<plugin>
77+
<groupId>org.codehaus.mojo</groupId>
78+
<artifactId>exec-maven-plugin</artifactId>
79+
<executions>
80+
<execution>
81+
<id>generate-autocompletion-script</id>
82+
<phase>package</phase>
83+
<goals>
84+
<goal>exec</goal>
85+
</goals>
86+
</execution>
87+
</executions>
88+
<configuration>
89+
<executable>java</executable>
90+
<arguments>
91+
<argument>-cp</argument>
92+
<classpath/>
93+
<argument>picocli.AutoComplete</argument>
94+
<argument>--force</argument><!-- overwrite if exists -->
95+
<argument>--completionScript</argument>
96+
<argument>${project.build.directory}/imagetool_completion.sh</argument>
97+
<argument>com.oracle.weblogic.imagetool.cli.CLIDriver</argument>
98+
</arguments>
99+
</configuration>
100+
</plugin>
101+
<plugin>
102+
<groupId>org.codehaus.mojo</groupId>
103+
<artifactId>flatten-maven-plugin</artifactId>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.apache.maven.plugins</groupId>
107+
<artifactId>maven-assembly-plugin</artifactId>
108+
<executions>
109+
<execution>
110+
<id>build-zip-installer</id>
111+
<phase>package</phase>
112+
<goals>
113+
<goal>single</goal>
114+
</goals>
115+
<configuration>
116+
<descriptors>
117+
<descriptor>src/assembly/zip.xml</descriptor>
118+
</descriptors>
119+
<archiveBaseDirectory>${project.basedir}</archiveBaseDirectory>
120+
<appendAssemblyId>false</appendAssemblyId>
121+
<archiverConfig>
122+
<directoryMode>0750</directoryMode>
123+
<defaultDirectoryMode>0750</defaultDirectoryMode>
124+
<fileMode>0640</fileMode>
125+
</archiverConfig>
126+
</configuration>
127+
</execution>
128+
</executions>
129+
</plugin>
130+
</plugins>
131+
</build>
132+
</project>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)