Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Antwort: Re: M2E not working as advertised.

The archetype is responsible for creating the project's content, not m2e(-wtp)

In general, adding dependencies doesn't require you to run "Update Project Configuration". However, changing plugin configurations (like java -> 1.6), manually creating source folders are good reasons to do so.

On Thu, May 10, 2012 at 11:56 AM, Jacques Koorts <jkoorts@xxxxxxxxx> wrote:
I will do that shortly, and also address the wurlf 1.4 - 1.3 problem.

Let me add that if the maven-webapp arch created /src/main/java and
did the "update proj conf" things would have been much easier.

getting back to you all.

On Thu, May 10, 2012 at 11:50 AM, Anders Hammar <anders@xxxxxxxxxx> wrote:
> I believe you need to update the Eclipse project by selecting Maven ->
> Update Project Configuration...
>
> Your source-folder is not picked up yet.
>
> /Anders
>
> On Thu, May 10, 2012 at 11:47 AM, Jacques Koorts <jkoorts@xxxxxxxxx> wrote:
>> Hi Thorsten, I have the 1.4.0.1 lib installed in my local repo.
>>
>> Here my classpath:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <classpath>
>>        <classpathentry excluding="**" kind="src" output="target/classes"
>> path="src/main/resources"/>
>>        <classpathentry kind="con"
>> path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
>>        <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
>>                <attributes>
>>                        <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
>>                </attributes>
>>        </classpathentry>
>>        <classpathentry kind="output" path="target/classes"/>
>> </classpath>
>>
>>
>> Currently target/classes is empty... As I said I did not do mvn
>> eclipse:eclipse, cause M2E says its not necessary.
>>
>> Also /WEB-INF/lib does not exist.
>>
>>
>>
>> On Thu, May 10, 2012 at 11:34 AM, Thorsten Heit <thorsten.heit@xxxxxx> wrote:
>>> Hi,
>>>
>>>> It looks fine:
>>>
>>> Obviously not:
>>>
>>> *snip*
>>>
>>>>    <dependency>
>>>>       <groupId>net.sourceforge.wurfl</groupId>
>>>>       <artifactId>wurfl</artifactId>
>>>>       <version>1.4.0.1</version>
>>>>    </dependency>
>>>
>>> This dependency doesn't exist on central; the latest version according to
>>> http://search.maven.org/#search|ga|1|wurfl is 1.3.1.1
>>>
>>>
>>> Regards
>>>
>>> Thorsten
>>> _______________________________________________
>>> m2e-users mailing list
>>> m2e-users@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/m2e-users
>>>
>> _______________________________________________
>> m2e-users mailing list
>> m2e-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/m2e-users
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top