Skip to content
GitLab
Explore
Sign in
Register
Gaël Lalire
Jar Exploder Plugin
Compare revisions
c82d62e3e5d9c4e4f913a61dc431f88f0e11c27e to bf843b53e66cbfca372c6353f45b309527ac05df
Commits on Source (2)
keep exploded-assembly.properties in target
· 98505c41
Gaël Lalire
authored
Nov 01, 2021
98505c41
[maven-release-plugin] prepare release jar_exploder_plugin-1.0.1
· bf843b53
Gaël Lalire
authored
Nov 01, 2021
bf843b53
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
bf843b53
...
...
@@ -2,7 +2,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fr.gaellalire
</groupId>
<artifactId>
jar_exploder_plugin
</artifactId>
<version>
1.0.1
-SNAPSHOT
</version>
<version>
1.0.1
</version>
<packaging>
maven-plugin
</packaging>
<name>
Jar Exploder Plugin
</name>
<build>
...
...
@@ -222,7 +222,7 @@
<scm>
<connection>
scm:git:git@gaellalire.fr:gaellalire/jar_exploder_plugin.git
</connection>
<developerConnection>
scm:git:git@gaellalire.fr:gaellalire/jar_exploder_plugin.git
</developerConnection>
<tag>
HEAD
</tag>
<tag>
jar_exploder_plugin-1.0.1
</tag>
</scm>
<reporting>
<plugins>
...
...
src/main/java/fr/gaellalire/jar_exploder_plugin/JarExploderMojo.java
View file @
bf843b53
...
...
@@ -197,7 +197,7 @@ public class JarExploderMojo extends AbstractMojo {
}
// add our property file (space lost !!!)
File
explodedAssemblyFile
=
new
File
(
"exploded-assembly.properties"
);
File
explodedAssemblyFile
=
new
File
(
project
.
getBuild
().
getDirectory
(),
"exploded-assembly.properties"
);
properties
.
store
(
new
FileOutputStream
(
explodedAssemblyFile
),
null
);
zos
.
putArchiveEntry
(
new
ZipArchiveEntry
(
explodedAssemblyFile
,
"META-INF/exploded-assembly.properties"
));
IOUtils
.
copy
(
new
FileInputStream
(
explodedAssemblyFile
),
zos
);
...
...