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-tp19413931p19436119.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


Reply via email to