Tweak docs to answer MPECLIPSE-55 entry maven.gen.src=${maven.build.dir}/generated-sources ignored
better. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@116187 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.9-SNAPSHOT" date="in cvs">
|
||||
<action dev="epugh" type="add">Add property <code>maven.eclipse.resources.addtoclasspath</code> to control whether to add pom.resources etc or not. Provide backwards compatiblity.</action>
|
||||
<action dev="epugh" type="fix" issue="MPECLIPSE-53">Add property <code>maven.eclipse.resources.addtoclasspath</code> to control whether to add pom.resources etc or not. Provide backwards compatiblity.</action>
|
||||
<action dev="felipeal" type="fix" issue="MPECLIPSE-52">Set proper <code>cactus.src.dir</code></action>
|
||||
<action dev="felipeal" type="fix" issue="MPECLIPSE-51">Fixed duplicated source entry issue.</action>
|
||||
<action dev="epugh" type="add">add property maven.eclipse.addResources=false to prevent the build resources from breaking old Eclipse builds.</action>
|
||||
|
||||
@@ -107,10 +107,19 @@
|
||||
target/generated-sources would be each type of generated code.
|
||||
</p>
|
||||
<p>
|
||||
By default, the plugin will load as seperate source folders any directory found in
|
||||
<code>${maven.build.dir}/generated-sources</code>. So, if you generate your mock objects into
|
||||
<code>${maven.build.dir}/generated-sources/mocks</code> and your wsdl classes into
|
||||
<code>${maven.build.dir}/generated-sources/wsdl</code> then each of these directories will be mounted
|
||||
as source folders. Note: You must have already created these directories, otherwise the
|
||||
plugin won't know to add them as source folders. Before running <code>maven eclipse</code>
|
||||
just ensure you have already generated all of your source code.
|
||||
</p>
|
||||
<p>
|
||||
For example, if you used the XDoclet Plugin for Maven to generate Hibernate mapping files,
|
||||
they would be placed in /target/generated-sources/xdoclet/. While, if you used the
|
||||
they would be placed in <code>/target/generated-sources/xdoclet/</code>. While, if you used the
|
||||
Hibernate Plugin for Maven to generate the SQL scripts for generating a database then that
|
||||
would be placed in /target/generated-sources/schema/.
|
||||
would be placed in <code>/target/generated-sources/schema/</code>.
|
||||
<br/>
|
||||
Settings in project.properties:
|
||||
<source>
|
||||
|
||||
Reference in New Issue
Block a user