The exclusion part should be in the appfuse-${dao.framework} dependency for both basic and mudular archetypes, the document needs some update :
<dependency> <groupId>org.appfuse</groupId> <artifactId>appfuse-${dao.framework}</artifactId> <version>${appfuse.version}</version> <exclusions> <exclusion> <groupId>org.appfuse</groupId> <artifactId>appfuse-data-common</artifactId> </exclusion> </exclusions> </dependency> And you should delete appfuse-data-common*.jar from "src\main\webapp\WEB-INF\lib", not "target". hanqiao wrote: > > When I want to "Exclude the AppFuse Data Common Package" > > > > According to the instruction from --- > > http://www.appfuse.org/display/APF/AppFuse+Core+Classes > > I modified my pom.xml into the content follows: > > <dependency> > > <groupId>org.appfuse</groupId> > > <artifactId>appfuse-${web.framework}</artifactId> > > <version>${appfuse.version}</version> > > <type>warpath</type> > > <exclusions> > > <exclusion> > > <groupId>org.appfuse</groupId> > > <artifactId>appfuse-data-common</artifactId> > > </exclusion> > > </exclusions> > > </dependency> > > > And I manually delete the appfuse-data-common-2.0-m4.jar in the folder > > ../target/af2_06-1.0-SNAPSHOT/WEB-INF/lib > > But when I run > > Mvn package > > The jar -- appfuse-data-common-2.0-m4.jar will be in that folder again. > > Appreciate for any suggestion ;-) > > Thanks a lot !!! > > ------- > > chinohan > > > -- View this message in context: http://www.nabble.com/a-problem-when-i-want-to-----Exclude-the-AppFuse-Data-Common-Package-tf3665011s2369.html#a10247460 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]