Hi,

 

I've got a start script in my project that reads

 

java -cp lib/myartefact-${pom.version}.jar ....

 

and my assembly.xml is set to filter it:

 

pom.xml

      ...

<plugin>

        <artifactId>maven-assembly-plugin</artifactId>

        <executions>

          <execution>

            <id>make-assembly</id>

            <phase>package</phase>

            <goals>

              <goal>attached</goal>

            </goals>

          </execution>

        </executions>

        <configuration>

          <descriptors>

            <descriptor>/src/main/assembly/kit.xml</descriptor>

          </descriptors>

        </configuration>

      </plugin>

...

 

Kit.xml

                ...

<fileSet>

      <directory>src/main/bin</directory>

      <outputDirectory>/</outputDirectory>

      <fileMode>755</fileMode>

      <filtered>true</filtered>                 

</fileSet>

...

 

So when I run clean install, the file gets filtered to 

 

java -cp lib/myartefact-4.4.2.jar ....

 

however i have a multi-module project:

 

parent

   +-core

   +-moduleA

   +-moduleB

 

And when I run the build from the parent my start script doesn't get
filtered!

 

Has anyone seen anything like this before?

 

Thanks,

 

Richard

 

Reply via email to