openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pmoran <pjmo...@rogers.com>
Subject Re: Open jpa 2.0 and maven build
Date Wed, 10 Mar 2010 20:28:27 GMT

I think I have done that. Here is the pom any input would be greatly
appreciated as this problem has taken some time to resolve

  <?xml version="1.0" encoding="UTF-8" ?> 
- <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>ca.BidSpec</groupId> 
  <artifactId>emall</artifactId> 
  <name>Maven BidSpec Server Archetype</name> 
  <version>${BidSpec.version}</version> 
    <inceptionYear>2001</inceptionYear> 
  <packaging>jar</packaging> 
- <properties>
  <BidSpec.version>1.3.0</BidSpec.version> 
  <spring-test.version>3.0.0.RELEASE</spring-test.version> 
  <spring.version>3.0.0.RELEASE</spring.version> 
  <spring-security.version>3.0.1.RELEASE</spring-security.version> 
  <mysql.version>5.1.11</mysql.version> 
  <junit.version>4.7</junit.version> 
  <aspectj.version>1.6.6</aspectj.version> 
  <javaee.version>1.6</javaee.version> 
  <jdom.version>1.1</jdom.version> 
  <java.version>1.6</java.version> 
  <maven-compiler-plugin.version>2.1</maven-compiler-plugin.version> 
  <maven-scm-plugin.version>1.3</maven-scm-plugin.version> 
  <log4j.version>1.2.15</log4j.version> 
  <commons-dbcp.version>1.2.2</commons-dbcp.version> 
  <commons-pool.version>1.5.4</commons-pool.version> 
  <commons-configuration.version>1.6</commons-configuration.version> 
  <commons-collections.version>3.2.1</commons-collections.version> 
  <commons-lang.version>2.4</commons-lang.version> 
  <cglib.version>2.2</cglib.version> 
  <maven-jar-plugin.version>2.3</maven-jar-plugin.version> 
  <maven-surefire-plugin.version>2.5</maven-surefire-plugin.version> 
  <maven-eclipse-plugin.version>2.7</maven-eclipse-plugin.version> 
  <openjpa-maven-plugin.version>1.0</openjpa-maven-plugin.version> 
  <wtp.version>3.1.1</wtp.version> 
  <openJPA.version>2.0.0-beta2</openJPA.version> 
  </properties>
- <build>
  <finalName>${artifactId}-${version}</finalName> 
  <defaultGoal>package</defaultGoal> 
- <resources>
- <resource>
  <filtering>false</filtering> 
  <directory>${basedir}/src/main/resources</directory> 
- <includes>
  <include>**/*.xml</include> 
  <include>**/*.dtd</include> 
  <include>**/*.tld</include> 
  <include>**/*.properties</include> 
  </includes>
  </resource>
  </resources>
- <testResources>
- <testResource>
  <directory>${basedir}/src/test/resources</directory> 
- <includes>
  <include>**/*.xml</include> 
  <include>**/*.dtd</include> 
  <include>**/*.properties</include> 
  </includes>
  </testResource>
  </testResources>
- <plugins>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-surefire-plugin</artifactId> 
  <version>${maven-surefire-plugin.version}</version> 
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-eclipse-plugin</artifactId> 
  <version>maven-eclipse-plugin.version</version> 
- <configuration>
- <additionalProjectnatures>
 
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>

  <projectnature>org.eclipse.jdt.core.javanature</projectnature> 
  <projectnature>org.maven.ide.eclipse.maven2Nature</projectnature> 
  </additionalProjectnatures>
- <additionalBuildcommands>
 
<buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>

  <buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand> 
  <buildcommand>org.maven.ide.eclipse.maven2Builder</buildcommand> 
  </additionalBuildcommands>
  <wtpversion>${wtp.version}</wtpversion> 
  </configuration>
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-compiler-plugin</artifactId> 
  <version>${maven-compiler-plugin.version}</version> 
- <configuration>
  <source>${java.version}</source> 
  <target>${java.version}</target> 
  </configuration>
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-scm-plugin</artifactId> 
  <version>${maven-scm-plugin.version}</version> 
  </plugin>
- <plugin>
  <groupId>org.codehaus.mojo</groupId> 
  <artifactId>openjpa-maven-plugin</artifactId> 
  <version>openjpa-maven-plugin.version</version> 
- <configuration>
  <enforcePropertyRestrictions>true</enforcePropertyRestrictions> 
  </configuration>
- <executions>
- <execution>
  <id>enhancer</id> 
  <phase>process-classes</phase> 
- <goals>
  <goal>enhance</goal> 
  </goals>
  </execution>
<groupId>org.apache.openjpa</groupId> 
  <artifactId>apache-openjpa</artifactId> 
  <version>${openJPA.version}</version> 
  </executions>
<dependencies>
<dependency>

</dependency>
</dependencies>
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-jar-plugin</artifactId> 
  <version>${maven-jar-plugin.version}</version> 
- <configuration>
- <archive>
- <manifest>
  <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> 
  <addDefaultImplementationEntries>true</addDefaultImplementationEntries> 
  <addClasspath>true</addClasspath> 
  <packageName>ca.BidSpec.emall</packageName> 
  </manifest>
- <manifestEntries>
  <mode>development</mode> 
  </manifestEntries>
  </archive>
  </configuration>
  </plugin>
  </plugins>
  </build>
- <reporting>
- <plugins>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-javadoc-plugin</artifactId> 
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-project-info-reports-plugin</artifactId> 
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-jxr-plugin</artifactId> 
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-surefire-report-plugin</artifactId> 
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-changelog-plugin</artifactId> 
- <configuration>
  <type>range</type> 
  <range>90</range> 
  </configuration>
  </plugin>
- <plugin>
  <groupId>org.codehaus.mojo</groupId> 
  <artifactId>taglist-maven-plugin</artifactId> 
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-checkstyle-plugin</artifactId> 
- <configuration>
  <configLocation>${basedir}/src/main/config/checkstyle.xml</configLocation> 
  </configuration>
  </plugin>
- <plugin>
  <groupId>org.apache.maven.plugins</groupId> 
  <artifactId>maven-pmd-plugin</artifactId> 
- <configuration>
  <linkXref>true</linkXref> 
  <minimumTokens>100</minimumTokens> 
  <targetJdk>${java.version}</targetJdk> 
  </configuration>
  </plugin>
  </plugins>
  </reporting>
-- <dependencies>
- <dependency>
  <groupId>mysql</groupId> 
  <artifactId>mysql-connector-java</artifactId> 
  <version>${mysql.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-core</artifactId> 
  <version>${spring.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-aspects</artifactId> 
  <version>${spring.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-orm</artifactId> 
  <version>${spring.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-jdbc</artifactId> 
  <version>${spring.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-aop</artifactId> 
  <version>${spring.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-context</artifactId> 
  <version>${spring.version}</version> 
  <scope>runtime</scope> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-beans</artifactId> 
  <version>${spring.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-jms</artifactId> 
  <version>${spring.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-oxm</artifactId> 
  <version>${spring.version}</version> 
  </dependency>
- <dependency>
  <groupId>junit</groupId> 
  <artifactId>junit</artifactId> 
  <version>${junit.version}</version> 
  <scope>compile</scope> 
  </dependency>
- <dependency>
  <groupId>javax.j2ee</groupId> 
  <artifactId>javaee</artifactId> 
  <version>${javaee.version}</version> 
  </dependency>
- <dependency>
  <groupId>com.sun</groupId> 
  <artifactId>tools</artifactId> 
  <version>${javaee.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.jdom</groupId> 
  <artifactId>jdom</artifactId> 
  <version>${jdom.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.aspectj</groupId> 
  <artifactId>aspectjrt</artifactId> 
  <version>${aspectj.version}</version> 
  <type>jar</type> 
  <scope>compile</scope> 
  </dependency>
- <dependency>
  <groupId>org.aspectj</groupId> 
  <artifactId>aspectjweaver</artifactId> 
  <version>${aspectj.version}</version> 
  </dependency>
- <dependency>
  <groupId>commons-pool</groupId> 
  <artifactId>commons-pool</artifactId> 
  <version>${commons-pool.version}</version> 
  </dependency>
- <dependency>
  <groupId>commons-dbcp</groupId> 
  <artifactId>commons-dbcp</artifactId> 
  <version>${commons-dbcp.version}</version> 
  </dependency>
- <dependency>
  <groupId>commons-configuration</groupId> 
  <artifactId>commons-configuration</artifactId> 
  <version>${commons-configuration.version}</version> 
  </dependency>
- <dependency>
  <groupId>commons-collections</groupId> 
  <artifactId>commons-collections</artifactId> 
  <version>${commons-collections.version}</version> 
  </dependency>
- <dependency>
  <groupId>commons-lang</groupId> 
  <artifactId>commons-lang</artifactId> 
  <version>${commons-lang.version}</version> 
  </dependency>
- <dependency>
  <groupId>cglib</groupId> 
  <artifactId>cglib</artifactId> 
  <version>${cglib.version}</version> 
  </dependency>
- <dependency>
  <groupId>org.springframework</groupId> 
  <artifactId>spring-test</artifactId> 
  <version>3.0.0.RELEASE</version> 
  </dependency>
<groupId>org.apache.openjpa</groupId> 
  <artifactId>apache-openjpa</artifactId> 
  <version>${openJPA.version}</version> 
  </dependency>
  </dependencies>
- <repositories>
- <!--  For spring 3.0 RC releases 
  --> 
- <repository>
  <id>SpringSource Enterprise Bundle Repository - External Bundle
Milestones</id> 
  <url>http://repository.springsource.com/maven/bundles/milestone</url> 
  </repository>
- <repository>
  <id>SpringSource Enterprise Bundle Repository - SpringSource Bundle
Releases</id> 
  <url>http://repository.springsource.com/maven/bundles/release</url> 
  </repository>
- <repository>
  <id>SpringSource Enterprise Bundle Repository - External Bundle
Releases</id> 
  <url>http://repository.springsource.com/maven/bundles/external</url> 
  </repository>
- <repository>
  <id>Springframework milestone</id> 
  <url>http://maven.springframework.org/milestone</url> 
  </repository>
- <repository>
  <id>Maven Central</id> 
  <url>http://repo1.maven.org/maven2//</url> 
  <layout>default</layout> 
  </repository>
- <repository>
  <id>maven2-repository.dev.java.net</id> 
  <name>Java.net Repository for Maven</name> 
  <url>http://download.java.net/maven/2/</url> 
  <layout>default</layout> 
  </repository>
- <repository>
  <id>Spring-dev</id> 
  <name>Spring-dev</name> 
  <url>http://s3.amazonaws.com/maven.springframework.org/milestone</url> 
  </repository>
- <repository>
  <id>BidSpec-Enterprise</id> 
  <url>https://www.ubiquitoussoftware.com:1380</url> 
  <layout>default</layout> 
  </repository>
- <repository>
  <id>EclipseLink Repo</id> 
 
<url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>

  </repository>
  </repositories>
  </project>
-- 
View this message in context: http://n2.nabble.com/Open-jpa-2-0-and-maven-build-tp4705782p4712078.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message