Maven jarsigner invalid entry compressed size
Bonsoir
Je suis en cours de migration d'un projet depuis eclipse vers maven, et au moment de la signature j'ai l'erreur suivante
Code:
1 2
|
unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 1387 but got 1407 bytes) |
Mon pom
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
roupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>signing</id>
<goals>
<goal>sign</goal>
</goals>
<phase>package</phase>
<inherited>true</inherited>
<configuration>
<archive>target/${project.build.finalName}.apk</archive>
<sigfile>CERT</sigfile>
<!-- <keystore>${project.basedir}/keystoreb.jks</keystore> -->
<keystore>c:\zpoubelle\keystoreb.jks</keystore>
<storepass>totototo</storepass>
<keypass>totototo</keypass>
<alias>totototo</alias>
<arguments>
<argument>-sigalg</argument><argument>MD5withRSA</argument>
<argument>-digestalg</argument><argument>SHA1</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
</plugin>
</plugins>
</build> |
Depuis eclipse j'arrive a signer mon application.
Ou est mon erreur ???
Merci d'avance
Phil