[jbosstools-issues] [JBoss JIRA] (JBIDE-10158) When importing a maven project no "WebContent" smart directory is created
Fred Bricon (Resolved) (JIRA)
jira-events at lists.jboss.org
Mon Nov 14 08:08:40 EST 2011
[ https://issues.jboss.org/browse/JBIDE-10158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fred Bricon resolved JBIDE-10158.
---------------------------------
Resolution: Rejected
The Maven integration for Eclipse WTP (m2e-wtp) configures the eclipse project by reading the pom.xml.
By default, maven war packaging projects use src/main/webapp to hold web (re)sources, instead of the Eclipse WebContent folder.
src/main/webapp can be accessed "quicker" from the UI if, in the Project Explorer view, you open the "Deployed Resources" node. More info on that in http://community.jboss.org/en/tools/blog/2011/06/23/m2eclipse-wtp-0130-new-noteworthy
In order to use Eclipse's WebContent folder, you'd have to specify the warSourceDirectory like :
{noformat}
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<warSourceDirectory>WebContent</warSourceDirectory>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
{noformat}
> When importing a maven project no "WebContent" smart directory is created
> -------------------------------------------------------------------------
>
> Key: JBIDE-10158
> URL: https://issues.jboss.org/browse/JBIDE-10158
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 3.3.0.M4
> Reporter: Jay Balunas
> Assignee: Fred Bricon
>
> Import the project attached to this jira. The pom.xml is of type "war", but no "WebContent" smart directory is created. This project is straight HTML/JS/CSS so there is no JSF - perhaps that makes this get skipped?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list