You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/04/10 21:17:13 UTC

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

    [ https://issues.apache.org/jira/browse/WW-3413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250972#comment-13250972 ] 

Hudson commented on WW-3413:
----------------------------

Integrated in Struts2 #451 (See [https://builds.apache.org/job/Struts2/451/])
    WW-3413 removes unneeded dependencies (Revision 1311903)

     Result = SUCCESS
lukaszlenart : 
Files : 
* /struts/struts2/trunk/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml

                
> 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