You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2019/03/17 19:13:55 UTC
svn commit: r1855718 - in /xmlbeans/branches/xmlbeans-536: build.xml
resources/maven/ resources/maven/pom.xml
Author: kiwiwings
Date: Sun Mar 17 19:13:55 2019
New Revision: 1855718
URL: http://svn.apache.org/viewvc?rev=1855718&view=rev
Log:
(XMLBEANS-536) - provide mvn-install
Added:
xmlbeans/branches/xmlbeans-536/resources/maven/
xmlbeans/branches/xmlbeans-536/resources/maven/pom.xml
Modified:
xmlbeans/branches/xmlbeans-536/build.xml
Modified: xmlbeans/branches/xmlbeans-536/build.xml
URL: http://svn.apache.org/viewvc/xmlbeans/branches/xmlbeans-536/build.xml?rev=1855718&r1=1855717&r2=1855718&view=diff
==============================================================================
--- xmlbeans/branches/xmlbeans-536/build.xml (original)
+++ xmlbeans/branches/xmlbeans-536/build.xml Sun Mar 17 19:13:55 2019
@@ -626,4 +626,30 @@
<target name="jenkins"
depends="test,package,rat-check"
description="Combines all targets that are executed in CI runs"/>
+
+
+ <available property="maven.ant.tasks.present" classname="org.apache.maven.artifact.ant.Pom"/>
+ <target name="maven.ant.tasks-check">
+ <fail unless="maven.ant.tasks.present">
+ Maven ant tasks not found.
+ Please make sure the maven-ant-tasks jar is in ANT_HOME/lib, or made
+ available to Ant using other mechanisms like -lib or CLASSPATH.
+
+ You can download the Maven Ant Tasks from https://maven.apache.org/ant-tasks/download.html
+ </fail>
+ </target>
+
+ <target name="mvn-install" depends="maven.ant.tasks-check,package" description="Install XmlBeans artifacts into the local repository. Equivalent of 'mvn install'">
+ <copy file="${basedir}/resources/maven/pom.xml" todir="${basedir}/build" filtering="true">
+ <filterset>
+ <filter token="VERSION" value="${version.base}"/>
+ </filterset>
+ </copy>
+
+ <mvn:install file="${basedir}/build/xmlbeans-${version.base}.jar">
+ <pom file="${basedir}/build/pom.xml"/>
+ <attach file="${basedir}/build/xmlbeans-${version.base}-sources.jar" type="jar" classifier="sources"/>
+ <attach file="${basedir}/build/xmlbeans-${version.base}-javadoc.jar" type="jar" classifier="javadoc"/>
+ </mvn:install>
+ </target>
</project>
\ No newline at end of file
Added: xmlbeans/branches/xmlbeans-536/resources/maven/pom.xml
URL: http://svn.apache.org/viewvc/xmlbeans/branches/xmlbeans-536/resources/maven/pom.xml?rev=1855718&view=auto
==============================================================================
--- xmlbeans/branches/xmlbeans-536/resources/maven/pom.xml (added)
+++ xmlbeans/branches/xmlbeans-536/resources/maven/pom.xml Sun Mar 17 19:13:55 2019
@@ -0,0 +1,111 @@
+<?xml version="1.0"?>
+<!--
+
+ 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>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.xmlbeans</groupId>
+ <artifactId>xmlbeans</artifactId>
+ <version>@VERSION@</version>
+
+ <name>XmlBeans</name>
+ <description>XmlBeans main jar</description>
+ <url>https://xmlbeans.apache.org/</url>
+
+ <issueManagement>
+ <system>jira</system>
+ <url>https://issues.apache.org/jira/browse/XMLBEANS</url>
+ </issueManagement>
+
+ <mailingLists>
+ <mailingList>
+ <name>POI Users List</name>
+ <subscribe>user-subscribe@poi.apache.org</subscribe>
+ <unsubscribe>user-unsubscribe@poi.apache.org</unsubscribe>
+ <archive>http://mail-archives.apache.org/mod_mbox/poi-user/</archive>
+ </mailingList>
+ <mailingList>
+ <name>POI Developer List</name>
+ <subscribe>dev-subscribe@poi.apache.org</subscribe>
+ <unsubscribe>dev-unsubscribe@poi.apache.org</unsubscribe>
+ <archive>http://mail-archives.apache.org/mod_mbox/poi-dev/</archive>
+ </mailingList>
+ </mailingLists>
+
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <scm>
+ <connection>scm:svn:https://svn.apache.org/repos/asf/xmlbeans/</connection>
+ <developerConnection>scm:svn:https://${maven.username}@svn.apache.org/repos/asf/xmlbeans/</developerConnection>
+ <url>https://svn.apache.org/repos/asf/xmlbeans/</url>
+ </scm>
+
+ <organization>
+ <name>XmlBeans</name>
+ <url>https://xmlbeans.apache.org/</url>
+ </organization>
+
+ <developers>
+ <developer>
+ <name>Cezar Andrei</name>
+ <id>cezar</id>
+ <email>cezar.andrei@no#spam#!gma|l.com</email>
+ <organization></organization>
+ </developer>
+ <developer>
+ <name>Radu Preotiuc</name>
+ <id>radup</id>
+ <email>radupr@nos#pam.gm@il.com</email>
+ <organization></organization>
+ </developer>
+ <developer>
+ <name>Radu Preotiuc</name>
+ <id>radup</id>
+ <email>radu.preotiuc-pietro@nos#pam.bea.com</email>
+ <organization></organization>
+ </developer>
+ <developer>
+ <name>Wing Yew Poon</name>
+ <id>wpoon</id>
+ <email>wing-yew.poon@nos#pam.oracle.com</email>
+ <organization></organization>
+ </developer>
+ <developer>
+ <name>Jacob Danner</name>
+ <id>jdanner</id>
+ <email>jacob.danner@nos#pam.oracle.com</email>
+ <organization></organization>
+ </developer>
+ <developer>
+ <name>POI Team</name>
+ <id>poi</id>
+ <email>user@poi.apache.org</email>
+ <organization>Apache POI</organization>
+ </developer>
+ </developers>
+
+ <dependencies/>
+
+</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org