Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed useless target files

  • Loading branch information...
commit 4c5dadbd253428be8d521640d4a317d4267ae950 1 parent accd436
meri authored
125 target/classes/META-INF/maven/org.meri/org.meri.jpa.tutorial/pom.xml
View
@@ -1,125 +0,0 @@
-<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/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.meri</groupId>
- <artifactId>org.meri.jpa.tutorial</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <packaging>jar</packaging>
-
- <name>org.meri.jpa.tutorial</name>
-
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <openjpa.version>2.1.1</openjpa.version>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.1</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.openjpa</groupId>
- <artifactId>openjpa-all</artifactId>
- <version>${openjpa.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.derby</groupId>
- <artifactId>derby</artifactId>
- <version>10.8.2.2</version>
- </dependency>
- <dependency>
- <groupId>org.liquibase</groupId>
- <artifactId>liquibase-core</artifactId>
- <version>2.0.3</version>
- </dependency>
- <dependency>
- <groupId>simple-jndi</groupId>
- <artifactId>simple-jndi</artifactId>
- <version>0.11.4.1</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>openjpa-maven-plugin</artifactId>
- <version>1.2</version>
- <configuration>
- <includes>org/meri/jpa/*/entity/*.class</includes>
- <addDefaultConstructor>true</addDefaultConstructor>
- <enforcePropertyRestrictions>true</enforcePropertyRestrictions>
- </configuration>
- <executions>
- <execution>
- <id>enhancer</id>
- <phase>process-classes</phase>
- <goals>
- <goal>enhance</goal>
- </goals>
- </execution>
- </executions>
- <dependencies>
- <dependency>
- <groupId>org.apache.openjpa</groupId>
- <artifactId>openjpa</artifactId>
- <!-- set the version to be the same as the level in your runtime -->
- <version>${openjpa.version}</version>
- </dependency>
- </dependencies>
- </plugin>
- </plugins>
- <pluginManagement>
- <plugins>
-
- <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>1.0.0</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>
- org.codehaus.mojo
- </groupId>
- <artifactId>
- openjpa-maven-plugin
- </artifactId>
- <versionRange>
- [1.0,)
- </versionRange>
- <goals>
- <goal>enhance</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <execute><runOnIncremental>true</runOnIncremental></execute>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
-
-
- </plugins>
- </pluginManagement>
- </build>
-
-</project>
19 target/classes/META-INF/persistence.xml
View
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<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_2_0.xsd"
- version="2.0" xmlns="http://java.sun.com/xml/ns/persistence">
- <persistence-unit name="Simplest" transaction-type="RESOURCE_LOCAL">
- <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
- <jta-data-source>jdbc/jpaDemoDB</jta-data-source>
-
- <!-- JPA entities must be registered here -->
- <class>org.meri.jpa.simplest.entity.Person</class>
-
- <!-- other properties -->
- <properties>
- <!-- Do not use in production, this will generate a lot of output. -->
- <!-- <property name="openjpa.Log" value="SQL=TRACE"/> -->
- </properties>
-
- </persistence-unit>
-</persistence>
35 target/test-classes/org/meri/jpa/simplest/db.changelog.xml
View
@@ -1,35 +0,0 @@
-<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
-http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
-
- <changeSet id="1" author="meri">
- <comment>Create table structure for users and shared items.</comment>
-
- <createTable tableName="person">
- <column name="user_id" type="integer">
- <constraints primaryKey="true" nullable="false" />
- </column>
- <column name="username" type="varchar(1500)">
- <constraints unique="true" nullable="false" />
- </column>
- <column name="firstname" type="varchar(1500)"/>
- <column name="lastname" type="varchar(1500)"/>
- <column name="homepage" type="varchar(1500)"/>
- <column name="about" type="varchar(1500)"/>
- </createTable>
- </changeSet>
-
- <changeSet id="2" author="meri" context="test">
- <comment>Add some test data.</comment>
- <insert tableName="person">
- <column name="user_id" valueNumeric="1" />
- <column name="userName" value="slash" />
- <column name="firstName" value="Simon" />
- <column name="lastName" value="Worth" />
- <column name="homePage" value="http://www.slash.blogs.net" />
- <column name="about" value="I like nature and writing my blog. The blog contains my opinions about everything." />
- </insert>
- </changeSet>
-
-</databaseChangeLog>
Please sign in to comment.
Something went wrong with that request. Please try again.