You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2014/08/27 21:19:36 UTC

svn commit: r1620961 - in /db/derby/code/trunk/maven2: SetDerbyVersion.java optionaltools/ optionaltools/pom.xml

Author: rhillegas
Date: Wed Aug 27 19:19:36 2014
New Revision: 1620961

URL: http://svn.apache.org/r1620961
Log:
DERBY-6720: Add support for publishing the derbyoptionaltools jar to the maven repositories; commit derby-6720-01-aa-installOptionaltools.diff.

Added:
    db/derby/code/trunk/maven2/optionaltools/
    db/derby/code/trunk/maven2/optionaltools/pom.xml   (with props)
Modified:
    db/derby/code/trunk/maven2/SetDerbyVersion.java

Modified: db/derby/code/trunk/maven2/SetDerbyVersion.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/maven2/SetDerbyVersion.java?rev=1620961&r1=1620960&r2=1620961&view=diff
==============================================================================
--- db/derby/code/trunk/maven2/SetDerbyVersion.java (original)
+++ db/derby/code/trunk/maven2/SetDerbyVersion.java Wed Aug 27 19:19:36 2014
@@ -68,6 +68,7 @@ public class SetDerbyVersion {
         "derbynet.jar",
         "derbyclient.jar",
         "derbytools.jar",
+        "derbyoptionaltools.jar",
         // Ignore derbyTesting.jar, not part of the Maven 2 artifacts.
         // "derbyTesting.jar",
         // Ignore derbyrun.jar, not part of the Maven 2 artifacts.

Added: db/derby/code/trunk/maven2/optionaltools/pom.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/maven2/optionaltools/pom.xml?rev=1620961&view=auto
==============================================================================
--- db/derby/code/trunk/maven2/optionaltools/pom.xml (added)
+++ db/derby/code/trunk/maven2/optionaltools/pom.xml Wed Aug 27 19:19:36 2014
@@ -0,0 +1,60 @@
+<?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.
+  -->
+<project
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+    xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.derby</groupId>
+  <parent>
+    <groupId>org.apache.derby</groupId>
+    <artifactId>derby-project</artifactId>
+    <version>ALPHA_VERSION</version>
+  </parent>
+  <artifactId>derbyoptionaltools</artifactId>
+  <name>Apache Derby Optional Tools</name>
+  <description>Contains optional tools for use with Derby.</description>
+
+  <build>
+    <plugins>
+        <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+                <execution>
+                    <phase>package</phase>
+                    <configuration>
+                        <tasks>
+
+                <copy file="${basedir}/../../jars/${sanity}/derbyoptionaltools.jar"
+                      tofile="${basedir}/target/${project.build.finalName}.jar"
+                      overwrite="true"/>
+
+                        </tasks>
+                    </configuration>
+                    <goals>
+                        <goal>run</goal>
+                    </goals>
+                </execution>
+            </executions>
+        </plugin>
+    </plugins>
+  </build>
+
+</project>

Propchange: db/derby/code/trunk/maven2/optionaltools/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native