Skip to content

Commit 3ce1586

Browse files
Jira wdt 400 version file in zip file (#592)
* Fix java.lang.Boolean issues for ActiveDirectoryAuthenticator * add version file to zip * inherit plugin version from parent pom plugin management
1 parent 6f49a5d commit 3ce1586

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed

installer/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,28 @@
7272
</execution>
7373
</executions>
7474
</plugin>
75+
<plugin>
76+
<artifactId>maven-resources-plugin</artifactId>
77+
<executions>
78+
<execution>
79+
<id>copy-resources</id>
80+
<!-- here the phase you need -->
81+
<phase>prepare-package</phase>
82+
<goals>
83+
<goal>copy-resources</goal>
84+
</goals>
85+
<configuration>
86+
<outputDirectory>${basedir}/target/classes</outputDirectory>
87+
<resources>
88+
<resource>
89+
<directory>src/main/resources</directory>
90+
<filtering>true</filtering>
91+
</resource>
92+
</resources>
93+
</configuration>
94+
</execution>
95+
</executions>
96+
</plugin>
7597
</plugins>
7698
</build>
7799
</project>

installer/src/assembly/zip.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@
7575
<include>LICENSE.txt</include>
7676
</includes>
7777
</fileSet>
78+
79+
<fileSet>
80+
<directory>${basedir}/target/classes</directory>
81+
<outputDirectory>.</outputDirectory>
82+
<includes>
83+
<include>VERSION.txt</include>
84+
</includes>
85+
</fileSet>
7886
</fileSets>
7987

8088
<dependencySets>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
WebLogic Deploy Tooling ${project.version}

0 commit comments

Comments
 (0)