You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Yann Albou <ya...@club-internet.fr> on 2007/12/02 17:24:50 UTC

[m2] eclipse plugin and WTP generating warnings in Europa

Hello,

After generating my eclipse projects with "mvn -Dwtpversion=2.0 
eclipse:eclipse" and importing these projects into an europa workspace I 
get the following Warning:

"Claspath entry 
M2_REPO/commons-logging/commons-logging/1.0.4/commons-loggin-1.0.4.jar 
will not be exported or published. Runtime ClassNotFound Exceptions may 
result."

All my dependencies get this warning.
I use the last version of the maven eclipse plugin (from trunks) and I 
use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP 2.0.1

any Idea ?

Thanks
Yann.


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


RE: Re: [m2] eclipse plugin and WTP generating warnings in Europa

Posted by Jörg Schaible <Jo...@Elsag-Solutions.com>.
Did you define the M2_REPO variable (in Eclipse)?

Yann Albou wrote:
> Is someone facing the same issue ?
> Yann.
> 
> Yann Albou a écrit :
>> Hello,
>> 
>> After generating my eclipse projects with "mvn -Dwtpversion=2.0
>> eclipse:eclipse" and importing these projects into an europa
>> workspace I get the following Warning: 
>> 
>> "Claspath entry
>> 
> M2_REPO/commons-logging/commons-logging/1.0.4/commons-loggin-1
> .0.4.jar
>> will not be exported or published. Runtime ClassNotFound Exceptions
>> may result." 
>> 
>> All my dependencies get this warning.
>> I use the last version of the maven eclipse plugin (from trunks) and
>> I use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP
>> 2.0.1 
>> 
>> any Idea ?
>> 
>> Thanks
>> Yann.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


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


Re: [m2] eclipse plugin and WTP generating warnings in Europa

Posted by Yeagle <ya...@mylodh.com>.
I created the JIRA issue: http://jira.codehaus.org/browse/MECLIPSE-361
let me know if you need more...
Yann.


Arnaud HERITIER wrote:
> 
> Ok, thanks a lot for your feedback.
> I'll try to fix it before the release of the 2.5
> 
> Arnaud
> 
> On Dec 5, 2007 8:51 PM, Yann Albou <ya...@club-internet.fr> wrote:
> 
>>
>> So I did others tests using each times new Eclipse workspace:
>>
>> 1) If I try to generate with wtpversion=1.5 and maven-eclipse-plugin
>> version 2.5-SNAPSHOT => I get the same behaviour in EUROPA
>>
>> 2) If I try to generate with wtpversion=1.5 and maven-eclipse-plugin
>> version 2.4 => I get the same behaviour in EUROPA
>>
>> 3) I then try using Eclipse 3.2.2 with WTP 1.5.3 (instead of Eclipse
>> 3.3.1.1 and WTP 2.0.1) with maven-eclipse-plugin version 2.4 or
>> 2.5-SNAPSHOT => Everything is perfect, no more warnings
>>
>> Arnaud, I will create a simple test case and open an issue...
>>
>> Yann.
>>
>>
>> Arnaud HERITIER a écrit :
>> > Can you create a little test case and open an issue please ?
>> > I didn't yet found this problem but it's perhaps a bug in one change I
>> made
>> > to add the support of WTP 2.0.
>> >
>> > Another test that you can do :
>> > - generates WTP settings for version 1.5
>> > - import your project into eclipse (it should convert them in 2.0)
>> > - check that you have the same error.
>> >
>> > It will help us to analyze the problem.
>> >
>> > arnaud
>> >
>> > On Dec 4, 2007 10:55 PM, Yann Albou <ya...@club-internet.fr>
>> wrote:
>> >
>> >> I just tried with the latest snapshot and I get the same behaviour.
>> >> I see these warnings during import.
>> >>
>> >> on the Warning it exists a "Quick fix" that says :"Mark the associated
>> >> raw classpath entry as a publish/export dependency". So I execued it
>> >> And then I get an error that says "Invalid classpath publish/export
>> >> dependency..."
>> >>
>> >>
>> >> Siarhei Dudzin a écrit :
>> >>> Do you get the same from getting the latest snapshot instead of the
>> >> trunk?
>> >>> Where do you see this waring? During import or after import in the
>> >> problems
>> >>> view?
>> >>>
>> >>> On 12/4/07, Yann Albou <ya...@club-internet.fr> wrote:
>> >>>> Is someone facing the same issue ?
>> >>>> Yann.
>> >>>>
>> >>>> Yann Albou a écrit :
>> >>>>> Hello,
>> >>>>>
>> >>>>> After generating my eclipse projects with "mvn -Dwtpversion=2.0
>> >>>>> eclipse:eclipse" and importing these projects into an europa
>> workspace
>> >> I
>> >>>>> get the following Warning:
>> >>>>>
>> >>>>> "Claspath entry
>> >>>>> M2_REPO/commons-logging/commons-logging/1.0.4/commons-
>> loggin-1.0.4.jar
>> >>>>> will not be exported or published. Runtime ClassNotFound Exceptions
>> >> may
>> >>>>> result."
>> >>>>>
>> >>>>> All my dependencies get this warning.
>> >>>>> I use the last version of the maven eclipse plugin (from trunks)
>> and
>> I
>> >>>>> use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP
>> 2.0.1
>> >>>>>
>> >>>>> any Idea ?
>> >>>>>
>> >>>>> Thanks
>> >>>>> Yann.
>> >>>>
>> ---------------------------------------------------------------------
>> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >>>> For additional commands, e-mail: users-help@maven.apache.org
>> >>>>
>> >>>>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> >> For additional commands, e-mail: users-help@maven.apache.org
>> >>
>> >>
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 
> -- 
> ..........................................................
> Arnaud HERITIER
> ..........................................................
> OCTO Technology - aheritier AT octo DOT com
> www.octo.com | blog.octo.com
> ..........................................................
> ASF - aheritier AT apache DOT org
> www.apache.org | maven.apache.org
> ...........................................................
> 
> 

-- 
View this message in context: http://www.nabble.com/-m2--eclipse-plugin-and-WTP-generating-warnings-in-Europa-tf4932227s177.html#a14208699
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: [m2] eclipse plugin and WTP generating warnings in Europa

Posted by Arnaud HERITIER <ah...@gmail.com>.
Ok, thanks a lot for your feedback.
I'll try to fix it before the release of the 2.5

Arnaud

On Dec 5, 2007 8:51 PM, Yann Albou <ya...@club-internet.fr> wrote:

>
> So I did others tests using each times new Eclipse workspace:
>
> 1) If I try to generate with wtpversion=1.5 and maven-eclipse-plugin
> version 2.5-SNAPSHOT => I get the same behaviour in EUROPA
>
> 2) If I try to generate with wtpversion=1.5 and maven-eclipse-plugin
> version 2.4 => I get the same behaviour in EUROPA
>
> 3) I then try using Eclipse 3.2.2 with WTP 1.5.3 (instead of Eclipse
> 3.3.1.1 and WTP 2.0.1) with maven-eclipse-plugin version 2.4 or
> 2.5-SNAPSHOT => Everything is perfect, no more warnings
>
> Arnaud, I will create a simple test case and open an issue...
>
> Yann.
>
>
> Arnaud HERITIER a écrit :
> > Can you create a little test case and open an issue please ?
> > I didn't yet found this problem but it's perhaps a bug in one change I
> made
> > to add the support of WTP 2.0.
> >
> > Another test that you can do :
> > - generates WTP settings for version 1.5
> > - import your project into eclipse (it should convert them in 2.0)
> > - check that you have the same error.
> >
> > It will help us to analyze the problem.
> >
> > arnaud
> >
> > On Dec 4, 2007 10:55 PM, Yann Albou <ya...@club-internet.fr> wrote:
> >
> >> I just tried with the latest snapshot and I get the same behaviour.
> >> I see these warnings during import.
> >>
> >> on the Warning it exists a "Quick fix" that says :"Mark the associated
> >> raw classpath entry as a publish/export dependency". So I execued it
> >> And then I get an error that says "Invalid classpath publish/export
> >> dependency..."
> >>
> >>
> >> Siarhei Dudzin a écrit :
> >>> Do you get the same from getting the latest snapshot instead of the
> >> trunk?
> >>> Where do you see this waring? During import or after import in the
> >> problems
> >>> view?
> >>>
> >>> On 12/4/07, Yann Albou <ya...@club-internet.fr> wrote:
> >>>> Is someone facing the same issue ?
> >>>> Yann.
> >>>>
> >>>> Yann Albou a écrit :
> >>>>> Hello,
> >>>>>
> >>>>> After generating my eclipse projects with "mvn -Dwtpversion=2.0
> >>>>> eclipse:eclipse" and importing these projects into an europa
> workspace
> >> I
> >>>>> get the following Warning:
> >>>>>
> >>>>> "Claspath entry
> >>>>> M2_REPO/commons-logging/commons-logging/1.0.4/commons-
> loggin-1.0.4.jar
> >>>>> will not be exported or published. Runtime ClassNotFound Exceptions
> >> may
> >>>>> result."
> >>>>>
> >>>>> All my dependencies get this warning.
> >>>>> I use the last version of the maven eclipse plugin (from trunks) and
> I
> >>>>> use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP
> 2.0.1
> >>>>>
> >>>>> any Idea ?
> >>>>>
> >>>>> Thanks
> >>>>> Yann.
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>>> For additional commands, e-mail: users-help@maven.apache.org
> >>>>
> >>>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: [m2] eclipse plugin and WTP generating warnings in Europa

Posted by Yann Albou <ya...@club-internet.fr>.
So I did others tests using each times new Eclipse workspace:

1) If I try to generate with wtpversion=1.5 and maven-eclipse-plugin 
version 2.5-SNAPSHOT => I get the same behaviour in EUROPA

2) If I try to generate with wtpversion=1.5 and maven-eclipse-plugin 
version 2.4 => I get the same behaviour in EUROPA

3) I then try using Eclipse 3.2.2 with WTP 1.5.3 (instead of Eclipse 
3.3.1.1 and WTP 2.0.1) with maven-eclipse-plugin version 2.4 or 
2.5-SNAPSHOT => Everything is perfect, no more warnings

Arnaud, I will create a simple test case and open an issue...

Yann.


Arnaud HERITIER a écrit :
> Can you create a little test case and open an issue please ?
> I didn't yet found this problem but it's perhaps a bug in one change I made
> to add the support of WTP 2.0.
> 
> Another test that you can do :
> - generates WTP settings for version 1.5
> - import your project into eclipse (it should convert them in 2.0)
> - check that you have the same error.
> 
> It will help us to analyze the problem.
> 
> arnaud
> 
> On Dec 4, 2007 10:55 PM, Yann Albou <ya...@club-internet.fr> wrote:
> 
>> I just tried with the latest snapshot and I get the same behaviour.
>> I see these warnings during import.
>>
>> on the Warning it exists a "Quick fix" that says :"Mark the associated
>> raw classpath entry as a publish/export dependency". So I execued it
>> And then I get an error that says "Invalid classpath publish/export
>> dependency..."
>>
>>
>> Siarhei Dudzin a écrit :
>>> Do you get the same from getting the latest snapshot instead of the
>> trunk?
>>> Where do you see this waring? During import or after import in the
>> problems
>>> view?
>>>
>>> On 12/4/07, Yann Albou <ya...@club-internet.fr> wrote:
>>>> Is someone facing the same issue ?
>>>> Yann.
>>>>
>>>> Yann Albou a écrit :
>>>>> Hello,
>>>>>
>>>>> After generating my eclipse projects with "mvn -Dwtpversion=2.0
>>>>> eclipse:eclipse" and importing these projects into an europa workspace
>> I
>>>>> get the following Warning:
>>>>>
>>>>> "Claspath entry
>>>>> M2_REPO/commons-logging/commons-logging/1.0.4/commons-loggin-1.0.4.jar
>>>>> will not be exported or published. Runtime ClassNotFound Exceptions
>> may
>>>>> result."
>>>>>
>>>>> All my dependencies get this warning.
>>>>> I use the last version of the maven eclipse plugin (from trunks) and I
>>>>> use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP 2.0.1
>>>>>
>>>>> any Idea ?
>>>>>
>>>>> Thanks
>>>>> Yann.
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 


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


Re: [m2] eclipse plugin and WTP generating warnings in Europa

Posted by Arnaud HERITIER <ah...@gmail.com>.
Can you create a little test case and open an issue please ?
I didn't yet found this problem but it's perhaps a bug in one change I made
to add the support of WTP 2.0.

Another test that you can do :
- generates WTP settings for version 1.5
- import your project into eclipse (it should convert them in 2.0)
- check that you have the same error.

It will help us to analyze the problem.

arnaud

On Dec 4, 2007 10:55 PM, Yann Albou <ya...@club-internet.fr> wrote:

> I just tried with the latest snapshot and I get the same behaviour.
> I see these warnings during import.
>
> on the Warning it exists a "Quick fix" that says :"Mark the associated
> raw classpath entry as a publish/export dependency". So I execued it
> And then I get an error that says "Invalid classpath publish/export
> dependency..."
>
>
> Siarhei Dudzin a écrit :
> > Do you get the same from getting the latest snapshot instead of the
> trunk?
> > Where do you see this waring? During import or after import in the
> problems
> > view?
> >
> > On 12/4/07, Yann Albou <ya...@club-internet.fr> wrote:
> >> Is someone facing the same issue ?
> >> Yann.
> >>
> >> Yann Albou a écrit :
> >>> Hello,
> >>>
> >>> After generating my eclipse projects with "mvn -Dwtpversion=2.0
> >>> eclipse:eclipse" and importing these projects into an europa workspace
> I
> >>> get the following Warning:
> >>>
> >>> "Claspath entry
> >>> M2_REPO/commons-logging/commons-logging/1.0.4/commons-loggin-1.0.4.jar
> >>> will not be exported or published. Runtime ClassNotFound Exceptions
> may
> >>> result."
> >>>
> >>> All my dependencies get this warning.
> >>> I use the last version of the maven eclipse plugin (from trunks) and I
> >>> use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP 2.0.1
> >>>
> >>> any Idea ?
> >>>
> >>> Thanks
> >>> Yann.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
..........................................................
Arnaud HERITIER
..........................................................
OCTO Technology - aheritier AT octo DOT com
www.octo.com | blog.octo.com
..........................................................
ASF - aheritier AT apache DOT org
www.apache.org | maven.apache.org
...........................................................

Re: [m2] eclipse plugin and WTP generating warnings in Europa

Posted by Yann Albou <ya...@club-internet.fr>.
I just tried with the latest snapshot and I get the same behaviour.
I see these warnings during import.

on the Warning it exists a "Quick fix" that says :"Mark the associated 
raw classpath entry as a publish/export dependency". So I execued it
And then I get an error that says "Invalid classpath publish/export 
dependency..."


Siarhei Dudzin a écrit :
> Do you get the same from getting the latest snapshot instead of the trunk?
> Where do you see this waring? During import or after import in the problems
> view?
> 
> On 12/4/07, Yann Albou <ya...@club-internet.fr> wrote:
>> Is someone facing the same issue ?
>> Yann.
>>
>> Yann Albou a écrit :
>>> Hello,
>>>
>>> After generating my eclipse projects with "mvn -Dwtpversion=2.0
>>> eclipse:eclipse" and importing these projects into an europa workspace I
>>> get the following Warning:
>>>
>>> "Claspath entry
>>> M2_REPO/commons-logging/commons-logging/1.0.4/commons-loggin-1.0.4.jar
>>> will not be exported or published. Runtime ClassNotFound Exceptions may
>>> result."
>>>
>>> All my dependencies get this warning.
>>> I use the last version of the maven eclipse plugin (from trunks) and I
>>> use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP 2.0.1
>>>
>>> any Idea ?
>>>
>>> Thanks
>>> Yann.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 


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


Re: [m2] eclipse plugin and WTP generating warnings in Europa

Posted by Siarhei Dudzin <si...@gmail.com>.
Do you get the same from getting the latest snapshot instead of the trunk?
Where do you see this waring? During import or after import in the problems
view?

On 12/4/07, Yann Albou <ya...@club-internet.fr> wrote:
>
> Is someone facing the same issue ?
> Yann.
>
> Yann Albou a écrit :
> > Hello,
> >
> > After generating my eclipse projects with "mvn -Dwtpversion=2.0
> > eclipse:eclipse" and importing these projects into an europa workspace I
> > get the following Warning:
> >
> > "Claspath entry
> > M2_REPO/commons-logging/commons-logging/1.0.4/commons-loggin-1.0.4.jar
> > will not be exported or published. Runtime ClassNotFound Exceptions may
> > result."
> >
> > All my dependencies get this warning.
> > I use the last version of the maven eclipse plugin (from trunks) and I
> > use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP 2.0.1
> >
> > any Idea ?
> >
> > Thanks
> > Yann.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [m2] eclipse plugin and WTP generating warnings in Europa

Posted by Yann Albou <ya...@club-internet.fr>.
Is someone facing the same issue ?
Yann.

Yann Albou a écrit :
> Hello,
> 
> After generating my eclipse projects with "mvn -Dwtpversion=2.0 
> eclipse:eclipse" and importing these projects into an europa workspace I 
> get the following Warning:
> 
> "Claspath entry 
> M2_REPO/commons-logging/commons-logging/1.0.4/commons-loggin-1.0.4.jar 
> will not be exported or published. Runtime ClassNotFound Exceptions may 
> result."
> 
> All my dependencies get this warning.
> I use the last version of the maven eclipse plugin (from trunks) and I 
> use the Eclipse JEE Europa that includes Eclipse 3.3.1.1 and WTP 2.0.1
> 
> any Idea ?
> 
> Thanks
> Yann.


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