maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Pöllath <li...@poellath.org>
Subject Re: [m2] Import Maven 2 source into eclipse
Date Fri, 16 Sep 2005 09:56:28 GMT
On 16.09.2005, at 10:28, Nitko2 wrote:
> Jesse thank you for your answer. I tried to do as you suggested but  
> got this error when called m2 eclipse:eclipse:
>
> [INFO] Reason: Failed to parse model from file 'E:\unzip\m2src 
> \maven-components\pom.xml'.
> Error: 'TEXT must be immediately followed by END_TAG and not  
> START_TAG (position
> : START_TAG seen ...<releases>\r\n        <enabled>... @157:18) '
>
> Any hints?

Looks like the parser is telling you that your POM isn't valid XML.  
Maybe <releases> in line 157 should be </releases>?

Cheers,
-Ralph.

> Jesse McConnell wrote:
>> ah, I should add that each sub project will become an eclipse  
>> project and they will largely be linked correctly, including to  
>> the resources in your .m2/repository
>>
>> and each project will compile classes to the right location with  
>> normal eclipse compilation
>>
>> think that is everything..
>>
>> On 9/15/05, Jesse McConnell <jesse.mailing.lists@gmail.com> wrote:
>>> there is an eclipse plugin for m2
>>>
>>> go to the root of your project and type
>>> m2 eclipse:eclipse
>>> that will generate .project and .classpath files so you can then  
>>> import the projects into eclipse.
>>>
>>> the newer version of eclipse and recursively add all of the  
>>> projects, if you are on an older version you will probably have  
>>> to add each seperately
>>>
>>> On 9/15/05, Nitko2 <nitko2@gmail.com> wrote:
>>>> Hi!
>>>>
>>>> I' would like to examine how Maven 2 works from inside.
>>>>
>>>> Can someone tell me how can I run Maven 2 inside Eclipse. I already
>>>> connected to subversion repository using subclipse and I have  
>>>> source
>>>> inside Eclipse. The problem is that I have to tell Eclipse what  
>>>> are the source folders inside modules and set classpath for all  
>>>> modules.
>>>>
>>>> Is there some automated way for doing that. What tool maven  
>>>> developers
>>>> use for Maven2 development?
>>>>
>>>> Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message