[Jpackage-commits] dist/fusesource-pom/devel fusesource-pom-1.2.tar.xz, NONE, 1.1 fusesource-pom-jpp-depmap.xml, NONE, 1.1 fusesource-pom-pom.patch, NONE, 1.1 fusesource-pom.spec, NONE, 1.1

David Walluck david at ryu.zarb.org
Mon Dec 20 21:14:04 CET 2010


Update of /home/projects/jpackage/cvs/dist/fusesource-pom/devel
In directory ryu.zarb.org:/tmp/cvs-serv27154/devel

Added Files:
	fusesource-pom-1.2.tar.xz fusesource-pom-jpp-depmap.xml 
	fusesource-pom-pom.patch fusesource-pom.spec 
Log Message:
- initial import

--- NEW FILE: fusesource-pom-jpp-depmap.xml ---
<dependencies>

  <!--<dependency>
    <maven>
      <groupId>com.thoughtworks.qdox</groupId>
      <artifactId>qdox</artifactId>
      <version>1.6.3</version>
    </maven>
    <jpp>
       <groupId>JPP</groupId>
       <artifactId>qdox</artifactId>
       <version>1.12</version>
     </jpp>
   </dependency>-->

  <dependency>
    <maven>
      <groupId>org.mortbay.jetty</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5-20081211</version>
    </maven>
    <jpp>
       <groupId>JPP</groupId>
       <artifactId>servlet_2_5_api</artifactId>
       <version>2.5</version>
     </jpp>
   </dependency>

</dependencies>

--- NEW FILE: fusesource-pom.spec ---
# Copyright (c) 2000-2010, JPackage Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the
#    distribution.
# 3. Neither the name of the JPackage Project nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

%define with()          %{expand:%%{?with_%{1}:1}%%{!?with_%{1}:0}}
%define without()       %{expand:%%{?with_%{1}:0}%%{!?with_%{1}:1}}
%define bcond_with()    %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}
%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}

%bcond_without repolib

Name:           fusesource-pom
Version:        1.2
Release:        1%{?dist}
Epoch:          0
Summary:        FuseSource POM
License:        ASL 2.0
Group:          Development/Java
URL:            http://labs.jboss.com/jboss/
# mkdir -p fusesource-pom-1.2 && cd fusesource-pom-1.2 && wget -U "" http://repo1.maven.org/maven2/org/fusesource/fusesource-pom/1.2/fusesource-pom-1.2.pom && mv fusesource-pom-1.2.pom pom.xml && cd .. 
# tar caf fusesource-pom-1.2.tar.xz fusesource-pom-1.2
Source0:        fusesource-pom-1.2.tar.xz
Source1:        fusesource-pom-jpp-depmap.xml
Patch0: fusesource-pom-pom.patch
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
Requires:       jpackage-utils
Requires:       maven2
Requires:       maven2-plugin-antrun
Requires:       maven2-plugin-clean
Requires:       maven2-plugin-compiler
Requires:       maven2-plugin-deploy
Requires:       maven2-plugin-docck
Requires:       maven2-plugin-enforcer
Requires:       maven2-plugin-install
Requires:       maven2-plugin-invoker
Requires:       maven2-plugin-jar
Requires:       maven2-plugin-javadoc
Requires:       maven2-plugin-plugin
Requires:       maven2-plugin-release
Requires:       maven2-plugin-remote-resources
Requires:       maven2-plugin-site
Requires:       maven2-plugin-source
Requires:       maven2-plugin-surefire
Requires:       maven-wagon
Requires:       plexus-maven-plugin
Requires:       modello-maven-plugin
BuildRequires:  maven2
BuildRequires:  maven2-plugin-antrun
BuildRequires:  maven2-plugin-clean
BuildRequires:  maven2-plugin-compiler
BuildRequires:  maven2-plugin-deploy
BuildRequires:  maven2-plugin-docck
BuildRequires:  maven2-plugin-enforcer
BuildRequires:  maven2-plugin-install
BuildRequires:  maven2-plugin-invoker
BuildRequires:  maven2-plugin-jar
BuildRequires:  maven2-plugin-javadoc
BuildRequires:  maven2-plugin-plugin
BuildRequires:  maven2-plugin-release
BuildRequires:  maven2-plugin-remote-resources
BuildRequires:  maven2-plugin-site
BuildRequires:  maven2-plugin-source
BuildRequires:  maven2-plugin-surefire
BuildRequires:  maven-wagon
BuildRequires:  plexus-maven-plugin
BuildRequires:  modello-maven-plugin
BuildRequires:  jpackage-utils
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
This is a shared POM parent for FuseSource Maven projects.

%if %with repolib
%package repolib
Summary:        Artifacts to be uploaded to a repository library
Group:          Development/Libraries/Java

%description repolib
Artifacts to be uploaded to a repository library.
This package is not meant to be installed but so its contents
can be extracted through rpm2cpio.
%endif

%prep
%setup -q
%patch0 -p0 -b .sav0

%build
%{_bindir}/mvn-jpp -e \
        -Dmaven2.jpp.depmap.file=%{SOURCE1} \
        -DaltDeploymentRepository=jboss-releases::default::file://$(pwd)/maven2-brew \
        deploy

%install
%{__rm} -rf %{buildroot}

%add_to_maven_depmap org.fusesource fusesource-pom %{version} JPP %{name}

%{__mkdir_p} %{buildroot}%{_datadir}/maven2/poms
%{__cp} -p pom.xml %{buildroot}%{_datadir}/maven2/poms/JPP-%{name}.pom

%if %with repolib
%{__mkdir_p} %{buildroot}%{_javadir}/repository.jboss.com/maven2-brew
%{__cp} -pr maven2-brew/* %{buildroot}%{_javadir}/repository.jboss.com/maven2-brew
%endif

%clean
%{__rm} -rf %{buildroot}

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%{_datadir}/maven2/poms/JPP-%{name}.pom
%{_mavendepmapfragdir}/%{name}

%if %with repolib
%files repolib
%defattr(0644,root,root,0755)
%dir %{_javadir}*/
%{_javadir}*/repository.jboss.com
%endif

%changelog
* Mon Dec 20 2010 Martha Benitez <mbenitez at redhat.com> - 0:1.2-1
- release

--- NEW FILE: fusesource-pom-1.2.tar.xz ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: fusesource-pom-pom.patch ---
--- pom.xml.sav0	2010-10-27 12:08:05.000000000 -0400
+++ pom.xml	2010-12-20 14:42:06.828277744 -0500
@@ -78,13 +78,13 @@
   <build>
 
     <!-- to allow us to deploy via WebDAV -->
-    <extensions>
+    <!--<extensions>
       <extension>
         <groupId>org.apache.maven.wagon</groupId>
         <artifactId>wagon-webdav-jackrabbit</artifactId>
         <version>1.0-beta-6</version>
       </extension>
-    </extensions>
+    </extensions>-->
 
      <pluginManagement>
       <plugins>
@@ -195,11 +195,11 @@
             <encoding>${project.build.sourceEncoding}</encoding>
           </configuration>
         </plugin>
-        <plugin>
+        <!--<plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-scm-plugin</artifactId>
           <version>1.3</version>
-        </plugin>
+        </plugin>-->
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-site-plugin</artifactId>
@@ -241,7 +241,7 @@
       </plugin>
 
       <!-- to allow us to use Git repositories -->
-      <plugin>
+      <!--<plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-scm-plugin</artifactId>
         <dependencies>
@@ -251,13 +251,13 @@
             <version>1.3</version>
           </dependency>
         </dependencies>
-      </plugin>
+      </plugin>-->
         
       <!-- Used the latest site plugin -->
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
-        <dependencies>
+        <!--<dependencies>
           <dependency>
             <groupId>org.apache.maven.wagon</groupId>
             <artifactId>wagon-webdav-jackrabbit</artifactId>
@@ -269,7 +269,7 @@
               </exclusion>
             </exclusions>
           </dependency>
-        </dependencies>
+        </dependencies>-->
       </plugin>
       
       <!-- Do we want to package up license resources in the JARs produced??




More information about the JPackage-commits mailing list