[Jpackage-commits] dist/jboss-ejb3-mc-int/devel .cvsignore, 1.1, 1.2 jboss-ejb3-mc-int-jpp-depmap.xml, NONE, 1.1 jboss-ejb3-mc-int-settings.xml, NONE, 1.1 jboss-ejb3-mc-int.spec, NONE, 1.1 jboss-parent-4.pom, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Sun Jul 26 12:57:57 CEST 2009


Update of /home/projects/jpackage/cvs/dist/jboss-ejb3-mc-int/devel
In directory ryu.zarb.org:/tmp/cvs-serv29587/devel

Modified Files:
	.cvsignore sources 
Added Files:
	jboss-ejb3-mc-int-jpp-depmap.xml 
	jboss-ejb3-mc-int-settings.xml jboss-ejb3-mc-int.spec 
	jboss-parent-4.pom 
Log Message:
Import jboss-ejb3-mc-int into devel

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/jboss-ejb3-mc-int/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	26 Jul 2009 10:55:42 -0000	1.1
--- .cvsignore	26 Jul 2009 10:57:55 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ jboss-ejb3-mc-int-1.0.1.tar.gz

--- NEW FILE: jboss-ejb3-mc-int-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: jboss-ejb3-mc-int-jpp-depmap.xml ---
<dependencies>

 <dependency>
   <maven>
     <groupId>slide</groupId>
     <artifactId>slide-webdavlib</artifactId>
     <version>2.1</version>
   </maven>
   <jpp>
     <groupId>JPP/slide</groupId>
     <artifactId>slide-webdavlib</artifactId>
     <version>2.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>apache-xerces</groupId>
     <artifactId>xml-apis</artifactId>
     <version>2.9.1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>xml-commons-jaxp-1.3-apis</artifactId>
     <version>1.3.03</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>apache-xerces</groupId>
     <artifactId>xercesImpl</artifactId>
     <version>2.9.1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>xerces-j2</artifactId>
     <version>2.7.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>jboss.jbossws</groupId>
     <artifactId>jboss-jaxws</artifactId>
     <version>3.0.1-native-2.0.4.GA</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>jbossws/jboss-jaxws</artifactId>
     <version>3.0.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>sun-jaxb</groupId>
     <artifactId>jaxb-api</artifactId>
     <version>2.1.4</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>jaxb_2_1_api</artifactId>
     <version>2.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>org.jboss.ws.native</groupId>
     <artifactId>jbossws-native-jaxrpc</artifactId>
     <version>3.0.4.GA</version>
   </maven>
   <jpp>
     <groupId>JPP/jbossws</groupId>
     <artifactId>jboss-jaxrpc</artifactId>
     <version>3.0.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>wutka-dtdparser</groupId>
     <artifactId>dtdparser121</artifactId>
     <version>1.2.1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>dtdparser</artifactId>
     <version>1.2.1</version>
   </jpp>
 </dependency>


 <dependency>
   <maven>
     <groupId>org.hibernate</groupId>
     <artifactId>ejb3-persistence</artifactId>
     <version>1.0.2.GA</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>jpa_3_0_api</artifactId>
     <version>3.0</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>junit</groupId>
     <artifactId>junit4</artifactId>
     <version>4.0</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>junit44</artifactId>
     <version>4.4</version>
   </jpp>
 </dependency>

<!--

 <dependency>
   <maven>
     <groupId>slide</groupId>
     <artifactId>slide-webdavlib</artifactId>
     <version>2.1</version>
   </maven>
   <jpp>
     <groupId>JPP/slide</groupId>
     <artifactId>slide-webdavlib</artifactId>
     <version>2.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>jboss</groupId>
     <artifactId>jboss-serialization</artifactId>
     <version>1.0.3.GA</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>jboss-serialization</artifactId>
     <version>1.0.3</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>oswego-concurrent</groupId>
     <artifactId>concurrent</artifactId>
     <version>1.3.4-jboss-update1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>concurrent</artifactId>
     <version>1.3.4</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>jboss.jbossts</groupId>
     <artifactId>jbossts-common</artifactId>
     <version>4.3.0.GA</version>
   </maven>
   <jpp>
     <groupId>JPP/jbossts</groupId>
     <artifactId>jbossts-common</artifactId>
     <version>4.2.3</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>jboss.jbossts</groupId>
     <artifactId>jbossjta</artifactId>
     <version>4.3.0.GA</version>
   </maven>
   <jpp>
     <groupId>JPP/jbossts</groupId>
     <artifactId>jbossjta</artifactId>
     <version>4.2.3</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>stax</groupId>
     <artifactId>stax-api</artifactId>
     <version>1.0</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>stax_1_0_api</artifactId>
     <version>1.0</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>apache-logging</groupId>
     <artifactId>commons-logging</artifactId>
     <version>1.1.0</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>commons-logging</artifactId>
     <version>1.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>trove</groupId>
     <artifactId>trove</artifactId>
     <version>1.0.2</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>gnu-trove</artifactId>
     <version>1.0.2</version>
   </jpp>
 </dependency>



 <dependency>
   <maven>
     <groupId>trove</groupId>
     <artifactId>trove</artifactId>
     <version>1.0.2</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>gnu-trove</artifactId>
     <version>1.0.2</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>jboss</groupId>
     <artifactId>jboss-serialization</artifactId>
     <version>1.0.3.GA</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>jboss-serialization</artifactId>
     <version>1.0.3</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>org.jboss.ws.native</groupId>
     <artifactId>jbossws-native-jaxrpc</artifactId>
     <version>3.0.4.GA</version>
   </maven>
   <jpp>
     <groupId>JPP/jbossws</groupId>
     <artifactId>jboss-jaxrpc</artifactId>
     <version>3.0.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>junit</groupId>
     <artifactId>junit4</artifactId>
     <version>4.0</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>junit44</artifactId>
     <version>4.4</version>
   </jpp>
 </dependency>
-->

</dependencies>

--- NEW FILE: jboss-ejb3-mc-int.spec ---
# Copyright (c) 2000-2009, 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 section free
%define namedversion 1.0.1

Name:           jboss-ejb3-mc-int
Version:        1.0.1
Release:        1%{?dist}
Epoch:          0
Summary:        JBoss EJB3 MC integration
License:        LGPL
Group:          Development/Java
URL:            http://www.jboss.org/
Source0:        jboss-ejb3-mc-int-1.0.1.tar.gz
# svn export http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/tags/jboss-ejb3-mc-int-1.0.1/

Source1:        jboss-ejb3-mc-int-jpp-depmap.xml
Source2:        jboss-ejb3-mc-int-settings.xml
Source3:        http://repository.jboss.org/maven2/org/jboss/jboss-parent/4/jboss-parent-4.pom

BuildArch:      noarch
Requires(post): jpackage-utils >= 0:1.7.3
Requires(postun): jpackage-utils >= 0:1.7.3
BuildRequires:  jpackage-utils >= 0:1.7.3
BuildRequires:  java-devel >= 0:1.5.0
BuildRequires:  maven2 >= 0:2.0.7
BuildRequires:  maven2-plugin-compiler
BuildRequires:  maven2-plugin-install
BuildRequires:  maven2-plugin-jar
BuildRequires:  maven2-plugin-javadoc
BuildRequires:  maven2-plugin-resources
BuildRequires:  maven-release
BuildRequires:  junit44
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires:  dtdparser
BuildRequires:  jaxb_2_1_api
BuildRequires:  jbossws-native >= 0:3.0.1
BuildRequires:  jboss-ejb3-build
BuildRequires:  jpa_3_0_api
BuildRequires:  xerces-j2
BuildRequires:  xml-commons-jaxp-1.3-apis

Requires:  java >= 0:1.5.0
Requires:  jboss-ejb3-build
Requires:  dtdparser
Requires:  jaxb_2_1_api
Requires:  jbossws-native >= 0:3.0.1
Requires:  jpa_3_0_api
Requires:  xerces-j2
Requires:  xml-commons-jaxp-1.3-apis

%description
JBoss EJB3 MC integration.

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

%description javadoc
%{summary}.

%prep
%setup -q 

%build
cp %{SOURCE2} maven2-settings.xml

sed -i -e "s|<url>__JPP_URL_PLACEHOLDER__</url>|<url>file://`pwd`/m2_repo/repository</url>|g" maven2-settings.xml
sed -i -e "s|<url>__JAVADIR_PLACEHOLDER__</url>|<url>file://`pwd`/external_repo</url>|g" maven2-settings.xml
sed -i -e "s|<url>__MAVENREPO_DIR_PLACEHOLDER__</url>|<url>file://`pwd`/m2_repo/repository</url>|g" maven2-settings.xml
sed -i -e "s|<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/maven2/plugins</url>|g" maven2-settings.xml
sed -i -e "s|<url>__ECLIPSEDIR_PLUGIN_PLACEHOLDER__</url>|<url>file:///usr/share/eclipse/plugins</url>|g" maven2-settings.xml

mkdir external_repo
ln -s %{_javadir} external_repo/JPP

export M2SETTINGS=$(pwd)/maven2-settings.xml
export MAVEN_REPO_LOCAL=`pwd`/m2_repo/repository
mkdir -p $MAVEN_REPO_LOCAL/JPP/maven2/default_poms/
cp %{SOURCE3} $MAVEN_REPO_LOCAL/JPP/maven2/default_poms/org.jboss-jboss-parent.pom

mvn-jpp -e \
        -s ${M2SETTINGS} \
        -Dmaven.test.failure.ignore=true \
        -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
        -Dmaven2.jpp.depmap.file=%{SOURCE1} \
        install javadoc:javadoc

%install
rm -rf $RPM_BUILD_ROOT

# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -m 644 target/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
%add_to_maven_depmap org.jboss.ejb3 %{name} %{namedversion} JPP %{name}
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)

# pom
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -m 644 pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom

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

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%{_javadir}/*
%{_datadir}/maven2/poms/*
%{_mavendepmapfragdir}/*

%files javadoc
%defattr(-,root,root,-)
%doc %{_javadocdir}/%{name}-%{version}
%doc %{_javadocdir}/%{name}

%changelog
* Mon Jul 27 2009 Ralph Apel <r.apel at r-apel.de> - 0:1.0.1-1
- first release


Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/jboss-ejb3-mc-int/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	26 Jul 2009 10:55:42 -0000	1.1
--- sources	26 Jul 2009 10:57:55 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ a79e2aa8be3289c9a074a0cff3d2c481  jboss-ejb3-mc-int-1.0.1.tar.gz

--- NEW FILE: jboss-parent-4.pom ---
<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.jboss</groupId>
  <version>4</version>
  <artifactId>jboss-parent</artifactId>
  <packaging>pom</packaging>
  <name>JBoss Parent POM</name>
  <description>Parent POM for JBoss projects. Provides default project build configuration.</description>
  <url>http://www.jboss.org</url>

  <issueManagement>
    <system>jira</system>
    <url>http://jira.jboss.org/</url>
  </issueManagement>
  
  <scm>
    <connection>scm:svn:http://anonsvn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/tags/jboss-parent-4</connection>    
    <developerConnection>scm:svn:https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/tags/jboss-parent-4</developerConnection>   
  </scm>
  
  <licenses>
    <license>
      <name>lgpl</name>
      <url>http://repository.jboss.org/licenses/lgpl-2.1.txt</url>
    </license>
  </licenses>
  
  <organization>
    <name>JBoss, a division of Red Hat, Inc.</name>
    <url>http://www.jboss.org</url>
  </organization>
  
  <build>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-webdav</artifactId>
        <version>1.0-beta-2</version>
      </extension>
    </extensions>
    <plugins>
      <!--
        Note: this should be uncommented when enforcer 1.0-alpha-4 is released.
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-enforcer-plugin</artifactId>
        <version>1.0-alpha-4</version>
        <executions>
          <execution>
            <id>enforce-plugin-versions</id>
            <goals>
              <goal>enforce</goal>
            </goals>
            <configuration>
              <rules>
                <requirePluginVersions>
                  <message>All plugin versions must be specified.</message>
                </requirePluginVersions>
              </rules>
            </configuration>
          </execution>
        </executions>
      </plugin>-->
      
      <!-- All JBoss projects should create and deploy source jars -->
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <version>2.0.3</version>
        <inherited>true</inherited>
        <executions>
          <execution>
            <id>attach-sources</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
    
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-antrun-plugin</artifactId>
          <version>1.1</version>
        </plugin>       
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>2.2-beta-2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-clean-plugin</artifactId>
          <version>2.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>2.0.2</version>
          <configuration>
            <source>1.5</source>
            <target>1.5</target>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-dependency-plugin</artifactId>
          <version>2.0</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-deploy-plugin</artifactId>
          <version>2.3</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-ear-plugin</artifactId>
          <version>2.3.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-ejb-plugin</artifactId>
          <version>2.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-install-plugin</artifactId>
          <version>2.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-jar-plugin</artifactId>
          <version>2.2</version>
          <configuration>
            <archive>
              <manifest>
                <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
                <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
              </manifest>
              <manifestEntries>
                <Implementation-URL>${pom.url}</Implementation-URL>
              </manifestEntries>
            </archive>
          </configuration>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-javadoc-plugin</artifactId>
          <version>2.4</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-plugin-plugin</artifactId>
          <version>2.4.1</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-rar-plugin</artifactId>
          <version>2.2</version>
        </plugin>
        <plugin>                
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-release-plugin</artifactId>
          <version>2.0-beta-7</version>
          <configuration>
            <useReleaseProfile>false</useReleaseProfile>
            <arguments>-Prelease</arguments>
          </configuration>
        </plugin>
        <plugin>                
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-resources-plugin</artifactId>
          <version>2.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-site-plugin</artifactId>
          <version>2.0-beta-6</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-source-plugin</artifactId>
          <version>2.0.4</version>
        </plugin>         
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.4.2</version>
        </plugin>
        <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-war-plugin</artifactId>
          <version>2.1-alpha-1</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
  
  <profiles>
    <!-- This profile is activated when a project is released. -->
    <profile>
      <id>release</id>
      <build>
        <plugins>
          <plugin>
            <inherited>true</inherited>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-deploy-plugin</artifactId>
            <version>2.3</version>
            <configuration>
              <updateReleaseInfo>true</updateReleaseInfo>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
    
    <!-- Activating this profile will cause developer reports to be generated.
      -  These are reports that are not required for the project site, but
      -  may be useful to developers. -->
    <profile>
      <id>dev-reports</id>
      <reporting>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>findbugs-maven-plugin</artifactId>
            <version>1.1</version>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-pmd-plugin</artifactId>
            <version>2.2</version>
            <configuration>
              <targetJdk>1.5</targetJdk>
            </configuration>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
            <version>2.1</version>
          </plugin>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>jdepend-maven-plugin</artifactId>
            <version>2.0-beta-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-jxr-plugin</artifactId>
            <version>2.1</version>
          </plugin>
        </plugins>
      </reporting>
    </profile>
    
    <!-- Profile to include code coverage reports -->
    <profile>
      <id>code-coverage</id>
      <reporting>
        <plugins>
          <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>cobertura-maven-plugin</artifactId>
            <version>2.1</version>
          </plugin>
        </plugins>
      </reporting>
    </profile>
  </profiles>
  
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-project-info-reports-plugin</artifactId>
        <version>2.0.1</version>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <links>
            <link>http://java.sun.com/j2se/1.5.0/docs/api</link>
          </links>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-report-plugin</artifactId>      
        <version>2.3</version>
        <reportSets>
          <reportSet>
            <reports>
              <report>report-only</report>
            </reports>
          </reportSet>
        </reportSets>          
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>2.0</version>
      </plugin>
    </plugins>
  </reporting>
  
  <distributionManagement>
    <repository>
      <!-- Copy the distribution jar file to a local checkout of the maven repository 
        -  This variable can be set in $MAVEN_HOME/conf/settings.xml -->
      <id>repository.jboss.org</id>
      <url>file://${maven.repository.root}</url>
    </repository>
    <snapshotRepository>
      <id>snapshots.jboss.org</id>
      <name>JBoss Snapshot Repository</name>
      <url>dav:https://snapshots.jboss.org/maven2</url>
    </snapshotRepository>
  </distributionManagement>
  
</project>



More information about the JPackage-commits mailing list