Hi i'm using in eclipse the plugin to let it work with maven 2 and i'm having
some
problems with it.  (Bare in mind that everything works fine when i run it
from the 
command line.)

First issue
-----------------
As it currently doesn't read the settings.xml (or has this bin fixed and am
i doing something wrong??), i wonder how i can specify how to logon my
tomcat 

i currently have this inside my POM:

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>tomcat-maven-plugin</artifactId>
    <version>1.0-SNAPSHOT</version>
    <configuration>
        <warFile>
            /target/dev/${artifactId}-${version}-dev.war
        </warFile>
        <server>myserver</server>
    </configuration>
</plugin>

as he doesn't read the settings.xml, this obviously doesnt work :)
any suggestions?

second issue
-------------------

I'm using multiple profiles (actually four called: dev, test, prod and qa).
How do I run a different profile in Eclipse than the default one?
(dev is the active by default one)

I've tried a lot of things:

i right-click on my pom and choose the run as Maven build... option.
Then you get a screen to specify your goal and arguments.

i've tried to fill in the following thing in the argument section

argumentName       argumentValue

P                          test
p                          test                
-P                         test
-p                         test
profile.name           test (then he just replaced "profile.name" with
"test" in my pom,
                                    but doesn't execute the test profile).

In the first four cases, he just executes the dev-profile (the active by
default one)

anybody that knows how to help??

thx!
-- 
View this message in context: 
http://www.nabble.com/eclipse-maven-2-plugin-tf2083850.html#a5741589
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to