Skip to content
Commits on Source (2)
......@@ -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>
......
......@@ -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);
......