Hi,

I am trying to generate a sar file using 'jboss-packaging-maven-plugin'
plugin and I can't exclude .class files from my sar. It is including all
classes to sar. Can you please help? Here is my code snippet:

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>jboss-packaging-maven-plugin</artifactId>
                <version>2.1.1</version>
                <extensions>true</extensions>
                <configuration>
                        <excludes>
                                <exclude>**/*.class</exclude>
                        </excludes>
                </configuration>
                <executions>
                    <execution>
                        <id>sar123</id>
                        <goals>
                            <goal>sar</goal>
                        </goals>
                        <phase>package</phase>
                        <configuration>
                            <archiveName>my-service</archiveName>
                           
<deploymentDescriptorFile>${basedir}/conf/mysarMETA-INF/jboss-service.xml</deploymentDescriptorFile>
                            <primaryArtifact>false</primaryArtifact>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

Thanks
-- 
View this message in context: 
http://old.nabble.com/Unable-to-exclude-.class-files-tp27782829p27782829.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to