[not-yet-commons-ssl] Add POM file for Maven.

Andrew Robinson arobinso at fedoraproject.org
Mon Aug 6 20:39:05 UTC 2012


commit ceeb871284a2789dbb9437721d29fc42b7c33f4a
Author: arobinso <arobinso at redhat.com>
Date:   Mon Aug 6 16:38:19 2012 -0400

    Add POM file for Maven.

 not-yet-commons-ssl-0.3.11.pom |   37 +++++++++++++++++++++++++++++++++++++
 not-yet-commons-ssl.spec       |   12 +++++++++++-
 2 files changed, 48 insertions(+), 1 deletions(-)
---
diff --git a/not-yet-commons-ssl-0.3.11.pom b/not-yet-commons-ssl-0.3.11.pom
new file mode 100644
index 0000000..63c7845
--- /dev/null
+++ b/not-yet-commons-ssl-0.3.11.pom
@@ -0,0 +1,37 @@
+<?xml version="1.0"?><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.    
+  -->
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>ca.juliusdavies</groupId>
+  <artifactId>not-yet-commons-ssl</artifactId>
+  <name>Not Yet Commons SSL</name>
+  <version>0.3.11</version>
+  <description>A Java SSL component library</description>
+  <url>http://juliusdavies.ca/commons-ssl</url>
+  <licenses>
+    <license>
+      <name>Apache License v2</name>
+      <url>http://juliusdavies.ca/commons-ssl/LICENSE.txt</url>
+    </license>
+  </licenses>
+  <scm>
+    <connection>http://juliusdavies.ca/svn/not-yet-commons-ssl/tags/commons-ssl-0.3.11/</connection>
+    <url>http://juliusdavies.ca/svn/viewvc.cgi/not-yet-commons-ssl/tags/commons-ssl-0.3.11/</url>
+  </scm>
+</project>
\ No newline at end of file
diff --git a/not-yet-commons-ssl.spec b/not-yet-commons-ssl.spec
index 73117ce..3a07514 100644
--- a/not-yet-commons-ssl.spec
+++ b/not-yet-commons-ssl.spec
@@ -1,6 +1,6 @@
 Name:           not-yet-commons-ssl
 Version:        0.3.11
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Library to make SSL and Java Easier
 
 Group:          Development/Libraries
@@ -8,6 +8,7 @@ License:        ASL 2.0
 URL:            http://juliusdavies.ca/commons-ssl
 Source0:        http://juliusdavies.ca/commons-ssl/not-yet-commons-ssl-0.3.11.zip
 Source1:        %{name}-MANIFEST.MF
+Source2:		%{name}-%{version}.pom
 BuildArch:      noarch
 
 BuildRequires:  ant
@@ -59,15 +60,24 @@ cp -p build/commons-ssl.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
 mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
 cp -rp build/javadocs/*  \
 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+install -dm 755 %{buildroot}/%{_mavenpomdir}
+install -pm 644 %{SOURCE2} \
+    $RPM_BUILD_ROOT/%{_mavenpomdir}/JPP-%{name}.pom
+%add_maven_depmap JPP-%{name}.pom %{name}.jar
 
 %files
 %{_javadir}/*
 %doc LICENSE.txt NOTICE.txt README.txt
+%{_mavendepmapfragdir}/%{name}
+%{_mavenpomdir}/JPP-%{name}.pom
 
 %files javadoc
 %{_javadocdir}/%{name}
 
 %changelog
+* Mon Aug 06 2012 Andrew Robinson <arobinso at redhat.com> 0.3.11-8
+- Add POM file for Maven.
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.11-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list