You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tonté Pouncil <To...@aviall.com> on 2008/09/18 16:07:22 UTC
Question about wtpContextName option in eclipse:eclipse plugin
I am able to use this goal succesfully (eclipse:eclipse goal that is).
Meaning I am able to hot deploy to my server via WTP. However when I try
to set the wtpContextName my target/eclipseEAR/application.xml file never
pick up the new context root. I do see in my
.Settings\org.eclipse.wst.common.component file the correct context root
base on my wtpContextName setting. How come when I use the
"wtpContextName " option for the eclipse:eclipse goal it does not pick it
up in my target/eclipseEAR/application.xml file? See below for a snippet
of my pom.xml file:
<build>
<sourceDirectory>src/main/java/</sourceDirectory>
<pluginManagement>
<plugins>
.
.
.
<plugin>
<groupId>org.apache.maven.plugins
</groupId>
<artifactId>maven-eclipse-plugin</
artifactId>
<!--version>2.6</version-->
<configuration>
<projectNameTemplate>
[artifactId]-[version]</projectNameTemplate>
<wtpmanifest>true</
wtpmanifest>
<wtpapplicationxml>true</
wtpapplicationxml>
<wtpContextName>/aviall</
wtpContextName>
<wtpversion>2.0</
wtpversion>
<manifest>
${basedir}/src/main/resources/META-INF/MANIFEST.MF</manifest>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Also If I do not specify a version for the plugin, which version will
maven use; the latest?
Thanks! in advance!
Tonté
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_
This e-mail message, including attachments, may contain confidential,
proprietary, or export controlled information.
Any unauthorized disclosure, distribution, or other use is prohibited,
unless expressly authorized.
If you receive this e-mail in error, please notify the sender, and delete
all copies of the original message from your systems.