You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by dw...@apache.org on 2010/07/27 23:08:00 UTC
svn commit: r979875 - in /openjpa/tools/trunk: assembly/ openjpa-tools/
openjpa-tools/pom.xml openjpa-tools/src/ pom.xml src/
Author: dwoods
Date: Tue Jul 27 21:07:59 2010
New Revision: 979875
URL: http://svn.apache.org/viewvc?rev=979875&view=rev
Log:
OPENJPA-1747 Setup tools subproject build
Added:
openjpa/tools/trunk/assembly/
openjpa/tools/trunk/openjpa-tools/
openjpa/tools/trunk/openjpa-tools/pom.xml (with props)
openjpa/tools/trunk/openjpa-tools/src/
- copied from r979868, openjpa/tools/trunk/src/
Removed:
openjpa/tools/trunk/src/
Modified:
openjpa/tools/trunk/pom.xml
Added: openjpa/tools/trunk/openjpa-tools/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/tools/trunk/openjpa-tools/pom.xml?rev=979875&view=auto
==============================================================================
--- openjpa/tools/trunk/openjpa-tools/pom.xml (added)
+++ openjpa/tools/trunk/openjpa-tools/pom.xml Tue Jul 27 21:07:59 2010
@@ -0,0 +1,54 @@
+<?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.openjpa</groupId>
+ <artifactId>tools</artifactId>
+ <version>0.1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.openjpa.tools</groupId>
+ <artifactId>openjpa-tools</artifactId>
+ <packaging>jar</packaging>
+
+ <name>OpenJPA Tools</name>
+ <description>OpenJPA Tools</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <defaultGoal>install</defaultGoal>
+ </build>
+
+</project>
+
Propchange: openjpa/tools/trunk/openjpa-tools/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/tools/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/tools/trunk/pom.xml?rev=979875&r1=979874&r2=979875&view=diff
==============================================================================
--- openjpa/tools/trunk/pom.xml (original)
+++ openjpa/tools/trunk/pom.xml Tue Jul 27 21:07:59 2010
@@ -32,12 +32,62 @@
</parent>
<groupId>org.apache.openjpa</groupId>
- <artifactId>openjpa-tools</artifactId>
+ <artifactId>tools</artifactId>
<version>0.1.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>pom</packaging>
- <name>OpenJPA Tools</name>
- <description>OpenJPA Tools</description>
+ <name>OpenJPA Tools Parent</name>
+ <description>OpenJPA Tools Parent</description>
+
+ <url>http://openjpa.apache.org/</url>
+
+ <inceptionYear>2006</inceptionYear>
+
+ <properties>
+ <site.deploy.url>scp://people.apache.org/home/${user.name}/public_html/bval/${project.version}/staging-site</site.deploy.url>
+ </properties>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/openjpa/tools/trunk</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/openjpa/tools/trunk</developerConnection>
+ <url>http://svn.apache.org/repos/asf/openjpa/tools/trunk</url>
+ </scm>
+
+ <issueManagement>
+ <system>jira</system>
+ <url>http://issues.apache.org/jira/browse/OPENJPA</url>
+ </issueManagement>
+
+ <distributionManagement>
+ <site>
+ <id>people.apache.org</id>
+ <url>${site.deploy.url}</url>
+ </site>
+ </distributionManagement>
+
+ <mailingLists>
+ <mailingList>
+ <name>OpenJPA Developer List</name>
+ <subscribe>dev-subscribe@openjpa.apache.org</subscribe>
+ <unsubscribe>dev-unsubscribe@openjpa.apache.org</unsubscribe>
+ <post>dev@openjpa.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/openjpa-dev/</archive>
+ </mailingList>
+ <mailingList>
+ <name>OpenJPA Users List</name>
+ <subscribe>users-subscribe@openjpa.apache.org</subscribe>
+ <unsubscribe>users-unsubscribe@openjpa.apache.org</unsubscribe>
+ <post>users@openjpa.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/openjpa-users/</archive>
+ </mailingList>
+ <mailingList>
+ <name>OpenJPA Commits List</name>
+ <subscribe>commits-subscribe@openjpa.apache.org</subscribe>
+ <unsubscribe>commits-unsubscribe@openjpa.apache.org</unsubscribe>
+ <post>commits@openjpa.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/openjpa-commits/</archive>
+ </mailingList>
+ </mailingLists>
<dependencies>
<dependency>
@@ -49,16 +99,230 @@
</dependencies>
<build>
+ <defaultGoal>install</defaultGoal>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifest>
+ <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+ </manifest>
+ </archive>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ <executions>
+ <execution>
+ <id>attach-javadoc</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>javadoc</goal>
+ </goals>
+ <configuration>
+ <additionalparam>
+ ${javadoc.additionalparam}
+ </additionalparam>
+ <aggregate>true</aggregate>
+ <subpackages>org.apache</subpackages>
+ <verbose>false</verbose>
+ <maxmemory>512m</maxmemory>
+ <links>
+ <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
+ <link>http://java.sun.com/javaee/6/docs/api</link>
+ </links>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>process-remote-resources</id>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+ <resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+ </resourceBundles>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>ianal-maven-plugin</artifactId>
+ <version>1.0-alpha-1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>verify-legal-files</goal>
+ </goals>
+ <configuration>
+ <!-- Fail the build if any artifacts are missing legal files -->
+ <strict>true</strict>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.6</version>
+ <executions>
+ <execution>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludeSubProjects>false</excludeSubProjects>
+ <numUnapprovedLicenses>0</numUnapprovedLicenses>
+ <excludes>
+ <!-- General informational files -->
+ <exclude>README.txt</exclude>
+ <!-- generated content -->
+ <exclude>**/.*/**</exclude>
+ <exclude>**/*.log</exclude>
+ <exclude>**/maven-eclipse.xml</exclude>
+ <exclude>**/rat.txt</exclude>
+ <exclude>**/target/**/*</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>2.2</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-velocity</artifactId>
+ <version>1.1.3</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <!-- inherited from apache-7.pom, but need config updates -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <useReleaseProfile>false</useReleaseProfile>
+ <goals>deploy site site-deploy</goals>
+ <arguments>-Papache-release -DskipTests=true</arguments>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.3.1</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <version>1.0-beta-4</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireMavenVersion>
+ <version>[2.2.1,)</version>
+ </requireMavenVersion>
+ <requireJavaVersion>
+ <version>[1.5,)</version>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>ianal-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
<configuration>
- <source>1.5</source>
- <target>1.5</target>
+ <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
+ <revisionOnScmFailure>offline</revisionOnScmFailure>
</configuration>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
+ <!-- Don't include in all builds for now
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ </plugin>
+ -->
</plugins>
</build>
+
+ <modules>
+ <module>openjpa-tools</module>
+ <!-- <module>assembly</module> -->
+ </modules>
+
</project>