You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Martin Gainty <mg...@hotmail.com> on 2009/02/22 15:11:19 UTC

RE: Update 2.0.x to 2.1.6

Juergen-

I would place the plugin details in a profile in your projects pom.xml which will be activated later on
    <profiles>
        <profile>
            <id>dojo211</id>
            <build>
             <plugins>
                    <plugin>
                      <groupId>org.apache.struts</groupId>
                      <artifactId>struts2-dojo-plugin</artifactId>
                      <version>2.1.1</version>
                    </plugin>
             </plugins>
            </build>
        </profile>
    </profiles>

and then to activate by mvn utility
mvn groupId:artifactId:goal -P dojo211

http://maven.apache.org/guides/introduction/introduction-to-profiles.html
Mit freundlichen Grüßen
Martin 
______________________________________________ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. 




> From: Juergen.Leeb@bmw.de
> To: user@struts.apache.org
> Date: Thu, 22 Jan 2009 09:24:55 +0100
> Subject: Update 2.0.x to 2.1.6
> 
> Hello,
> 
> i want to update to 2.1.6. I use Dojo. In the migration guide is written that you should Add the Dojo plugin as a new dependency for your project.
> 
> <dependency>
>         <groupId>org.apache.struts</groupId>
>         <artifactId>struts2-dojo-plugin</artifactId>
>         <version>2.1.1</version>
>     </dependency>
> 
> 
> But where to put this?
> 

_________________________________________________________________
Windows Live™: Discover 10 secrets about the new Windows Live.  
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!7540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009

Re: Update 2.0.x to 2.1.6

Posted by Gordian Yuan <go...@gmail.com>.
Hi, Juergen

you can just put struts2-dojo-plugin.jar to your WEB-INF/lib if you dont use
maven

Gordian

On Sun, Feb 22, 2009 at 10:11 PM, Martin Gainty <mg...@hotmail.com> wrote:

>
> Juergen-
>
> I would place the plugin details in a profile in your projects pom.xml
> which will be activated later on
>    <profiles>
>        <profile>
>            <id>dojo211</id>
>            <build>
>             <plugins>
>                    <plugin>
>                       <groupId>org.apache.struts</groupId>
>                      <artifactId>struts2-dojo-plugin</artifactId>
>                      <version>2.1.1</version>
>                     </plugin>
>             </plugins>
>            </build>
>        </profile>
>    </profiles>
>
> and then to activate by mvn utility
> mvn groupId:artifactId:goal -P dojo211
>
> http://maven.apache.org/guides/introduction/introduction-to-profiles.html
> Mit freundlichen Grüßen
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>
>
> > From: Juergen.Leeb@bmw.de
> > To: user@struts.apache.org
> > Date: Thu, 22 Jan 2009 09:24:55 +0100
> > Subject: Update 2.0.x to 2.1.6
> >
> > Hello,
> >
> > i want to update to 2.1.6. I use Dojo. In the migration guide is written
> that you should Add the Dojo plugin as a new dependency for your project.
> >
> > <dependency>
> >         <groupId>org.apache.struts</groupId>
> >         <artifactId>struts2-dojo-plugin</artifactId>
> >         <version>2.1.1</version>
> >     </dependency>
> >
> >
> > But where to put this?
> >
>
> _________________________________________________________________
> Windows Live™: Discover 10 secrets about the new Windows Live.
>
> http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!7540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009<http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns%21550F681DAD532637%217540.entry?ocid=TXT_TAGLM_WL_t2_ugc_post_022009>