[Jpackage-commits] rpms/free/fest-mocks fest-1.0.1.pom, NONE, 1.1 fest-mocks-jpp-depmap.xml, NONE, 1.1 fest-mocks-settings.xml, NONE, 1.1 fest-mocks.spec, NONE, 1.1

jpackage jpackage at ryu.zarb.org
Wed Jun 16 20:33:52 CEST 2010


Update of /home/projects/jpackage/cvs/rpms/free/fest-mocks
In directory ryu.zarb.org:/tmp/lD0r4bCOLp/rpms/free/fest-mocks

Added Files:
	fest-1.0.1.pom fest-mocks-jpp-depmap.xml 
	fest-mocks-settings.xml fest-mocks.spec 
Log Message:
1.1.1-0.r1039.1.jpp6

--- NEW FILE: fest-mocks-settings.xml ---
<settings>
	<profiles>
		<profile>
			<id>JPP</id>
			<repositories>
				<repository>
					<id>internal</id>
					<layout>jpp</layout>
					<url>__JPP_URL_PLACEHOLDER__</url>
				</repository>
				<repository>
					<id>external</id>
					<layout>jpp</layout>
					<url>__JAVADIR_PLACEHOLDER__</url>
				</repository>
				<repository>
					<id>local</id>
					<layout>jpp</layout>
					<url>__MAVENREPO_DIR_PLACEHOLDER__</url>
				</repository>
			</repositories>
			<pluginRepositories>
				<pluginRepository>
					<id>plugins-internal</id>
					<name>plugins-internal</name>
					<layout>jpp</layout>
					<url>__JPP_URL_PLACEHOLDER__</url>
				</pluginRepository>
				<pluginRepository>
					<id>plugins-external</id>
					<name>plugins-external</name>
					<layout>jpp</layout>
					<url>__JAVADIR_PLACEHOLDER__</url>
				</pluginRepository>
				<pluginRepository>
					<id>plugins-maven</id>
					<name>plugins-maven</name>
					<layout>jpp</layout>
					<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>
				</pluginRepository>
			</pluginRepositories>
		</profile>
	</profiles>
	<activeProfiles>
		<activeProfile>JPP</activeProfile>
	</activeProfiles>
</settings>

--- NEW FILE: fest-1.0.1.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<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.easytesting</groupId>
  <artifactId>fest</artifactId>
  <version>1.0.1</version>
  <packaging>pom</packaging>
  <name>FEST: Fixtures for Easy Software Testing</name>
  <licenses>
    <license>
      <name>Apache License, Version 2.0</name>
      <url>LICENSE.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <organization>
    <name>FEST (Fixtures for Easy Software Testing)</name>
    <url>http://fest.easytesting.org</url>
  </organization>
  <distributionManagement>
    <repository>
      <id>codehaus</id>
      <name>CodeHaus Maven Repository</name>
      <url>dav:https://dav.codehaus.org/repository/fest/</url>
    </repository>
    <snapshotRepository>
      <id>codehaus.snapshot</id>
      <name>CodeHaus Maven Snapshot Repository</name>
      <url>dav:https://dav.codehaus.org/snapshots.repository/fest/</url>
    </snapshotRepository>
  </distributionManagement>
  <developers>
    <developer>
      <id>alexruiz</id>
      <name>Alex Ruiz</name>
      <email>alex.ruiz.05 at gmail.com</email>
      <url>http://alexruiz.developerblogs.com</url>
      <roles>
        <role>Owner</role>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>wanghy</id>
      <name>Yvonne Wang</name>
      <email>wanghy1101 at gmail.com</email>
      <roles>
        <role>Owner</role>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>steveonjava</id>
      <name>Stephen Chin</name>
      <url>http://steveonjava.com/</url>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>joel</id>
      <name>Joel Costigliola</name>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>csaba.juhos</id>
      <name>Juhos Csaba-Zsolt</name>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>szczepiq</id>
      <name>Szczepan Faber</name>
      <url>http://monkeyisland.pl/</url>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id> </id>
      <name>Simeon Fitch</name>
      <url>http://www.mseedsoft.com/</url>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>michaelhuettermann</id>
      <name>Michael Huttermann</name>
      <url>http://michaelhuettermann.blogspot.com/</url>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>konermann</id>
      <name>Ansgar Konermann</name>
      <url>http://passion.forco.de/</url>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>mel.llaguno</id>
      <name>Mel Llaguno</name>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>rrakic</id>
      <name>Remy Rakic</name>
      <url>http://twitter.com/lqd</url>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
    <developer>
      <id>tedyoung</id>
      <name>Ted Young</name>
      <url>http://tedyoung.blogsome.com/</url>
      <roles>
        <role>Developer</role>
      </roles>
    </developer>
  </developers>
  <contributors>
    <contributor>
      <name>Andres Almiray</name>
      <url>http://www.jroller.com/aalmiray/</url>
    </contributor>
    <contributor>
      <name>Francis ANDRE</name>
    </contributor>
    <contributor>
      <name>Martin Ankerl</name>
    </contributor>
    <contributor>
      <name>Jeff Bay</name>
      <url>http://www.xpteam.com/jeff/</url>
    </contributor>
    <contributor>
      <name>Martin Bachmann</name>
    </contributor>
    <contributor>
      <name>Fabien Barbero</name>
    </contributor>
    <contributor>
      <name>Volker Berlin</name>
    </contributor>
    <contributor>
      <name>Pavol Bernhauser</name>
    </contributor>
    <contributor>
      <name>Cedric Beust</name>
      <url>http://beust.com/weblog/</url>
    </contributor>
    <contributor>
      <name>William Billingsley</name>
    </contributor>
    <contributor>
      <name>Wim Boffe</name>
    </contributor>
    <contributor>
      <name>Morten Breum Mikkelsen</name>
    </contributor>
    <contributor>
      <name>Nicolae Bucalaete</name>
    </contributor>
    <contributor>
      <name>Lalitha Chandra</name>
    </contributor>
    <contributor>
      <name>Cephei</name>
    </contributor>
    <contributor>
      <name>Ricky Clarkson</name>
    </contributor>
    <contributor>
      <name>Stephen Colebourne</name>
      <url>http://www.jroller.com/scolebourne/</url>
    </contributor>
    <contributor>
      <name>Dario Consoli</name>
    </contributor>
    <contributor>
      <name>Keith Coughtrey</name>
    </contributor>
    <contributor>
      <name>Wim Deblauwe</name>
      <url>http://www.jroller.com/page/Fester</url>
      <organizationUrl>http://vigilog.sourceforge.net/</organizationUrl>
    </contributor>
    <contributor>
      <name>Mark Derricutt</name>
      <url>http://www.talios.com/</url>
    </contributor>
    <contributor>
      <name>Christian Dahn</name>
    </contributor>
    <contributor>
      <name>David DIDIER</name>
    </contributor>
    <contributor>
      <name>Olivier DOREMIEUX</name>
      <organizationUrl>http://www.newsoftwaremarketing.com/</organizationUrl>
    </contributor>
    <contributor>
      <name>Brian Duff</name>
      <url>http://blog.dubh.org/</url>
    </contributor>
    <contributor>
      <name>Xavier Dury</name>
    </contributor>
    <contributor>
      <name>Dan Dyer</name>
    </contributor>
    <contributor>
      <name>Tony Eichelberger</name>
    </contributor>
    <contributor>
      <name>Jacob Fahrenkrug</name>
    </contributor>
    <contributor>
      <name>Steve Farrell</name>
    </contributor>
    <contributor>
      <name>Woody Folsom</name>
    </contributor>
    <contributor>
      <name>Stephen Gade Esven</name>
    </contributor>
    <contributor>
      <name>Konrad Garus</name>
    </contributor>
    <contributor>
      <name>Ken Geis</name>
    </contributor>
    <contributor>
      <name>Timmo Gierke</name>
    </contributor>
    <contributor>
      <name>Martin Ginkel</name>
    </contributor>
    <contributor>
      <name>Jason Goodwin</name>
    </contributor>
    <contributor>
      <name>Andy Glover</name>
      <organization>Stelligent</organization>
      <organizationUrl>http://www.stelligent.com/</organizationUrl>
      <url>http://thediscoblog.com</url>
    </contributor>
    <contributor>
      <name>Kirill Grouchnikov</name>
      <url>http://www.pushing-pixels.org/</url>
    </contributor>
    <contributor>
      <name>Slava Gurilev</name>
    </contributor>
    <contributor>
      <name>Viktor Hedefalk</name>
    </contributor>
    <contributor>
      <name>Henning</name>
    </contributor>
    <contributor>
      <name>Leo Jay</name>
    </contributor>
    <contributor>
      <name>Marc Johen</name>
    </contributor>
    <contributor>
      <name>Gino John</name>
    </contributor>
    <contributor>
      <name>Rick Juneson</name>
    </contributor>
    <contributor>
      <name>Bernd Kappler</name>
    </contributor>
    <contributor>
      <name>Julia Koep</name>
    </contributor>
    <contributor>
      <name>Eric Kolotyluk</name>
    </contributor>
    <contributor>
      <name>Manuel Kueblboeck</name>
    </contributor>
    <contributor>
      <name>Harry L</name>
    </contributor>
    <contributor>
      <name>Felipe Leme</name>
    </contributor>
    <contributor>
      <name>Kwen K. Liu</name>
    </contributor>
    <contributor>
      <name>Michel Lohr</name>
    </contributor>
    <contributor>
      <name>Rahel L�thy</name>
    </contributor>
    <contributor>
      <name>Ivan Malygin</name>
    </contributor>
    <contributor>
      <name>Pavol Marko</name>
    </contributor>
    <contributor>
      <name>Frederik Martens</name>
    </contributor>
    <contributor>
      <name>Ewan McDougall</name>
    </contributor>
    <contributor>
      <name>Ondrej Medek</name>
    </contributor>
    <contributor>
      <name>Duncan Mills</name>
      <organization>Oracle</organization>
      <organizationUrl>http://www.oracle.com/</organizationUrl>
      <url>http://www.groundside.com/blog/DuncanMills.php</url>
    </contributor>
    <contributor>
      <name>Kyle Murphy</name>
    </contributor>
    <contributor>
      <name>Stephen Neal</name>
    </contributor>
    <contributor>
      <name>Viet Nguyen</name>
    </contributor>
    <contributor>
      <name>Stanislaw Osinski</name>
      <url>http://stanislaw.osinski.name/</url>
    </contributor>
    <contributor>
      <name>Matthias Otterbach</name>
    </contributor>
    <contributor>
      <name>Sergey Parilin</name>
    </contributor>
    <contributor>
      <name>Dan Peder Eriksen</name>
    </contributor>
    <contributor>
      <name>Alexander Potochkin</name>
      <organization>Sun Microsystems</organization>
      <organizationUrl>http://www.sun.com/</organizationUrl>
      <url>http://weblogs.java.net/blog/alexfromsun/</url>
    </contributor>
    <contributor>
      <name>Jacob Qvortrup</name>
    </contributor>
    <contributor>
      <name>Javier Sandino</name>
    </contributor>
    <contributor>
      <name>Mariusz Saternus</name>
      <organization>IDR Solutions</organization>
      <organizationUrl>http://www.idrsolutions.com/</organizationUrl>
    </contributor>
    <contributor>
      <name>Konstantin Scheglov</name>
    </contributor>
    <contributor>
      <name>Johannes Schneider</name>
    </contributor>
    <contributor>
      <name>Michael Schnell</name>
      <url>http://www.future-invent.de/</url>
    </contributor>
    <contributor>
      <name>Glen Schrader</name>
    </contributor>
    <contributor>
      <name>Uli Schrempp</name>
    </contributor>
    <contributor>
      <name>Joel Shellman</name>
    </contributor>
    <contributor>
      <name>Hayden Shorter</name>
    </contributor>
    <contributor>
      <name>Lorenzo Sicilia</name>
    </contributor>
    <contributor>
      <name>Marcos Silva Pereira</name>
    </contributor>
    <contributor>
      <name>J. Simmons</name>
    </contributor>
    <contributor>
      <name>Florian SIMON</name>
    </contributor>
    <contributor>
      <name>Tarjei Skorgenes</name>
    </contributor>
    <contributor>
      <name>John Stephi</name>
    </contributor>
    <contributor>
      <name>Eitan Suez</name>
      <url>http://weblogs.java.net/blog/eitan/</url>
    </contributor>
    <contributor>
      <name>Daniel F. Surdyk, III</name>
    </contributor>
    <contributor>
      <name>Jesper Thaning</name>
    </contributor>
    <contributor>
      <name>Steve Tom</name>
      <organization>Oracle</organization>
      <organizationUrl>http://www.oracle.com/</organizationUrl>
    </contributor>
    <contributor>
      <name>Rich Toulouse</name>
    </contributor>
    <contributor>
      <name>Andriy Tsykholyas</name>
    </contributor>
    <contributor>
      <name>Lukasz Tutaj</name>
    </contributor>
    <contributor>
      <name>Mihael Vrbanec</name>
    </contributor>
    <contributor>
      <name>Geertjan Wielenga</name>
      <organization>Sun Microsystems</organization>
      <organizationUrl>http://www.sun.com/</organizationUrl>
      <url>http://blogs.sun.com/geertjan/</url>
    </contributor>
    <contributor>
      <name>Dominik Wild</name>
    </contributor>
    <contributor>
      <name>Jeanette Winzenburg</name>
    </contributor>
    <contributor>
      <name>Geoffrey Wiseman</name>
    </contributor>
    <contributor>
      <name>Jan Zuchhold</name>
    </contributor>
  </contributors>
  <dependencyManagement>
    <dependencies>
      <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.7</version>
        <scope>test</scope>
      </dependency>
    </dependencies>
  </dependencyManagement>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <version>2.4.3</version>
        <configuration>
          <encoding>${project.build.sourceEncoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.3.1</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
          <encoding>${project.build.sourceEncoding}</encoding>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <templateFile>${basedir}/src/site/site.vm</templateFile>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.5</version>
        <configuration>
          <includes>
            <include>**/*Test.java</include>
          </includes>
          <argLine>-Xms512m -Xmx512m</argLine>
        </configuration>
      </plugin>
<!--
      <plugin>
        <groupId>com.atlassian.maven.plugins</groupId>
        <artifactId>maven-clover2-plugin</artifactId>
        <version>3.0.2</version>
        <configuration>
          <licenseLocation>../clover.license</licenseLocation>
          <includesTestSourceRoots>false</includesTestSourceRoots>
          <jdk>1.5</jdk>
        </configuration>
        <executions>
          <execution>
            <phase>pre-site</phase>
            <goals>
              <goal>instrument</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
-->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.1.2</version>
        <executions>
          <execution>
            <id>package-source</id>
            <phase>package</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
          <execution>
            <id>attach-sources</id>
            <phase>verify</phase>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-dependencies</id>
            <phase>package</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.build.directory}/lib</outputDirectory>
              <includeScope>runtime</includeScope>
              <overWriteReleases>false</overWriteReleases>
              <overWriteSnapshots>true</overWriteSnapshots>
              <excludeTransitive>true</excludeTransitive>
            </configuration>
          </execution>
          <execution>
            <id>copy-dependencies-sources</id>
            <phase>package</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.build.directory}/lib</outputDirectory>
              <classifier>sources</classifier>
              <includeScope>runtime</includeScope>
              <failOnMissingClassifierArtifact>false</failOnMissingClassifierArtifact>
              <overWriteReleases>false</overWriteReleases>
              <overWriteSnapshots>true</overWriteSnapshots>
              <excludeTransitive>true</excludeTransitive>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
        <dependencies>
          <dependency>
            <groupId>org.easytesting</groupId>
            <artifactId>fest-assembly</artifactId>
            <version>1.0</version>
          </dependency>
        </dependencies>
        <executions>
          <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
              <goal>attached</goal>
            </goals>
            <configuration>
              <!-- This is where we use our shared assembly descriptor -->
              <descriptors>
                <descriptor>assembly.xml</descriptor>
              </descriptors>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <reporting>
    <plugins>
      <plugin>
        <groupId>com.atlassian.maven.plugins</groupId>
        <artifactId>maven-clover2-plugin</artifactId>
        <configuration>
          <licenseLocation>../clover.license</licenseLocation>
          <includesTestSourceRoots>false</includesTestSourceRoots>
          <methodContexts>
           <private-constructor-noparam-nothrows>(.* )?private +[a-zA-Z0-9_$]+ *\( *\).*</private-constructor-noparam-nothrows>
           <protected-constructor-noparam-nothrows>(.* )?protected +[a-zA-Z0-9_$]+ *\( *\).*</protected-constructor-noparam-nothrows>
          </methodContexts>
          <contextFilters>@deprecated,private-constructor-noparam-nothrows,protected-constructor-noparam-nothrows</contextFilters>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.1</version>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>javancss-maven-plugin</artifactId>
        <version>2.0-beta-2</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.7</version>
        <configuration>
          <aggregate>true</aggregate>
          <minmemory>128m</minmemory>
          <maxmemory>512m</maxmemory>
          <breakiterator>true</breakiterator>
          <quiet>true</quiet>
          <source>1.5</source>
          <verbose>false</verbose>
          <linksource>true</linksource>
          <links>
            <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
            <link>http://testng.org/javadocs</link>
            <link>http://www.junit.org/junit/javadoc/4.3</link>
          </links>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>javadoc</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>jdepend-maven-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>findbugs-maven-plugin</artifactId>
        <version>2.0</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.5</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-changes-plugin</artifactId>
        <version>2.3</version>
        <configuration>
          <xmlPath>${basedir}/src/site/changes.xml</xmlPath>
          <issueLinkTemplate>
            <!--
            http://code.google.com/p/fest/issues/detail?id=%ISSUE%
            -->
            http://jira.codehaus.org/browse/%ISSUE%
          </issueLinkTemplate>
        </configuration>
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.2</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>project-team</report>
              <report>dependencies</report>
              <report>mailing-list</report>
              <report>issue-tracking</report>
              <report>license</report>
              <report>scm</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
    </plugins>
  </reporting>
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
</project>

--- NEW FILE: fest-mocks-jpp-depmap.xml ---
<dependencies>
  <dependency>
    <maven>
        <groupId>cglib</groupId>
        <artifactId>cglib</artifactId>
        <version>2.2</version>
    </maven>
    <jpp>
        <groupId>JPP</groupId>
        <artifactId>cglib</artifactId>
        <version>2.2</version>
    </jpp>
  </dependency>

</dependencies>

--- NEW FILE: fest-mocks.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 module mocks

Name:           fest-%{module}
Version:        1.1.1
Release:        0.r1039.1%{?dist}
Summary:        Fixtures for Easy Software Testing Mocks

Group:          Development/Libraries
License:        Apache License, Version 2.0
URL:            http://fest.easytesting.org/
Source0:        fest-mocks-1.1.1-r1039.tgz
# svn export http://svn.codehaus.org/fest/trunk/fest-mocks fest-mocks-1.1.1
# tar czf fest-mocks-1.1.1-r1039.tgz fest-mocks-1.1.1
Source1:        %{name}-settings.xml
Source2:        %{name}-jpp-depmap.xml
Source3:        fest-1.0.1.pom
# See http://svn.codehaus.org/fest/trunk/fest/pom.xml
#Patch0:         fest-util-pom.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  java-devel >= 0:1.6.0
BuildRequires:  maven2 >= 0:2.0.8
BuildRequires:  maven2-plugin-dependency
BuildRequires:  maven-surefire-provider-junit4
BuildRequires:  fest-assembly
BuildRequires:  easymock-classextension2
BuildRequires:  cglib
Requires:  java >= 0:1.6.0
Requires:  jpackage-utils >= 0:5.0.0
Requires:  easymock-classextension2
Requires:  cglib

Requires(post):    jpackage-utils >= 0:5.0.0
Requires(postun):  jpackage-utils >= 0:5.0.0

BuildArch:      noarch

%description
Utility methods used by FEST modules.

%package javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation

%description javadoc
%{summary}.

%prep
%setup -q

mkdir external_repo
ln -s %{_javadir} external_repo/JPP
cp -p %{SOURCE1} settings.xml
sed -i -e "s|<url>__JPP_URL_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
sed -i -e "s|<url>__JAVADIR_PLACEHOLDER__</url>|<url>file://`pwd`/external_repo</url>|g" settings.xml
sed -i -e "s|<url>__MAVENREPO_DIR_PLACEHOLDER__</url>|<url>file://`pwd`/.m2/repository</url>|g" settings.xml
sed -i -e "s|<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/maven2/plugins</url>|g" settings.xml
sed -i -e "s|<url>__ECLIPSEDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/eclipse/plugins</url>|g" settings.xml
mkdir -p .m2/repository/org/easytesting/fest/1.0.1/
cp %{SOURCE3} .m2/repository/org/easytesting/fest/1.0.1/fest-1.0.1.pom
jar xf $(build-classpath fest/assembly)
rm -rf META-INF
#%patch0 -b .sav

%build
export SETTINGS=$(pwd)/settings.xml
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
mkdir -p ${MAVEN_REPO_LOCAL}
export MAVEN_OPTS="-Dmaven2.jpp.depmap.file=%{SOURCE2} -Dmaven.repo.local=${MAVEN_REPO_LOCAL} -Dmaven.test.failure.ignore=true"
%{_bindir}/mvn-jpp \
        -e \
        -s ${SETTINGS} \
        install javadoc:javadoc


%install
rm -rf $RPM_BUILD_ROOT

install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/fest

install -m 644 target/%{name}-%{version}.jar \
       $RPM_BUILD_ROOT%{_javadir}/fest/%{module}-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir}/fest && for jar in *-%{version}*; do \
ln -s ${jar} ${jar/-%{version}/}; done)

install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -m 644 pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP.%{name}.pom
%add_to_maven_depmap org.easytesting %{name} %{version} JPP/fest %{module}

# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(-,root,root,-)
%doc LICENSE.txt
%dir %{_javadir}/fest
%{_javadir}/fest/*.jar
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}/*

%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}*

%changelog
* Wed Jun 16 2010 Ralph Apel <r.apel at r-apel.de> 1.1.1-0.r1039.1
- First JPP release





More information about the JPackage-commits mailing list