Actually, I'm able to delete the jars now. But the exclude is not working
still :( My plugin configuration in pom.xml is:

<plugin>
        <artifactId>maven-clean-plugin</artifactId>
        <version>2.4.1</version>
        <executions>
                <execution>
                        <id>auto-clean</id>
                        <phase>install</phase>
                        <goals>
                                <goal>clean</goal>
                        </goals>
                        <configuration>
                                <filesets>
                                        <fileset>
                                                <directory>target</directory>
                                                <includes>
                                                        <include>*.jar</include>
                                                </includes>
                                                <excludes>
                                                        
<exclude>com.mycompany.something:ModuleA.jar</exclude>
                                                        
<exclude>com.mycompany.something:AssembledModuleB.jar</exclude>
                                                        
<exclude>com.mycompany.something:ModuleC.jar</exclude>
                                                </excludes>
                                                
<followSymlinks>false</followSymlinks>
                                        </fileset>
                                </filesets>
                        </configuration>
                </execution>
        </executions>
</plugin>

Thanks,
Zeba

--
View this message in context: 
http://maven.40175.n5.nabble.com/maven-clean-plugin-to-clean-up-dependencies-in-assembly-project-tp5600724p5600969.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