Ah yes, I see what you mean - I use M2Eclipse as well, so I should have known
that's what you meant.
>>>[EMAIL PROTECTED] 04/18/06 2:46 pm >>>
But it doesn't do what one really wishes if one is using the M2Eclipse
plugin in eclipse, which is to get the dependencies from the POM file.
A fairly standard .classpath file using the M2Eclipse plugin would look
something like:
<?xml version=1.0 encoding=UTF-8?>
<classpath>
<classpathentry kind=src path=src/main/java/>
<classpathentry kind=src path=src/main/resources/>
<classpathentry output=target/test-classes kind=src
path=src/test/java/>
<classpathentry output=target/test-classes kind=src
path=src/test/resources/>
<classpathentry kind=con
path=org.eclipse.jdt.launching.JRE_CONTAINER/>
<classpathentry kind=con
path=org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER/>
<classpathentry kind=output path=target/classes/>
</classpath>
See the difference? I find the eclipse plugin in Maven to be irrelevant,
unless I'm distributing the project to another institution.
-K
--
Kathryn Huxtable
Middleware Architect
Core Middleware
Information Technology, a division of Information Services
The University of Kansas
On 4/18/06 2:31 PM, Mark Misurak <[EMAIL PROTECTED]> wrote:
>Yes, there's a Maven plugin called Eclipse. Run the default goal just
>once at the commandline, and your .classpath will be set for you. Just
>don't forget to set the MAVEN_REPO variable in your build path before
>you do so (Window -> Preferences -> Java -> Build Path -> Classpath
>Variables). If you're using Maven 2, set the M2_REPO variable instead.
>
>>>>[EMAIL PROTECTED] 04/18/06 2:22 pm >>>
>
>Hello K.
>
>Thank you for the reply. I need everyone in our team to run maven and
>setup
>the plugin project in Eclipse. I cannot expect them to change .classpath
>file manually. Does maven have a command maven eclipse plugin or
>something
>like that, so we can import the plugin project with its plugin
>dependency
>into Eclipse??
>
>Thanks,
>Hua
>--
>View this message in context:
>http://www.nabble.com/Using-maven-to-setup-Eclipse-plugin-project-t1468793.htm
>l#a3974975
>Sent from the Maven - Users forum at Nabble.com.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>This email and/or any documents in this transmission is intended for the
>addressee(s) only and may contain legally privileged or confidential
>information. Any unauthorized use, disclosure, distribution, copying or
>dissemination is strictly prohibited. If you receive this transmission in
>error, please notify the sender immediately and return the original.
>
>Ce courriel et tout document dans cette transmission est destiné à la personne
>ou aux personnes à qui il est adressé. Il peut contenir des informations
>privilégiées ou confidentielles. Toute utilisation, divulgation, distribution,
>copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas
>le destinataire de ce message, veuillez en informer l'expéditeur immédiatement
>et lui remettre l'original.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This email and/or any documents in this transmission is intended for the
addressee(s) only and may contain legally privileged or confidential
information. Any unauthorized use, disclosure, distribution, copying or
dissemination is strictly prohibited. If you receive this transmission in
error, please notify the sender immediately and return the original.
Ce courriel et tout document dans cette transmission est destiné à la personne
ou aux personnes à qui il est adressé. Il peut contenir des informations
privilégiées ou confidentielles. Toute utilisation, divulgation, distribution,
copie, ou diffusion non autorisée est strictement défendue. Si vous n'êtes pas
le destinataire de ce message, veuillez en informer l'expéditeur immédiatement
et lui remettre l'original.