[ 
http://jira.codehaus.org/browse/MOPENJPA-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg resolved MOPENJPA-9.
----------------------------------

    Resolution: Not A Bug

a few answers:

a) for the use canse you asked (enhancement)
Since openjpa only enhances the currently compiled classes and doesn't create a 
different output directory for them, we don't evaluate the outputDirectory for 
this mojo.

b) for the sql creation
see the <sqlFile> tag of the sql OpenJpaSqlMojo

c) for schema creation
see the <schemaFile> tag of the OpenJpaSchemaMojo

> outputDirectory property ignored?
> ---------------------------------
>
>                 Key: MOPENJPA-9
>                 URL: http://jira.codehaus.org/browse/MOPENJPA-9
>             Project: Maven 2.x OpenJPA Plugin
>          Issue Type: Bug
>            Reporter: Laird Nelson
>            Assignee: Mark Struberg
>
> Values for the outputDirectory property are ignored.
> This POM snippet:
>         <plugin>
>           <groupId>org.codehaus.mojo</groupId>
>           <artifactId>openjpa-maven-plugin</artifactId>
>           <version>LATEST</version>
>           <configuration>
>             <includes>**/jpa/*.class</includes>
>             <addDefaultConstructor>true</addDefaultConstructor>
>             <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
>             
> <outputDirectory>${project.build.directory}/openjpa-enhance</outputDirectory>
>           </configuration>
>           <executions>
>             <execution>
>               <id>enhancer</id>
>               <phase>process-classes</phase>
>               <goals>
>                 <goal>enhance</goal>
>               </goals>
>             </execution>
>           </executions>            
>         </plugin>
> ...does not result in, e.g. target/openjpa-enhance being created.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to