]
George Gastaldi closed FORGE-1013.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 1.3.4.Final
2.0.0.Alpha7
Resolution: Done
Fixed
Java resource path is hard-coded to src/main/resources
------------------------------------------------------
Key: FORGE-1013
URL:
https://issues.jboss.org/browse/FORGE-1013
Project: Forge
Issue Type: Bug
Components: Maven Plugin
Affects Versions: 1.3.3.Final
Reporter: Fred Bricon
Assignee: George Gastaldi
Fix For: 1.3.4.Final, 2.0.0.Alpha7
After converting a stock Eclipse project (having just an src/ source folder) to Maven
(Configure...>Convert to Maven), the java and resource directories are set to src.
When configuring persistence via forge, a new persistence.xml is generated under
src/main/resources. Turns out MavenResourceFacet has hard-coded paths for main and test
resources :
https://github.com/forge/core/blob/c178b19bbae655b04648be21e2a368a5e57cf7...
The resource paths should be inferred from the Maven pom instead, (<resources> and
<testResources> nodes)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: