sorry the XML got messaged up during posting, here it is again (the snippet
from my pom.xml):

        <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
        <!-- unpacks the configuration resources -->
                        <execution>
                                <id>unpack-config</id>
                                <goals>
                                        <goal>unpack-dependencies</goal>
                                </goals>
                                <phase>generate-resources</phase>
                                <configuration>
                                
<outputDirectory>${project.build.directory}/${project.build.finalName}/WEB-INF/flex</outputDirectory>
                                        
<includeArtifacIds>config</includeArtifacIds>
                                        
<includeGroupIds>${project.groupId}</includeGroupIds>
                                        
<includeClassifiers>resources</includeClassifiers>
                                        
<excludeTransitive>true</excludeTransitive>
                                        <excludeTypes>jar</excludeTypes>
                                </configuration>
                        </execution>
        <!-- copies the flex client over -->
                        <execution>
                                <id>copy-swf</id>
                                <phase>process-classes</phase>
                                <goals>
                                        <goal>copy-dependencies</goal>
                                </goals>
                                <configuration>
                                
<outputDirectory>${project.build.directory}/${project.build.finalName}</outputDirectory>
                                        <includeTypes>swf</includeTypes>
                                </configuration>
                        </execution>
                </executions>
        </plugin>

...
...
        <dependency>
          <groupId>${project.groupId}</groupId>
          <artifactId>ria</artifactId>
          <version>1.0</version>
          <type>swf</type>
        </dependency>
        <!-- Required to include the configuration files -->
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>config</artifactId>
            <version>1.0</version>
            <classifier>resources</classifier>
            <type>zip</type>
            <scope>provided</scope>
        </dependency>
  </dependencies>
-- 
View this message in context: 
http://www.nabble.com/unpack-dependencies-problem-tp18891876p18891898.html
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