[
https://jira.jboss.org/browse/JBIDE-6587?page=com.atlassian.jira.plugin.s...
]
Snjezana Peco resolved JBIDE-6587.
----------------------------------
Fix Version/s: 3.2.0.M1
Resolution: Done
The following are changes in the WAR project:
1) the relativePath element is added to the parent element.
If you check "Resolve Workspace Artifacts", this element doesn't have to be
added.
2) The JBoss Maven integration adds the resource element for every Java source directory
like the following:
<resources>
<resource>
<directory>${basedir}/src/hot</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
<resource>
<directory>${basedir}/src/main</directory>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
3) Now the sourceDirectory element is resolved based on the Java source directory
4) If the project contains more source directories, one of them is chosen as the
sourceDirectory element, the others are configured using the build-helper-maven-plugin
plugin.
5) If there are more Java output directories, all except the project's output
directory are excluded using the warSourceExcludes element.
This has been done only for a Seam WAR deployment. A Seam EAR deployment hasn't been
changed.
Committed to the trunk and the jbosstools-3.2.0.M1 branch.
Alex, thank you for your contribution.
Source directories aren't configured correctly when creating
mavenized Seam WAR Web Project
-------------------------------------------------------------------------------------------
Key: JBIDE-6587
URL:
https://jira.jboss.org/browse/JBIDE-6587
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Affects Versions: 3.1.1
Reporter: Snjezana Peco
Assignee: Snjezana Peco
Fix For: 3.2.0.M1, 3.2.x
See
http://community.jboss.org/message/548829 for more details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira