Looking more deeply in <<Eclipse Maven Console>> after check out as maven
project I found this:
1/09/08 17.01.13 CEST: [INFO] Building auOnWeb
11/09/08 17.01.13 CEST: [INFO]
11/09/08 17.01.13 CEST: [INFO] Id:
com.zucchetti.qweb.au.web:auonweb:war:03.05.00-SNAPSHOT
11/09/08 17.01.13 CEST: [INFO] task-segment: [eclipse:m2eclipse]
11/09/08 17.01.13 CEST: [INFO]
------------------------------------------------------------------------
11/09/08 17.01.13 CEST: [INFO] [eclipse:m2eclipse]
11/09/08 17.01.13 CEST: [INFO] Adding support for WTP version 2.0.
11/09/08 17.01.13 CEST: [INFO] Using source status cache:
C:\Programmi\eclipse34\eclipse\target\mvn-eclipse-cache.properties
11/09/08 17.01.13 CEST: [INFO] Using as WTP server : null
11/09/08 17.01.13 CEST: [INFO] Wrote settings to
C:\Lavori\Eclipse34\auonweb\.settings\org.eclipse.jdt.core.prefs
11/09/08 17.01.13 CEST: [INFO] File C:\Lavori\Eclipse34\auonweb\.project
already exists.
Additional settings will be preserved, run mvn eclipse:clean if you
want old settings to be removed.
11/09/08 17.01.13 CEST: [INFO] Wrote Eclipse project for "auonweb" to
C:\Lavori\Eclipse34\auonweb.
11/09/08 17.01.13 CEST: [INFO]
11/09/08 17.01.13 CEST: Adding source folder /auonweb/JavaSource
11/09/08 17.01.13 CEST: [INFO] snapshot
com.zucchetti.qweb.au:au:03.05.00-SNAPSHOT: checking for updates from
snapshot-repo
11/09/08 17.01.13 CEST: Setting source compatibility: 1.5
11/09/08 17.01.13 CEST: Setting target compatibility: 1.5
11/09/08 17.01.13 CEST: Updated source folders for project auonweb 0sec
May be this:
<<<<< Using as WTP server : null >>>>>
the problem ????
Regards
Alex.
Zucchi Alessandro wrote:
>
> Unfortunatly I already done this:
>
> <build>
> <!--Force JavaSource directory for java projects-->
> <sourceDirectory>JavaSource</sourceDirectory>
> <!--Force WebContent directory for Web Application-->
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-war-plugin</artifactId>
> <configuration>
> <warSourceDirectory>
> WebContent
> </warSourceDirectory>
> </configuration>
> </plugin>
>
> I think that m2eclispe doesn't read these values and use default maven
> values.
> Regards
> Alex.
>
>
> Eugene Kuleshov wrote:
>>
>>
>> Ah. That may explain this. Please try to add maven-war-plugin [1] to
>> your pom.xml and set warSourceDirectory config entry to WebContent (or
>> whatever source folder you are using instead of src\main\webapp
>>
>> regards,
>> Eugene
>>
>> [1] http://maven.apache.org/plugins/maven-war-plugin/
>>
>>
>> Zucchi Alessandro wrote:
>>> Eugene,
>>>
>>> I tryed to checkout projects outside of Eclipse and import using Maven
>>> project wizard but I get the same problem.
>>>
>>> Following the <<WTP howto >> all runs, than I ask me if the problem is
>>> that
>>> the structur of my web project is non compliant with the Maven standard.
>>> src\main\webapp\META-INF
>>> \WEB-INF
>>> \lib
>>>
>>> Instead I used the standard structur of an IBM WAS 5.1.2 Web project
>>> (these
>>> are old projects ...).
>>> \JavaSource
>>> \WebContent
>>> \WEB-INF
>>> \lib
>>> What do you think about this ?
>>>
>>> Regards
>>> Alex.
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Check-out-as-Maven-project-tp19413931p19436491.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email