[ https://issues.apache.org/jira/browse/WW-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-3413. ------------------------------- Resolution: Fixed Solved, thanks for reporting! > struts2-archetype-blank application pom.xml modifucations > --------------------------------------------------------- > > Key: WW-3413 > URL: https://issues.apache.org/jira/browse/WW-3413 > Project: Struts 2 > Issue Type: Bug > Components: Example Applications > Affects Versions: 2.1.8.1 > Environment: Maven2 > Reporter: Oleg Mikheev > Assignee: Lukasz Lenart > Fix For: 2.3.3 > > > The pom.xml that is produced by running > mvn archetype:generate -B -DgroupId=tutorial > -DartifactId=tutorial > -DarchetypeGroupId=org.apache.struts > -DarchetypeArtifactId=struts2-archetype-blank > -DarchetypeCatalog=http://people.apache.org/builds/struts/2.1.8.1/m2-staging-repository/ > probably has two things than need to be modified. > First of all two dependencies can be safely removed from it: > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-mock</artifactId> > <version>2.0.8</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.springframework</groupId> > <artifactId>spring-core</artifactId> > <version>2.5</version> > <scope>test</scope> > </dependency> > Second, test scope should be added to the struts2-junit-plugin so that is > won't get deployed: > <dependency> > <groupId>org.apache.struts</groupId> > <artifactId>struts2-junit-plugin</artifactId> > <version>${struts2.version}</version> > *<scope>test</scope>* > </dependency> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira