[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Maven assembly issue
|
I upgraded for 2.5.4 and nothing change !
Where do I change the version ? perhaps I miss something ....
I've a zip.xml like this where I upgraded the version :
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.5.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.5.4 http://maven.apache.org/xsd/assembly-2.5.4.xsd">
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>..\Maven_EclipseSite\target\products\ll.mcu.product.package\${prop.os}\${prop.ws}\${prop.arch}</directory>
<outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
</assembly>
But I've no version into my pom:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>Maven_Zip</artifactId>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>zip</id>
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptor>src/assembly/zip.xml</descriptor>
<finalName>SystemWorkbench${prop.os}${prop.arch}</finalName>
<archiverConfig>
<encoding>UTF-8</encoding>
</archiverConfig>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<groupId>com.st.system.workbench</groupId>
<version>1.8.0-SNAPSHOT</version>
<packaging>pom</packaging>
</project>
-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of SCHREIBER.Martin
Sent: Wednesday, March 23, 2016 2:03 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] Maven assembly issue
Hi,
is 1.1.2 and 1.1.3 the versions oft he maven assembly plugin? That seems to be very old, the issues I mentioned have been fixed in version 2.5.4 Take a look at the comment [1] might help you as well.
[1] https://issues.apache.org/jira/browse/MASSEMBLY-543?focusedCommentId=14425522&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14425522
-martin
-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Christelle BURGUERA
Gesendet: Mittwoch, 23. März 2016 13:18
An: Tycho user list
Betreff: Re: [tycho-user] Maven assembly issue
Hi Martin Schreiber and Marin Weber :) ,
I'm with 1.1.2 version, but I tried with 1.1.3 for the same result ...
I tried to add encodinf UTF-8 and I obtain : 1986ве1т.cfg
Christelle
-----Original Message-----
From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of SCHREIBER.Martin
Sent: Wednesday, March 23, 2016 9:39 AM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] Maven assembly issue
Hi Christelle,
that’s related to the maven-assembly-plugin and not to Tycho but anyway, what version of the maven-assembly-plugin are you using?
There are related issues in older versions of maven-assembly-plugins where filename within the ZIP gets garbled:
https://issues.apache.org/jira/browse/MASSEMBLY-543
https://issues.apache.org/jira/browse/MASSEMBLY-748
hth
martin
Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Christelle BURGUERA
Gesendet: Mittwoch, 23. März 2016 08:46
An: Tycho user list
Betreff: [tycho-user] Maven assembly issue
Hello,
I use maven-assembly-plugin to create a zip and a tar.gz.
Here my pom :
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>Maven_Zip</artifactId>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>zip</id>
<phase>install</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptor>src/assembly/zip.xml</descriptor>
<finalName>SystemWorkbench${prop.os}${prop.arch}</finalName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<groupId>com.st.system.workbench</groupId>
<version>1.8.0-SNAPSHOT</version>
<packaging>pom</packaging>
</project>
And here my zip.xml :
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<formats>
<format>zip</format>
<format>tar.bz2</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>..\Maven_EclipseSite\target\products\bla.mcu.product.package\${prop.os}\${prop.ws}\${prop.arch}</directory>
<outputDirectory>/</outputDirectory>
</fileSet>
</fileSets>
</assembly>
Seems to be simple …
I’ve an issue, I’ve a file named “1986ве1т.cfg” and after the zip the name file is 1986??1?.cfg … ☹
Do you have any idea to correct this ???
Thank you
Christelle
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user