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/26 22:21:53 UTC
svn commit: r979428 - in /openjpa/trunk/openjpa-tools: pom.xml
src/main/java/org/apache/openjpa/tools/MigrationTool.java
Author: dwoods
Date: Mon Jul 26 20:21:52 2010
New Revision: 979428
URL: http://svn.apache.org/viewvc?rev=979428&view=rev
Log:
OPENJPA-1745 Setup initial maven build
Added:
openjpa/trunk/openjpa-tools/pom.xml (with props)
Modified:
openjpa/trunk/openjpa-tools/src/main/java/org/apache/openjpa/tools/MigrationTool.java
Added: openjpa/trunk/openjpa-tools/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-tools/pom.xml?rev=979428&view=auto
==============================================================================
--- openjpa/trunk/openjpa-tools/pom.xml (added)
+++ openjpa/trunk/openjpa-tools/pom.xml Mon Jul 26 20:21:52 2010
@@ -0,0 +1,70 @@
+<?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>openjpa-parent</artifactId>
+ <version>2.1.0-SNAPSHOT</version>
+ </parent>
+
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa-tools</artifactId>
+ <packaging>jar</packaging>
+ <name>OpenJPA Tools</name>
+ <description>OpenJPA Tools</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.openjpa</groupId>
+ <artifactId>openjpa-lib</artifactId>
+ <version>${project.version}</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-tests</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Propchange: openjpa/trunk/openjpa-tools/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: openjpa/trunk/openjpa-tools/src/main/java/org/apache/openjpa/tools/MigrationTool.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-tools/src/main/java/org/apache/openjpa/tools/MigrationTool.java?rev=979428&r1=979427&r2=979428&view=diff
==============================================================================
--- openjpa/trunk/openjpa-tools/src/main/java/org/apache/openjpa/tools/MigrationTool.java (original)
+++ openjpa/trunk/openjpa-tools/src/main/java/org/apache/openjpa/tools/MigrationTool.java Mon Jul 26 20:21:52 2010
@@ -313,7 +313,8 @@ public class MigrationTool {
for (int i = 1; i < actions.size(); i++) {
action = actions.get(i);
- _logger.info("Processing source [" + source.getNodeName() + "] " + i + "-th Action " + action.getClass().getSimpleName());
+ _logger.info("Processing source [" + source.getNodeName() + "] "
+ + i + "-th Action " + action.getClass().getSimpleName());
Node newNode = action.run(target, source, root, consumedAttrs, consumedElements);
if (newNode != null) {