You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Updated) (JIRA)" <ji...@apache.org> on 2012/04/10 11:25:19 UTC

[jira] [Updated] (WW-3413) struts2-archetype-blank application pom.xml modifucations

     [ https://issues.apache.org/jira/browse/WW-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-3413:
------------------------------

    Fix Version/s:     (was: 2.3.x)
                   2.3.3
    
> 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
>             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