You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2011/10/24 06:05:59 UTC

svn commit: r1188020 - in /lucene/dev/trunk/solr/contrib/langid: build.xml lib/jsonic-pom.xml.template lib/langdetect-pom.xml.template

Author: sarowe
Date: Mon Oct 24 04:05:58 2011
New Revision: 1188020

URL: http://svn.apache.org/viewvc?rev=1188020&view=rev
Log:
SOLR-2839: Maven configuration: added release packaging for non-mavenized dependencies jsonic and langdetect

Added:
    lucene/dev/trunk/solr/contrib/langid/lib/jsonic-pom.xml.template
    lucene/dev/trunk/solr/contrib/langid/lib/langdetect-pom.xml.template
Modified:
    lucene/dev/trunk/solr/contrib/langid/build.xml

Modified: lucene/dev/trunk/solr/contrib/langid/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/langid/build.xml?rev=1188020&r1=1188019&r2=1188020&view=diff
==============================================================================
--- lucene/dev/trunk/solr/contrib/langid/build.xml (original)
+++ lucene/dev/trunk/solr/contrib/langid/build.xml Mon Oct 24 04:05:58 2011
@@ -31,4 +31,12 @@
     <path refid="solr.base.classpath"/>   
   </path>
 
+  <dirname file="${ant.file.solr-langid}" property="solr-langid.dir"/>
+  <target name="dist-maven" depends="jar-core,javadocs,jar-src,contrib-build.dist-maven">
+    <m2-deploy-with-pom-template pom.xml="${solr-langid.dir}/lib/jsonic-pom.xml.template"
+                                 jar.file="${solr-langid.dir}/lib/jsonic-1.2.0.jar" />
+
+    <m2-deploy-with-pom-template pom.xml="${solr-langid.dir}/lib/langdetect-pom.xml.template"
+                                 jar.file="${solr-langid.dir}/lib/langdetect-r111.jar" />
+  </target>
 </project>

Added: lucene/dev/trunk/solr/contrib/langid/lib/jsonic-pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/langid/lib/jsonic-pom.xml.template?rev=1188020&view=auto
==============================================================================
--- lucene/dev/trunk/solr/contrib/langid/lib/jsonic-pom.xml.template (added)
+++ lucene/dev/trunk/solr/contrib/langid/lib/jsonic-pom.xml.template Mon Oct 24 04:05:58 2011
@@ -0,0 +1,36 @@
+<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">
+
+  <!--
+    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.
+  -->
+
+  <parent>
+    <groupId>org.apache.solr</groupId>
+    <artifactId>solr-parent</artifactId>
+    <version>@version@</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.solr</groupId>
+  <artifactId>solr-jsonic</artifactId>
+  <name>Solr Specific JSONIC</name>
+  <version>@version@</version>
+  <description>Solr Specific JSONIC v1.2.0</description>
+  <packaging>jar</packaging>
+</project>

Added: lucene/dev/trunk/solr/contrib/langid/lib/langdetect-pom.xml.template
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/langid/lib/langdetect-pom.xml.template?rev=1188020&view=auto
==============================================================================
--- lucene/dev/trunk/solr/contrib/langid/lib/langdetect-pom.xml.template (added)
+++ lucene/dev/trunk/solr/contrib/langid/lib/langdetect-pom.xml.template Mon Oct 24 04:05:58 2011
@@ -0,0 +1,36 @@
+<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">
+
+  <!--
+    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.
+  -->
+
+  <parent>
+    <groupId>org.apache.solr</groupId>
+    <artifactId>solr-parent</artifactId>
+    <version>@version@</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.solr</groupId>
+  <artifactId>solr-langdetect</artifactId>
+  <name>Solr Specific langdetect</name>
+  <version>@version@</version>
+  <description>Solr Specific langdetect r111</description>
+  <packaging>jar</packaging>
+</project>