Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 586893 Details for
Bug 825308
Added maven POM
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Added maven POM
0001-Added-maven-POM.patch (text/plain), 6.57 KB, created by
gil cattaneo
on 2012-05-25 15:41:06 UTC
(
hide
)
Description:
Added maven POM
Filename:
MIME Type:
Creator:
gil cattaneo
Created:
2012-05-25 15:41:06 UTC
Size:
6.57 KB
patch
obsolete
>From cd31fbc57ef7167b239e4cb75f6a9fdfe2b8e144 Mon Sep 17 00:00:00 2001 >From: gil <puntogil@libero.it> >Date: Fri, 25 May 2012 15:41:20 +0200 >Subject: [PATCH] Added maven POM > >--- > rome-0.9-pom.patch | 13 ++++++ > rome-0.9.pom | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++ > rome.spec | 16 +++++++- > 3 files changed, 137 insertions(+), 1 deletions(-) > create mode 100644 rome-0.9-pom.patch > create mode 100644 rome-0.9.pom > >diff --git a/rome-0.9-pom.patch b/rome-0.9-pom.patch >new file mode 100644 >index 0000000..bf9c9a2 >--- /dev/null >+++ b/rome-0.9-pom.patch >@@ -0,0 +1,13 @@ >+--- pom.xml 2007-05-11 22:26:30.000000000 +0200 >++++ pom.xml-gil 2012-05-25 15:35:42.456444479 +0200 >+@@ -90,7 +90,9 @@ >+ </testResources> >+ <plugins> >+ <plugin> >+- <artifactId>surefire</artifactId> >++ <groupId>org.apache.maven.plugins</groupId> >++ <artifactId>maven-surefire-plugin</artifactId> >++ <version>2.10</version> >+ <configuration> >+ <includes> >+ <include>**/Test*.java</include> >diff --git a/rome-0.9.pom b/rome-0.9.pom >new file mode 100644 >index 0000000..051979c >--- /dev/null >+++ b/rome-0.9.pom >@@ -0,0 +1,109 @@ >+<project> >+ <modelVersion>4.0.0</modelVersion> >+ <groupId>rome</groupId> >+ <artifactId>rome</artifactId> >+ <name>ROME, RSS and atOM utilitiEs for Java</name> >+ <version>0.9</version> >+ <packaging>jar</packaging> >+ <description>All Roads Lead to ROME. >+ ROME is a set of Atom/RSS Java utilities that make it easy to work in Java with most syndication formats. >+ Today it accepts all flavors of RSS (0.90, 0.91, 0.92, 0.93, 0.94, 1.0 and 2.0) and Atom 0.3 feeds. >+ Rome includes a set of parsers and generators for the various flavors of feeds, as well as converters to convert from one format to another. >+ The parsers can give you back Java objects that are either specific for the format you want to work with, or a generic normalized SyndFeed object that lets you work on with the data without bothering about the underlying format.</description> >+ <url>https://rome.dev.java.net/</url> >+ <issueManagement> >+ <url>https://rome.dev.java.net/servlets/ProjectIssues</url> >+ </issueManagement> >+ <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> >+ <ciManagement> >+ <notifiers> >+ <notifier> >+ <configuration> >+ <address>dev@rome.dev.java.net</address> >+ </configuration> >+ </notifier> >+ </notifiers> >+ </ciManagement> >+ <inceptionYear>2004</inceptionYear> >+ <mailingLists> >+ <mailingList> >+ <name>dev@rome.dev.java.net</name> >+ <subscribe>https://rome.dev.java.net/servlets/ProjectMailingListList</subscribe> >+ <unsubscribe>https://rome.dev.java.net/servlets/ProjectMailingListList</unsubscribe> >+ <archive>https://rome.dev.java.net/servlets/SummarizeList?listName=dev</archive> >+ </mailingList> >+ </mailingLists> >+ <developers> >+ <developer> >+ <name>Alejandro Abdelnur</name> >+ <url>http://blog.sun.com/roller/page/tucu/</url> >+ <timezone>0</timezone> >+ </developer> >+ <developer> >+ <name>Elaine Chien</name> >+ <timezone>0</timezone> >+ </developer> >+ <developer> >+ <name>Patrick Chanezon</name> >+ <url>http://www.chanezon.com/pat/weblog/</url> >+ <timezone>-9</timezone> >+ </developer> >+ </developers> >+ <scm> >+ <connection>scm:cvs:pserver:guest@cvs.dev.java.net:/cvs:rome</connection> >+ <url>https://rome.dev.java.net/source/browse/rome/</url> >+ </scm> >+ <organization> >+ <name>Sun Microsystems</name> >+ <url>http://java.sun.com/</url> >+ </organization> >+ <build> >+ <sourceDirectory>src/java</sourceDirectory> >+ <testSourceDirectory>src/test</testSourceDirectory> >+ <resources> >+ <resource> >+ <directory>src/java</directory> >+ <includes> >+ <include>**/*.properties</include> >+ </includes> >+ </resource> >+ </resources> >+ <testResources> >+ <testResource> >+ <directory>${basedir}/src/data</directory> >+ <includes> >+ <include>**/*.xml</include> >+ </includes> >+ </testResource> >+ <testResource> >+ <directory>src/test</directory> >+ <includes> >+ <include>rome.properties</include> >+ </includes> >+ </testResource> >+ </testResources> >+ <plugins> >+ <plugin> >+ <artifactId>surefire</artifactId> >+ <configuration> >+ <includes> >+ <include>**/Test*.java</include> >+ </includes> >+ </configuration> >+ </plugin> >+ </plugins> >+ </build> >+ <dependencies> >+ <dependency> >+ <groupId>jdom</groupId> >+ <artifactId>jdom</artifactId> >+ <version>1.0</version> >+ </dependency> >+ </dependencies> >+</project> >diff --git a/rome.spec b/rome.spec >index 2abdd9f..b3563aa 100644 >--- a/rome.spec >+++ b/rome.spec >@@ -1,6 +1,6 @@ > Name: rome > Version: 0.9 >-Release: 10%{?dist} >+Release: 11%{?dist} > Summary: RSS and Atom Utilities > > Group: Development/Libraries >@@ -14,9 +14,12 @@ Source0: %{name}-%{version}-src.tar.gz > # # We won't have the same SHA-1 sums (class sometimes spills into # cl\nass) > # sed -i -e "/^Name/d" -e "/^SHA/d" -e "/^\ ass$/d" -e "/^$/d" META-INF/MANIFEST.MF > Source1: MANIFEST.MF >+Source2: http://repo1.maven.org/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom > BuildArch: noarch > > Patch0: %{name}-%{version}-addosgimanifest.patch >+# fix maven-surefire-plugin aId >+Patch1: %{name}-%{version}-pom.patch > > BuildRequires: java-devel >= 1:1.7.0 > BuildRequires: jpackage-utils >@@ -46,6 +49,8 @@ mkdir -p target/lib > ln -s %{_javadir}/jdom.jar target/lib > cp -p %{SOURCE1} . > %patch0 >+cp -p %{SOURCE2} pom.xml >+%patch1 > > %build > ant -Dnoget=true dist >@@ -54,17 +59,26 @@ ant -Dnoget=true dist > mkdir -p $RPM_BUILD_ROOT%{_javadir} > cp -p target/%{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar > >+mkdir -p $RPM_BUILD_ROOT%{_mavenpomdir} >+install -pm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom >+%add_maven_depmap JPP-%{name}.pom %{name}.jar >+ > mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name} > cp -rp dist/docs/api/* \ > $RPM_BUILD_ROOT%{_javadocdir}/%{name} > > %files > %{_javadir}/%{name}.jar >+%{_mavenpomdir}/JPP-%{name}.pom >+%{_mavendepmapfragdir}/%{name} > > %files javadoc > %{_javadocdir}/%{name} > > %changelog >+* Fri May 25 2012 gil cattaneo <puntogil@libero.it> 0.9-11 >+- Added maven POM >+ > * Tue Apr 17 2012 Alexander Kurtakov <akurtako@redhat.com> 0.9-10 > - Adapt to current guidelines. > >-- >1.7.7.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 825308
: 586893