thanks for your response
ii've found that use example

<plugin>
            <artifactId>maven-assembly-plugin</artifactId>
            <version>2.2-beta-1</version>
            <executions>
               <execution>
                  <id>assemble</id>
                  <phase>install</phase>
                  <goals>
                     <goal>attached</goal>
                  </goals>
                  <configuration>
                     <descriptors>
                        <descriptor>assembly/bin.xml</descriptor>
                        <descriptor>assembly/doc.xml</descriptor>
                        <descriptor>assembly/all.xml</descriptor>
                     </descriptors>

*<finalName>${artifactId}-${jbosscache-core-version}</finalName>*
                     <outputDirectory>target/distribution</outputDirectory>
                     <workDirectory>target/assembly/work</workDirectory>
                  </configuration>
               </execution>
            </executions>
</plugin>


In my case : for each discriptor.xml i must customize the generated file :(







2008/8/8 Brett Porter <[EMAIL PROTECTED]>

> You can look at finalName (only affects the name in ./target),
> appendAssemblyId and classifier (affects the repository deployed
> artifact) in the configuration reference.
>
> http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html
>
> Cheers,
> Brett
>
> 2008/8/8 MedElb <[EMAIL PROTECTED]>:
> > Hi
> > I'm using the maven assembly plugin to generate the install pachage that
> > contain others sub package each one has his own assembly discriptor,
> > and my projetc is mutli modules!!
> >
> > my probleme now is that zip files generated gets names with
> > ${architypeName}-${version}-${assemblyId}
> >
> > how i can customize the name of the assempbly generted files,
> >
> >
> > Thanks in advance
> >
>
>
>
> --
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to