Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb2c96ed19 | ||
|
|
7e88b014a3 | ||
|
|
0c4e9f103b | ||
|
|
9491e79b51 |
5 changed files with 250 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: aduna-root-poms
|
||||
# $Id$
|
||||
NAME := aduna-root-poms
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
99
aduna-root-pom-13.pom
Normal file
99
aduna-root-pom-13.pom
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
<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">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.aduna-software</groupId>
|
||||
<artifactId>aduna-opensource-root-pom</artifactId>
|
||||
<version>4</version>
|
||||
</parent>
|
||||
|
||||
<groupId>info.aduna</groupId>
|
||||
<artifactId>aduna-root-pom</artifactId>
|
||||
<version>13</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Aduna</name>
|
||||
<description>Aduna Open Source projects</description>
|
||||
<url>http://www.aduna-software.org/</url>
|
||||
|
||||
<organization>
|
||||
<name>Aduna</name>
|
||||
<url>http://www.aduna-software.com/</url>
|
||||
</organization>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Aduna BSD license</name>
|
||||
<url>http://repo.aduna-software.org/legal/aduna-bsd.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
<comments>A BSD-style OSS license</comments>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- Logging: SLF4J and logback -->
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-api</artifactId>
|
||||
<version>1.5.10</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>slf4j-simple</artifactId>
|
||||
<version>1.5.10</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.slf4j</groupId>
|
||||
<artifactId>jcl-over-slf4j</artifactId>
|
||||
<version>1.5.10</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-core</artifactId>
|
||||
<version>0.9.18</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
<artifactId>logback-classic</artifactId>
|
||||
<version>0.9.18</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Testing: JUnit -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<version>4.7</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<!-- 2.0-beta-9 fixes an incompatibility with svn 1.5 and newer,
|
||||
see http://jira.codehaus.org/browse/MRELEASE-375 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-release-plugin</artifactId>
|
||||
<version>2.0-beta-9</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://repo.aduna-software.org/svn/info.aduna/</connection>
|
||||
<developerConnection>scm:svn:https://repo.aduna-software.org/svn/info.aduna/</developerConnection>
|
||||
<url>http://repo.aduna-software.org/websvn/listing.php?repname=aduna&path=/info.aduna/</url>
|
||||
</scm>
|
||||
|
||||
</project>
|
||||
70
aduna-root-poms.spec
Normal file
70
aduna-root-poms.spec
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
Name: aduna-root-poms
|
||||
Version: 13
|
||||
Release: 1%{?dist}
|
||||
Summary: Root POMs for Aduna projects
|
||||
|
||||
Group: Development/Libraries
|
||||
License: BSD
|
||||
URL: http://www.aduna-software.org/
|
||||
Source0: http://repo.aduna-software.org/maven2/releases/info/aduna/aduna-root-pom/%{version}/aduna-root-pom-%{version}.pom
|
||||
Source1: http://repo.aduna-software.org/svn/pom.xml
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: jpackage-utils >= 0:1.7.5
|
||||
Requires: jpackage-utils >= 0:1.7.5
|
||||
Requires(post): jpackage-utils >= 0:1.7.5
|
||||
Requires(postun): jpackage-utils >= 0:1.7.5
|
||||
|
||||
# Require everything that's in the POMs
|
||||
Requires: slf4j
|
||||
Requires: logback
|
||||
Requires: junit
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -c -T
|
||||
cp %SOURCE0 .
|
||||
cp %SOURCE1 .
|
||||
|
||||
%build
|
||||
# Nothing to do ...
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
|
||||
install -pm 644 aduna-root-pom-%{version}.pom $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-aduna-root-pom.pom
|
||||
install -pm 644 pom.xml $RPM_BUILD_ROOT/%{_datadir}/maven2/poms/JPP-aduna-opensource-root-pom.pom
|
||||
|
||||
%add_to_maven_depmap info.aduna aduna-root-pom %{version} JPP aduna-root-pom
|
||||
%add_to_maven_depmap org.aduna-software aduna-opensource-root-pom 3 JPP aduna-opensource-root-pom
|
||||
|
||||
%post
|
||||
%update_maven_depmap
|
||||
|
||||
%postun
|
||||
%update_maven_depmap
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) %{_mavendepmapfragdir}/*
|
||||
%{_datadir}/maven2/poms/*.pom
|
||||
|
||||
%changelog
|
||||
* Mon Feb 1 2010 Mary Ellen Foster <mefoster at gmail.com> 13-1
|
||||
- Update to version 13 of the root POM which includes the license
|
||||
- Update to version 4 of the parent POM (license added)
|
||||
|
||||
* Mon Nov 30 2009 Mary Ellen Foster <mefoster at gmail.com> 11-2
|
||||
- Add all of the libraries referenced in the POMs to the package requirements
|
||||
- Fix versioning and use version macro for source filename
|
||||
|
||||
* Fri Nov 20 2009 Mary Ellen Foster <mefoster at gmail.com> 11-1
|
||||
- Initial package
|
||||
81
pom.xml
Normal file
81
pom.xml
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
<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">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.aduna-software</groupId>
|
||||
<artifactId>aduna-opensource-root-pom</artifactId>
|
||||
<version>4</version>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<name>Aduna Open Source root pom</name>
|
||||
<description>Aduna Open Source root pom</description>
|
||||
<url>http://www.aduna-software.org/</url>
|
||||
|
||||
<organization>
|
||||
<name>Aduna</name>
|
||||
<url>http://www.aduna-software.com/</url>
|
||||
</organization>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>Aduna BSD license</name>
|
||||
<url>http://repo.aduna-software.org/legal/aduna-bsd.txt</url>
|
||||
<distribution>repo</distribution>
|
||||
<comments>A BSD-style OSS license</comments>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<repositories>
|
||||
<repository>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>false</enabled>
|
||||
</snapshots>
|
||||
<id>aduna-opensource.releases</id>
|
||||
<name>Aduna Open Source - Maven releases</name>
|
||||
<url>http://repo.aduna-software.org/maven2/releases</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<releases>
|
||||
<enabled>false</enabled>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
</snapshots>
|
||||
<id>aduna-opensource.snapshots</id>
|
||||
<name>Aduna Open Source - Maven snapshots</name>
|
||||
<url>http://repo.aduna-software.org/maven2/snapshots</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>aduna-opensource.releases.deploy</id>
|
||||
<name>Aduna Open Source - Maven releases</name>
|
||||
<url>scp://repo.aduna-software.org:2222/var/local/hosts/repo.aduna-software.org/maven2/releases</url>
|
||||
<uniqueVersion>false</uniqueVersion>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>aduna-opensource.snapshots.deploy</id>
|
||||
<name>Aduna Open Source - Maven snapshots</name>
|
||||
<url>scp://repo.aduna-software.org:2222/var/local/hosts/repo.aduna-software.org/maven2/snapshots</url>
|
||||
<uniqueVersion>false</uniqueVersion>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<properties>
|
||||
<organization.logo>http://repo.aduna-software.org/legal/aduna-logo.png</organization.logo>
|
||||
</properties>
|
||||
|
||||
<scm>
|
||||
<connection>scm:svn:http://repo.aduna-software.org/svn/</connection>
|
||||
<developerConnection>scm:svn:https://repo.aduna-software.org/svn/</developerConnection>
|
||||
<url>http://repo.aduna-software.org/websvn/</url>
|
||||
</scm>
|
||||
|
||||
</project>
|
||||
Reference in a new issue