Hi,

It seems that the ${artifactId} ${version} etc...placed in the <directory>
tag
of fileset of a module set of a assembly makes a reference to the main .pom 
and not to the current module .pom.

e.g
my main .pom which defines the maven-assembly-plugin has a version = 1.0
the fractal-libraries module has a version equal to 1.0-SNAPSHOT.

<fileSet>
        <outputDirectory></outputDirectory>
        
<directory>target/fractal-libraries-${version}-distribution.dir</directory>
</fileSet>

--> the ${version} variable in the <directory> is not 1.0-SNAPSHOT but 1.0
--> if I try to put ${version} in the <outputDirectory> tag just for
testing, it works, so it is specific to the
<directory> tag.

complete moduleset section of my assembly file:
<moduleSet>
                        <includes>
                                
<include>org.objectweb.fractal.distribution:fractal-libraries</include>
                        </includes>
                        <sources>
                                
<includeModuleDirectory>false</includeModuleDirectory>
                                <excludeSubModuleDirectories>
                                        false
                                </excludeSubModuleDirectories>

                                <fileSets>
                                        <fileSet>
                                                
<outputDirectory></outputDirectory>
                                        
<directory>target/${artifactId}-${version}-distribution.dir</directory>
                                        </fileSet>
                                </fileSets>
                        </sources>
                </moduleSet>
        </moduleSets>

Is anybody aware of this behavior ? 

Yann
-- 
View this message in context: 
http://www.nabble.com/BUG-assembly-moduleSet-fileSet-directory-%24%7BartifactId%7D-%24%7BversionId%7D-tf4725431s177.html#a13510543
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to