You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by an...@apache.org on 2014/06/02 13:07:11 UTC
svn commit: r1599164 [1/3] - in /tomee/deps/tags/openjpa-2.4.0-1598334: ./
openjpa-tools/ openjpa-tools/openjpa-maven-plugin/
openjpa-tools/openjpa-maven-plugin/src/
openjpa-tools/openjpa-maven-plugin/src/it/
openjpa-tools/openjpa-maven-plugin/src/it/d...
Author: andygumbrecht
Date: Mon Jun 2 11:07:07 2014
New Revision: 1599164
URL: http://svn.apache.org/r1599164
Log:
Missing maven plugin
Added:
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/tools/maven/testentity/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/resources/META-INF/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/resources/META-INF/persistence.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/tools/maven/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/tools/maven/test/ItDefaultSettingsTest.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/resources/reference_schema.orig_xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/MyEntityInterface.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/it/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/entities/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/entities/MyEntityImpl.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/resources/META-INF/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/resources/META-INF/persistence.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/pom.xml.disabled
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/tools/maven/testentity/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/resources/META-INF/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/resources/META-INF/persistence.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/tools/maven/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/tools/maven/test/ModifyDatabaseTest.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/java/org/apache/openjpa/tools/maven/testentity/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/resources/META-INF/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/resources/META-INF/anotherPersistence.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/main/resources/log4j.properties
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/java/org/apache/openjpa/tools/maven/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/java/org/apache/openjpa/tools/maven/test/ItNonDefaultXmlTest.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/src/test/resources/reference_schema.orig_xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/settings.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/apache/openjpa/tools/maven/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/MyEntityInterface.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/pom.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/openjpa/tools/maven/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/openjpa/tools/maven/test/it/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/entities/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/entities/MyEntityImpl.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/resources/META-INF/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/testDependencies/prjB/src/test/resources/META-INF/persistence.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/AbstractOpenJpaEnhancerMojo.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/AbstractOpenJpaMappingToolMojo.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/AbstractOpenJpaMojo.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/OpenJpaEnhancerMojo.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/OpenJpaSchemaMojo.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/OpenJpaSqlMojo.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/main/java/org/apache/openjpa/tools/maven/OpenJpaTestEnhancerMojo.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/examples/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/examples/credentials.apt
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/examples/enhance.apt
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/examples/older_versions.apt
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/examples/schema.apt
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/examples/sql.apt
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/examples/testenhance.apt
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/index.apt
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/apt/usage.apt
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/site/site.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/apache/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/apache/openjpa/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/apache/openjpa/tools/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/apache/openjpa/tools/maven/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/apache/openjpa/tools/maven/OpenJpaEnhancerMojoTest.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/apache/openjpa/tools/maven/testentity/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/apache/openjpa/tools/maven/testentity/Person.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/META-INF/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/META-INF/persistence.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/project-01/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/project-01/plugin-config.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/project-01/src/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/project-01/src/main/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/project-01/src/main/resources/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/project-01/src/main/resources/META-INF/
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/project-01/src/main/resources/META-INF/openjpa.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/test/resources/projects/project-01/src/main/resources/META-INF/orm.xml
tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/pom.xml
Modified:
tomee/deps/tags/openjpa-2.4.0-1598334/pom.xml
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/pom.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/pom.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/pom.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,181 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!--
+ Maven release plugin requires the project tag to be on a single line.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-tools</artifactId>
+ <version>2.4.0-nonfinal-1598334</version>
+ </parent>
+
+ <artifactId>openjpa-maven-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+
+ <name>OpenJPA Maven Plugin</name>
+ <description>
+ OpenJPA tasks for enhancing, SQL creation and schema mapping creation using
+ Apache maven (see http://maven.apache.org).
+ </description>
+ <inceptionYear>2011</inceptionYear>
+
+ <prerequisites>
+ <maven>2.0.6</maven>
+ </prerequisites>
+
+
+ <developers>
+ <developer>
+ <id>rahul</id>
+ <name>Rahul Thakur</name>
+ <email>rahul@codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>+12</timezone>
+ </developer>
+ <developer>
+ <id>msx</id>
+ <name>Mark Struberg</name>
+ <email>struberg@yahoo.de</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ <timezone>+1</timezone>
+ </developer>
+ </developers>
+ <dependencies>
+ <!-- dependencies needed for building maven plugins -->
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-plugin-api</artifactId>
+ <version>2.0.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-project</artifactId>
+ <version>2.0.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-utils</artifactId>
+ <version>1.5.7</version>
+ </dependency>
+
+ <!-- dependencies for OpenJPA itself -->
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-kernel</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-jdbc</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-persistence</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <!-- needed for db specific hooks -->
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-persistence-jdbc</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jpa_2.0_spec</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-validation_1.0_spec</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.bval</groupId>
+ <artifactId>org.apache.bval.bundle</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>1.2.14</version>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- For Tests -->
+ <dependency>
+ <groupId>org.apache.maven.plugin-testing</groupId>
+ <artifactId>maven-plugin-testing-harness</artifactId>
+ <version>1.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <licenses>
+ <license>
+ <name>Apache License 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-invoker-plugin</artifactId>
+ <configuration>
+ <debug>true</debug>
+ <projectsDirectory>src/it</projectsDirectory>
+ <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
+ <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+ <settingsFile>src/it/settings.xml</settingsFile>
+ <pomIncludes>
+ <pomInclude>*/pom.xml</pomInclude>
+ </pomIncludes>
+ <goals>
+ <goal>install</goal>
+ </goals>
+ </configuration>
+ <executions>
+ <execution>
+ <id>integration-test</id>
+ <goals>
+ <goal>install</goal>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/pom.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/pom.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/pom.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/pom.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!--
+ Maven release plugin requires the project tag to be on a single line.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-tools</artifactId>
+ <version>@pom.version@</version>
+ </parent>
+
+ <groupId>org.apache.openejb.patch.tools.openjpa-maven-plugin.testing</groupId>
+ <artifactId>enhance</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jpa_2.0_spec</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-validation_1.0_spec</artifactId>
+ </dependency>
+
+
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-kernel</artifactId>
+ <version>@pom.version@</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-jdbc</artifactId>
+ <version>@pom.version@</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-persistence</artifactId>
+ <version>@pom.version@</version>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${hsqldb.version}</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-maven-plugin</artifactId>
+ <version>@pom.version@</version>
+ <executions>
+ <execution>
+ <id>mappingtool</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>enhance</goal>
+ <goal>sql</goal>
+ <goal>schema</goal>
+ </goals>
+ <configuration>
+ <toolProperties>
+ <property>
+ <name>someSetting</name>
+ <value>someValue</value>
+ </property>
+ </toolProperties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java Mon Jun 2 11:07:07 2014
@@ -0,0 +1,79 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.tools.maven.testentity;
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Enumerated;
+import javax.persistence.EnumType;
+
+
+@Entity
+public class TestEntity {
+
+ @Id
+ private int xint1;
+
+ private String string1;
+
+ public enum SampleEnum {
+ Option1, Option2, Option3
+ }
+
+ @Enumerated(EnumType.STRING)
+ private SampleEnum myEnum;
+
+
+ protected TestEntity() {
+ }
+
+ public TestEntity(int int1, String string1) {
+ this.xint1 = int1;
+ this.string1 = string1;
+ }
+
+ public int getInt1() {
+ return xint1;
+ }
+
+ public void setInt1(int int1) {
+ this.xint1 = int1;
+ }
+
+ public String getString1() {
+ return string1;
+ }
+
+ public void setString1(String string1) {
+ this.string1 = string1;
+ }
+
+ public String toString() {
+ return xint1 + ":" + string1;
+ }
+
+ public SampleEnum getMyEnum() {
+ return myEnum;
+ }
+
+ public void setMyEnum(SampleEnum myEnum) {
+ this.myEnum = myEnum;
+ }
+
+}
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/resources/META-INF/persistence.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/resources/META-INF/persistence.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/main/resources/META-INF/persistence.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <!-- simply all annotated persistent entities will be part of this unit-->
+ <persistence-unit name="TestUnit">
+
+ <properties>
+ <property name="openjpa.jdbc.DBDictionary" value="hsql" />
+ <property name="openjpa.ConnectionDriverName" value="org.hsqldb.jdbcDriver" />
+ <property name="openjpa.ConnectionURL" value="jdbc:hsqldb:mem:test" />
+ <property name="openjpa.ConnectionUserName" value="sa" />
+ <property name="openjpa.ConnectionPassword" value="" />
+
+ </properties>
+
+ </persistence-unit>
+
+</persistence>
+
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/tools/maven/test/ItDefaultSettingsTest.java
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/tools/maven/test/ItDefaultSettingsTest.java?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/tools/maven/test/ItDefaultSettingsTest.java (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/java/org/apache/openjpa/tools/maven/test/ItDefaultSettingsTest.java Mon Jun 2 11:07:07 2014
@@ -0,0 +1,141 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openjpa.tools.maven.test;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileReader;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.util.Arrays;
+
+import javax.persistence.EntityManager;
+import javax.persistence.EntityManagerFactory;
+import javax.persistence.Persistence;
+
+import org.apache.openjpa.enhance.PersistenceCapable;
+import org.apache.openjpa.tools.maven.testentity.TestEntity;
+
+import junit.framework.TestCase;
+
+public class ItDefaultSettingsTest extends TestCase {
+
+ /** contains the directory where all generated results are placed */
+ private final static String TARGET_DIR = "target";
+
+ /** the file containing the generated SQL syntax */
+ private final static String SQL_FILE = "database.sql";
+
+ /** if the SQL generation has been successful, the following result should be in the SQL file */
+ private final static String VALID_SQL = "CREATE TABLE TestEntity (xint1 INTEGER NOT NULL, myEnum VARCHAR(20), "
+ + "string1 VARCHAR(255), PRIMARY KEY (xint1));";
+
+ private final static String TEST_ENTITY_CLASS = "org.apache.openjpa.tools.maven.testentity.TestEntity";
+
+ /** the file containing the generated schema XML */
+ private final static String SCHEMA_FILE = "schema.xml";
+
+ /** the name of the schema XML file which should be taken as test reference */
+ private final static String REFERENCE_SCHEMA_XML = "reference_schema.orig_xml";
+
+
+ /**
+ * check if the generated classes have been enhanced.
+ * @throws Exception
+ */
+ public void testEnhancement() throws Exception
+ {
+ Class tec = Thread.currentThread().getContextClassLoader().loadClass( TEST_ENTITY_CLASS );
+
+ boolean isPersistenceCapable = false;
+ Class[] interfaces = tec.getInterfaces();
+ for ( int i = 0; i < interfaces.length; i++ )
+ {
+ if ( interfaces[ i ].getName().equals( PersistenceCapable.class.getName() ) )
+ {
+ isPersistenceCapable = true;
+ break;
+ }
+ }
+
+ assertTrue( "the class " + TEST_ENTITY_CLASS + " does not implement PersistenceCapable!", isPersistenceCapable );
+ }
+
+ /**
+ * check if the generated SQL script is correct.
+ * @throws Exception
+ */
+ public void testSqlGeneration() throws Exception
+ {
+ File sqlFile = new File( TARGET_DIR, SQL_FILE );
+ BufferedReader in = new BufferedReader( new FileReader( sqlFile ) );
+ String sqlIn = in.readLine();
+ assertEquals( VALID_SQL, sqlIn );
+ }
+
+ /**
+ * check if the generated schema.xml is correct.
+ * @throws Exception
+ */
+ public void testSchemaGeneration() throws Exception
+ {
+ File sqlFile = new File( TARGET_DIR, SCHEMA_FILE );
+ BufferedReader schemaGen = new BufferedReader( new FileReader( sqlFile ) );
+
+ InputStream schemaRefIs = Thread.currentThread().getContextClassLoader().getResourceAsStream( REFERENCE_SCHEMA_XML );
+
+ BufferedReader schemaRef = new BufferedReader( new InputStreamReader( schemaRefIs ) );
+
+ String refLine;
+ while ( (refLine = schemaRef.readLine()) != null)
+ {
+ String genLine = schemaGen.readLine();
+ assertEquals("generated schema.xml differs from expected one!", refLine, genLine );
+ }
+ }
+
+ /**
+ * This test will execute a few statements to the database
+ * @throws Exception
+ */
+ public void testPersistence() throws Exception
+
+ {
+ EntityManagerFactory emf = Persistence.createEntityManagerFactory("TestUnit");
+ EntityManager em = emf.createEntityManager();
+
+ try
+ {
+ em.getTransaction().begin();
+
+ TestEntity te = new TestEntity(1, "testentry");
+
+ em.getTransaction().commit();
+ }
+ finally
+ {
+ if (em.getTransaction().isActive())
+ {
+ em.getTransaction().rollback();
+ }
+ em.close();
+ }
+ }
+
+}
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/resources/reference_schema.orig_xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/resources/reference_schema.orig_xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/resources/reference_schema.orig_xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/default_settings/src/test/resources/reference_schema.orig_xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemas>
+ <schema>
+ <table name="TestEntity">
+ <pk column="xint1"/>
+ <column name="xint1" type="integer" not-null="true"/>
+ <column name="myEnum" type="varchar" size="20"/>
+ <column name="string1" type="varchar" size="255"/>
+ </table>
+ </schema>
+</schemas>
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/pom.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/pom.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/pom.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/pom.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!--
+ Maven release plugin requires the project tag to be on a single line.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-tools</artifactId>
+ <version>@pom.version@</version>
+ </parent>
+
+ <groupId>org.apache.openejb.patch.tools.openjpa-maven-plugin.testing</groupId>
+ <artifactId>dependingProjects</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <description>
+ This IT tests if JPA classes (in our case an Enum) in a depending artifact can properly
+ be used by another artifact.
+ </description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jpa_2.0_spec</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-validation_1.0_spec</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <modules>
+ <module>prjA</module>
+ <module>prjB</module>
+ </modules>
+</project>
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/pom.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/pom.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/pom.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/pom.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!--
+ Maven release plugin requires the project tag to be on a single line.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.openejb.patch.tools.openjpa-maven-plugin.testing</groupId>
+ <artifactId>dependingProject-A</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <description>
+ This module defines a few Interfaces which includes Enums.
+ This makes problems with the PCEnhancer of OpenJPA-1.2.1 if they are not on the
+ classpath.
+ </description>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/MyEntityInterface.java
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/MyEntityInterface.java?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/MyEntityInterface.java (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjA/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/MyEntityInterface.java Mon Jun 2 11:07:07 2014
@@ -0,0 +1,35 @@
+package org.apache.openjpa.tools.maven.test.it.dependingartifact;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * Sample interface which contains an enum
+ */
+public interface MyEntityInterface {
+
+ public static enum MessageChannel
+ {
+ SMS, MMS
+ }
+
+ public MessageChannel getMessageChannel();
+
+ public void setMessageChannel( MessageChannel messageChannel );
+}
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/pom.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/pom.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/pom.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/pom.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!--
+ Maven release plugin requires the project tag to be on a single line.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.openejb.patch.tools.openjpa-maven-plugin.testing</groupId>
+ <artifactId>dependingProject-B</artifactId>
+ <version>1.0-SNAPSHOT</version>
+
+ <description>
+ This IT tests if JPA classes (in our case an Enum) in a depending artifact can properly
+ be used by another artifact.
+ </description>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-kernel</artifactId>
+ <version>@pom.version@</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-jdbc</artifactId>
+ <version>@pom.version@</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-persistence</artifactId>
+ <version>@pom.version@</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.openejb.patch.tools.openjpa-maven-plugin.testing</groupId>
+ <artifactId>dependingProject-A</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${hsqldb.version}</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-maven-plugin</artifactId>
+ <version>@pom.version@</version>
+ <executions>
+ <execution>
+ <id>mappingtool</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>enhance</goal>
+ <goal>sql</goal>
+ <goal>schema</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/entities/MyEntityImpl.java
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/entities/MyEntityImpl.java?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/entities/MyEntityImpl.java (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/java/org/apache/openjpa/tools/maven/test/it/dependingartifact/entities/MyEntityImpl.java Mon Jun 2 11:07:07 2014
@@ -0,0 +1,61 @@
+package org.apache.openjpa.tools.maven.test.it.dependingartifact.entities;
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.Id;
+
+import org.apache.openjpa.tools.maven.test.it.dependingartifact.MyEntityInterface;
+
+/**
+ * This class implements an interface and references to an enum of that interface.
+ * This causes the PCEnhancer of OpenJPA-1.2.1 to demand the interface on
+ * the classpath.
+ */
+@Entity
+public class MyEntityImpl implements MyEntityInterface {
+
+ @Id
+ @GeneratedValue
+ private int id;
+
+ private MessageChannel messageChannel;
+
+
+ public int getId() {
+ return id;
+ }
+
+ public void setId( int id ) {
+ this.id = id;
+ }
+
+ public MessageChannel getMessageChannel()
+ {
+ return messageChannel;
+ }
+
+ public void setMessageChannel( MessageChannel messageChannel )
+ {
+ this.messageChannel = messageChannel;
+ }
+
+}
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/resources/META-INF/persistence.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/resources/META-INF/persistence.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/dependingArtifact/prjB/src/main/resources/META-INF/persistence.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+ <!--
+ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the
+ NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF
+ licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file
+ except in compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ either express or implied. See the License for the specific language governing permissions and limitations under
+ the License.
+ -->
+
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <!-- simply all annotated persistent entities will be part of this unit-->
+ <persistence-unit name="TestUnit">
+
+ <properties>
+ <property name="openjpa.jdbc.DBDictionary" value="hsql" />
+ <property name="openjpa.ConnectionDriverName" value="org.hsqldb.jdbcDriver" />
+ <property name="openjpa.ConnectionURL" value="jdbc:hsqldb:mem:test" />
+ <property name="openjpa.ConnectionUserName" value="sa" />
+ <property name="openjpa.ConnectionPassword" value="" />
+
+ </properties>
+
+ </persistence-unit>
+
+</persistence>
+
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/pom.xml.disabled
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/pom.xml.disabled?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/pom.xml.disabled (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/pom.xml.disabled Mon Jun 2 11:07:07 2014
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!--
+ Maven release plugin requires the project tag to be on a single line.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.openjpa.tools.openjpa-maven-plugin.testing</groupId>
+ <artifactId>modifyDatabase</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa</artifactId>
+ <version>@pom.version@</version>
+ </dependency>
+
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.11</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>sql-maven-plugin</artifactId>
+ <version>1.4</version>
+ <executions>
+ <execution>
+ <id>dropdatabase</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <driver>com.mysql.jdbc.Driver</driver>
+ <url>jdbc:mysql://localhost/testdb</url>
+ <username>root</username>
+ <enableAnonymousPassword>true</enableAnonymousPassword>
+ <sqlCommand>DROP TABLE TestEntity;</sqlCommand>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.11</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+
+ <plugin>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa-maven-plugin</artifactId>
+ <version>@pom.version@</version>
+ <configuration>
+ <include>
+ org/apache/openjpa/tools/maven/testentity/TestEntity.class
+ </include>
+ <sqlAction>refresh</sqlAction>
+ <modifyDatabase>true</modifyDatabase>
+ <connectionProperties>
+ driverClass=com.mysql.jdbc.Driver,
+ jdbcUrl=jdbc:mysql://localhost/testdb,
+ user=root,
+ password=
+ </connectionProperties>
+
+ </configuration>
+ <executions>
+ <execution>
+ <id>mappingtool</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>enhance</goal>
+ <goal>sql</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ <version>5.1.11</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+
+ </plugins>
+ </build>
+
+</project>
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/java/org/apache/openjpa/tools/maven/testentity/TestEntity.java Mon Jun 2 11:07:07 2014
@@ -0,0 +1,54 @@
+package org.apache.openjpa.tools.maven.testentity;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import javax.persistence.Entity;
+import javax.persistence.Id;
+
+
+@Entity
+public class TestEntity {
+
+ @Id
+ private int xint1;
+
+ private String string1;
+
+ public int getInt1() {
+ return xint1;
+ }
+
+ public void setInt1(int int1) {
+ this.xint1 = int1;
+ }
+
+ public String getString1() {
+ return string1;
+ }
+
+ public void setString1(String string1) {
+ this.string1 = string1;
+ }
+
+ public String toString() {
+ return xint1 + ":" + string1;
+ }
+
+}
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/resources/META-INF/persistence.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/resources/META-INF/persistence.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/resources/META-INF/persistence.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/main/resources/META-INF/persistence.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+ <!--
+ Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the
+ NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF
+ licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file
+ except in compliance with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ either express or implied. See the License for the specific language governing permissions and limitations under
+ the License.
+ -->
+
+<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
+ version="1.0">
+
+ <!-- simply all annotated persistent entities will be part of this unit-->
+ <persistence-unit name="TestUnit">
+
+ <properties>
+ <property name="openjpa.jdbc.DBDictionary" value="mysql" />
+ <property name="openjpa.ConnectionDriverName" value="com.mysql.jdbc.Driver" />
+ <property name="openjpa.ConnectionURL" value="jdbc:mysql://localhost/testdb" />
+ <property name="openjpa.ConnectionUserName" value="root" />
+ <property name="openjpa.ConnectionPassword" value="" />
+
+ </properties>
+
+ </persistence-unit>
+
+</persistence>
+
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/tools/maven/test/ModifyDatabaseTest.java
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/tools/maven/test/ModifyDatabaseTest.java?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/tools/maven/test/ModifyDatabaseTest.java (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/modifyDatabase/src/test/java/org/apache/openjpa/tools/maven/test/ModifyDatabaseTest.java Mon Jun 2 11:07:07 2014
@@ -0,0 +1,70 @@
+package org.apache.openjpa.tools.maven.test;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileReader;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.util.Arrays;
+
+import javax.persistence.EntityManager;
+import javax.persistence.EntityManagerFactory;
+import javax.persistence.Persistence;
+
+import org.apache.openjpa.enhance.PersistenceCapable;
+import org.apache.openjpa.tools.maven.testentity.TestEntity;
+
+import junit.framework.TestCase;
+
+public class ModifyDatabaseTest extends TestCase {
+
+
+ /**
+ * check if the generated classes have been enhanced.
+ * @throws Exception
+ */
+ public void testDatabaseWrite() throws Exception
+ {
+ EntityManagerFactory emf = Persistence.createEntityManagerFactory( "TestUnit" );
+ assertNotNull( emf );
+
+ EntityManager em = emf.createEntityManager();
+ assertNotNull( em );
+
+ try
+ {
+ em.getTransaction().begin();
+
+ TestEntity entity = new TestEntity();
+ entity.setInt1( 4711 );
+ entity.setString1( "myVal" );
+
+ em.persist( entity );
+ em.getTransaction().commit();
+ }
+ finally
+ {
+ em.close();
+ }
+ }
+
+}
Added: tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/pom.xml
URL: http://svn.apache.org/viewvc/tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/pom.xml?rev=1599164&view=auto
==============================================================================
--- tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/pom.xml (added)
+++ tomee/deps/tags/openjpa-2.4.0-1598334/openjpa-tools/openjpa-maven-plugin/src/it/nonDefaultPersistenceXml/pom.xml Mon Jun 2 11:07:07 2014
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<!--
+ Maven release plugin requires the project tag to be on a single line.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-tools</artifactId>
+ <version>@pom.version@</version>
+ </parent>
+
+ <groupId>org.apache.openejb.patch.tools.openjpa-maven-plugin.testing</groupId>
+ <artifactId>nonDefaultPersistenceXml</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jpa_2.0_spec</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-validation_1.0_spec</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-kernel</artifactId>
+ <version>@pom.version@</version>
+ </dependency>
+
+ <dependency>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ <version>${hsqldb.version}</version>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.openejb.patch</groupId>
+ <artifactId>openjpa-maven-plugin</artifactId>
+ <version>@pom.version@</version>
+ <configuration>
+ <persistenceXmlFile>${basedir}/src/main/resources/META-INF/anotherPersistence.xml</persistenceXmlFile>
+ </configuration>
+ <executions>
+ <execution>
+ <id>mappingtool</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>enhance</goal>
+ <goal>sql</goal>
+ <goal>schema</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>