Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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 … L

 

Do you have any idea to correct this ???

Thank you

 

Christelle


Back to the top