Re: Maven Tomcat 7 plugin - changing war name

2011-11-23 Thread Will Glass-Husain
Ahh, I didn't specify "target".  Shouldn''t it be assumed?  When  build the
war, it automatically goes there.

WILL

On Wed, Nov 23, 2011 at 3:33 AM, Hodchenkov, Paul <
paul.hodchen...@oxagile.com> wrote:

> Hi,
> warFile in tomcat7 plugin wokrs for me:
>
>
>org.apache.tomcat.maven
>tomcat7-maven-plugin
>2.0-SNAPSHOT
>
> target/app-qa.war
>/
>true
>
>
>
> -Original Message-
> From: Will Glass-Husain [mailto:wglasshus...@gmail.com]
> Sent: Tuesday, November 22, 2011 10:03 PM
> To: Tomcat Users List
> Subject: Maven Tomcat 7 plugin - changing war name
>
> Hi,
>
> I'm struggling to get the tomcat7 plugin to work.  I want to change the
> name of the war file.  When I call
>
> mvn tomcat7:deploy-only
>
> It looks for war file   XXX-YYY.war, where XXX is the artifactId and YYY is
> the version name.
>
> I'd rather use a different, simpler WAR file name "myapp".  It's used
> elsewhere in the site.  But neither of these two things changes the war
> name that the plugin is looking for.
>
> 
>simulate
> 
>
> ...
>
> 
>  org.apache.tomcat.maven
>  tomcat7-maven-plugin
>  2.0-SNAPSHOT
>  
>myapp.war
>/myapp
>  
> 
>
> Any suggestions?  Or is this just not yet implemented.
>
> WILL
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


RE: Maven Tomcat 7 plugin - changing war name

2011-11-23 Thread Hodchenkov, Paul
Hi,
warFile in tomcat7 plugin wokrs for me:


org.apache.tomcat.maven
tomcat7-maven-plugin
2.0-SNAPSHOT

target/app-qa.war
/
true



-Original Message-
From: Will Glass-Husain [mailto:wglasshus...@gmail.com] 
Sent: Tuesday, November 22, 2011 10:03 PM
To: Tomcat Users List
Subject: Maven Tomcat 7 plugin - changing war name

Hi,

I'm struggling to get the tomcat7 plugin to work.  I want to change the
name of the war file.  When I call

mvn tomcat7:deploy-only

It looks for war file   XXX-YYY.war, where XXX is the artifactId and YYY is
the version name.

I'd rather use a different, simpler WAR file name "myapp".  It's used
elsewhere in the site.  But neither of these two things changes the war
name that the plugin is looking for.


simulate


...


  org.apache.tomcat.maven
  tomcat7-maven-plugin
  2.0-SNAPSHOT
  
myapp.war
/myapp
  


Any suggestions?  Or is this just not yet implemented.

WILL

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Maven Tomcat 7 plugin - changing war name

2011-11-22 Thread Will Glass-Husain
Thanks for the quick response.  I wasn't initially sure of the status (the
original Maven plugin doesn't work with Tomcat 7, so this is definitely
needed.  Now I see it's under development.

I'll file an issue.

WILL

On Tue, Nov 22, 2011 at 1:50 PM, Olivier Lamy  wrote:

> yep, not done yet :-)
>
> It's a bit weird issue as the plugin use the project artifact  (i.e.
> ${project.artifact} as mojo parameter expression which should point to
> the war artifact of your project ).
>
> Can you load an issue ? (I probably won't have time before end of the
> week to have a look).
>
>
> 2011/11/22 Christopher Schultz :
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Will,
> >
> > On 11/22/11 2:02 PM, Will Glass-Husain wrote:
> >> I'm struggling to get the tomcat7 plugin to work.
> >
> > I'm pretty sure that's still under development, so YMMV right now.
> >
> > Stick around and I'm sure you'll get a better answer from Olivier.
> >
> > I just didn't want you to beat your head against a wall for a while if
> > the answer was going to be "yep, not done yet" or something like that.
> >
> > Can you limp-along with the XXX-YYY.war for now?
> >
> > - -chris
> > -BEGIN PGP SIGNATURE-
> > Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> > Comment: GPGTools - http://gpgtools.org
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> >
> > iEYEARECAAYFAk7ME8UACgkQ9CaO5/Lv0PC/tgCfWtubedIoK3BX8gQ8GwVqaa0H
> > jQcAn2FM+DPHkTd+e8nq14/KgdlknrWB
> > =lE2v
> > -END PGP SIGNATURE-
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > For additional commands, e-mail: users-h...@tomcat.apache.org
> >
> >
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Maven Tomcat 7 plugin - changing war name

2011-11-22 Thread Olivier Lamy
yep, not done yet :-)

It's a bit weird issue as the plugin use the project artifact  (i.e.
${project.artifact} as mojo parameter expression which should point to
the war artifact of your project ).

Can you load an issue ? (I probably won't have time before end of the
week to have a look).


2011/11/22 Christopher Schultz :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Will,
>
> On 11/22/11 2:02 PM, Will Glass-Husain wrote:
>> I'm struggling to get the tomcat7 plugin to work.
>
> I'm pretty sure that's still under development, so YMMV right now.
>
> Stick around and I'm sure you'll get a better answer from Olivier.
>
> I just didn't want you to beat your head against a wall for a while if
> the answer was going to be "yep, not done yet" or something like that.
>
> Can you limp-along with the XXX-YYY.war for now?
>
> - -chris
> -BEGIN PGP SIGNATURE-
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk7ME8UACgkQ9CaO5/Lv0PC/tgCfWtubedIoK3BX8gQ8GwVqaa0H
> jQcAn2FM+DPHkTd+e8nq14/KgdlknrWB
> =lE2v
> -END PGP SIGNATURE-
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Maven Tomcat 7 plugin - changing war name

2011-11-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Will,

On 11/22/11 2:02 PM, Will Glass-Husain wrote:
> I'm struggling to get the tomcat7 plugin to work.

I'm pretty sure that's still under development, so YMMV right now.

Stick around and I'm sure you'll get a better answer from Olivier.

I just didn't want you to beat your head against a wall for a while if
the answer was going to be "yep, not done yet" or something like that.

Can you limp-along with the XXX-YYY.war for now?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7ME8UACgkQ9CaO5/Lv0PC/tgCfWtubedIoK3BX8gQ8GwVqaa0H
jQcAn2FM+DPHkTd+e8nq14/KgdlknrWB
=lE2v
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Maven Tomcat 7 plugin - changing war name

2011-11-22 Thread Will Glass-Husain
Hi,

I'm struggling to get the tomcat7 plugin to work.  I want to change the
name of the war file.  When I call

mvn tomcat7:deploy-only

It looks for war file   XXX-YYY.war, where XXX is the artifactId and YYY is
the version name.

I'd rather use a different, simpler WAR file name "myapp".  It's used
elsewhere in the site.  But neither of these two things changes the war
name that the plugin is looking for.


simulate


...


  org.apache.tomcat.maven
  tomcat7-maven-plugin
  2.0-SNAPSHOT
  
myapp.war
/myapp
  


Any suggestions?  Or is this just not yet implemented.

WILL