You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jose Gonzalez Gomez <jg...@gmail.com> on 2005/07/18 11:38:07 UTC

[m2] Eclipse dependencies

Hi there,

With Maven 1.x you could add the following to get the eclipse plugin
generate a dependency for another project in the workspace:

      <properties>
        <eclipse.dependency>true</eclipse.dependency>
      </properties>

If I try to do the same in m2 I get the following error:

[INFO] ----------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ----------------------------------------------------------------------------
[INFO] Reason: Failed to parse model from file 'C:\Documents and
Settings\jgonzalez\Mis documentos\proyectos\conductas\HIVITS-TS\modulo
s\hivitsts-standalone\pom.xml'.
Error: 'TEXT must be immediately followed by END_TAG and not START_TAG
(position: START_TAG seen ...<properties>\r\n        <eclipse.de
pendency>... @21:29) '

Am I missing anything, or this is just not implemented in the new
version of the plugin? Maybe it's configured using plugin properties?

Thanks in advance, best regards
Jose

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


Re: [m2] Eclipse dependencies

Posted by Trygve Laugstøl <tr...@codehaus.org>.
On Mon, Jul 18, 2005 at 12:18:41PM +0200, Kenney Westerhof wrote:
> On Mon, 18 Jul 2005, Jose Gonzalez Gomez wrote:
> 
> Hi,
> 
> Properties are not supported in M2.
> I've created a patch for the maven-eclipse-plugin to create dependencies
> on 'workspace' projects if they are available. The patch has not
> been comitted yet, but I hope it will be soon (you can vote for it):
> 
> http://jira.codehaus.org/browse/MNG-549.

We've stopped applying your patches now that you can (eventually) do it
yourself.

--
Trygve

Re: [m2] Eclipse dependencies

Posted by Kenney Westerhof <fo...@neonics.com>.
On Mon, 18 Jul 2005, Jose Gonzalez Gomez wrote:

Hi,

Properties are not supported in M2.
I've created a patch for the maven-eclipse-plugin to create dependencies
on 'workspace' projects if they are available. The patch has not
been comitted yet, but I hope it will be soon (you can vote for it):

http://jira.codehaus.org/browse/MNG-549.

> Hi there,
>
> With Maven 1.x you could add the following to get the eclipse plugin
> generate a dependency for another project in the workspace:
>
>       <properties>
>         <eclipse.dependency>true</eclipse.dependency>
>       </properties>
>
> If I try to do the same in m2 I get the following error:
>
> [INFO] ----------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ----------------------------------------------------------------------------
> [INFO] Reason: Failed to parse model from file 'C:\Documents and
> Settings\jgonzalez\Mis documentos\proyectos\conductas\HIVITS-TS\modulo
> s\hivitsts-standalone\pom.xml'.
> Error: 'TEXT must be immediately followed by END_TAG and not START_TAG
> (position: START_TAG seen ...<properties>\r\n        <eclipse.de
> pendency>... @21:29) '
>
> Am I missing anything, or this is just not implemented in the new
> version of the plugin? Maybe it's configured using plugin properties?
>
> Thanks in advance, best regards
> Jose
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

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