Hello everybody,
I don't see any way to be able to import a maven project of type war with
linked folder pointing to jsp.
M2Eclipse takes my definition of maven-war-plugin as input:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<directory>../shared-jsps/src/main/webapp</directory>
<targetPath>WEB-INF</targetPath>
</resource>
</webResources>
</configuration>
</plugin>
It must be translated as this in my .project (view, tags, layout, messages
are subdirectories of shared-jsps/src/main/webapp)
<linkedResources>
<link>
<name>src/main/webapp/WEB-INF/layout</name>
<type>2</type>
<locationURI>workspace/shared-jsps/src/main/webapp/WEB-INF/layout</locationURI>
</link>
<link>
<name>src/main/webapp/WEB-INF/messages</name>
<type>2</type>
<locationURI>workspace/shared-jsps/src/main/webapp/WEB-INF/messages</locationURI>
</link>
<link>
<name>src/main/webapp/WEB-INF/tags</name>
<type>2</type>
<locationURI>workspace/eng-common-pub/src/main/webapp/WEB-INF/tags</locationURI>
</link>
<link>
<name>src/main/webapp/WEB-INF/views</name>
<type>2</type>
<locationURI>workspace/shared-jsps/src/main/webapp/WEB-INF/views</locationURI>
</link>
</linkedResources>
Currently what it does is to copy all the files contained in
shared-jsps/src/main/webapp... I don't find a solution to this issue.
Any ideas would be appreciated ?
Tiggy
--
View this message in context:
http://maven.40175.n5.nabble.com/War-project-Links-folder-tp3304454p3304454.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]