[Jpackage-commits] dist/jbossxb/devel .cvsignore, 1.1, 1.2 jbossxb-jboss-parent-3.pom, NONE, 1.1 jbossxb-jpp-depmap.xml, NONE, 1.1 jbossxb-pom.patch, NONE, 1.1 jbossxb-settings.xml, NONE, 1.1 jbossxb.spec, NONE, 1.1 sources, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Wed May 28 20:54:14 CEST 2008


Update of /home/projects/jpackage/cvs/dist/jbossxb/devel
In directory ryu.zarb.org:/tmp/cvs-serv17903/devel

Modified Files:
	.cvsignore sources 
Added Files:
	jbossxb-jboss-parent-3.pom jbossxb-jpp-depmap.xml 
	jbossxb-pom.patch jbossxb-settings.xml jbossxb.spec 
Log Message:
Import from JPP 5.0

Index: .cvsignore
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/jbossxb/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** .cvsignore	28 May 2008 18:52:55 -0000	1.1
--- .cvsignore	28 May 2008 18:54:12 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ jbossxb-1.0.0.1-src.tar.gz

--- NEW FILE: jbossxb-jpp-depmap.xml ---
<dependencies>
 <dependency>
   <maven>
     <groupId>apache-slide</groupId>
     <artifactId>webdavlib</artifactId>
     <version>2.0</version>
   </maven>
   <jpp>
     <groupId>JPP/slide</groupId>
     <artifactId>slide-webdavclient-webdavlib</artifactId>
     <version>2.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.21</version>
   </jpp>
 </dependency>
 <dependency>
   <maven>
     <groupId>sun-jaf</groupId>
     <artifactId>activation</artifactId>
     <version>1.0.2</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>classpathx-jaf</artifactId>
     <version>1.0</version>
   </jpp>
 </dependency>
 <dependency>
   <maven>
     <groupId>jboss.common.core</groupId>
     <artifactId>jboss-common-core</artifactId>
     <version>1.0</version>
   </maven>
   <jpp>
     <groupId>JPP/jboss-common</groupId>
     <artifactId>jboss-common</artifactId>
     <version>1.2.1</version>
   </jpp>
 </dependency>
 <dependency>
   <maven>
     <groupId>jboss.jboss-test</groupId>
     <artifactId>jboss-test</artifactId>
     <version>1.0.0.CR1</version>
   </maven>
   <jpp>
     <groupId>JPP/jboss</groupId>
     <artifactId>jboss-test</artifactId>
     <version>4.2.2.0</version>
   </jpp>
 </dependency>
 <dependency>
   <maven>
     <groupId>jboss.logging</groupId>
     <artifactId>jboss-logging-spi</artifactId>
     <version>1.0</version>
   </maven>
   <jpp>
     <groupId>JPP/jboss-common</groupId>
     <artifactId>jboss-common</artifactId>
     <version>1.2.1</version>
   </jpp>
 </dependency>
 <dependency>
   <maven>
     <groupId>jboss.logging.log4j</groupId>
     <artifactId>jboss-logging-log4j</artifactId>
     <version>1.0</version>
   </maven>
   <jpp>
     <groupId>JPP/jboss-common</groupId>
     <artifactId>jboss-common</artifactId>
     <version>1.2.1</version>
   </jpp>
 </dependency>
 <dependency>
   <maven>
     <groupId>apache-xerces</groupId>
     <artifactId>xercesImpl</artifactId>
     <version>2.7.1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>xerces-j2</artifactId>
     <version>2.9.0</version>
   </jpp>
 </dependency>
 <dependency>
   <maven>
     <groupId>concurrent</groupId>
     <artifactId>concurrent</artifactId>
     <version>1.3.4</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>concurrent</artifactId>
     <version>1.3.4</version>
   </jpp>
 </dependency>
</dependencies>

--- NEW FILE: jbossxb-pom.patch ---
--- pom.xml.sav0	2007-10-15 15:53:57.000000000 +0200
+++ pom.xml	2007-11-03 19:27:19.000000000 +0100
@@ -108,6 +108,14 @@
       <version>1.0</version>
       <scope>compile</scope>
     </dependency>
+<!--
+    <dependency>
+      <groupId>jboss.common.namespace</groupId>
+      <artifactId>jboss-common-namespace</artifactId>
+      <version>1.0</version>
+      <scope>compile</scope>
+    </dependency>
+-->
     <dependency>
       <groupId>apache-slide</groupId>
       <artifactId>webdavlib</artifactId>
@@ -126,6 +134,14 @@
       <version>2.7.1</version>
       <scope>compile</scope>
     </dependency>     
+<!--
+    <dependency>
+      <groupId>xml-apis</groupId>
+      <artifactId>xml-apis</artifactId>
+      <version>1.3.03</version>
+      <scope>compile</scope>
+    </dependency>     
+-->
     <dependency>
       <groupId>wutka-dtdparser</groupId>
       <artifactId>dtdparser121</artifactId>
@@ -144,6 +160,24 @@
       <version>1.0.0.CR1</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>plexus</groupId>
+      <artifactId>plexus-utils</artifactId>
+      <version>1.4.5</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <version>1.2.12</version>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>concurrent</groupId>
+      <artifactId>concurrent</artifactId>
+      <version>1.3.4</version>
+      <scope>test</scope>
+    </dependency>
   </dependencies>  
   <distributionManagement>
     <repository>
@@ -152,4 +186,4 @@
       <url>file://${maven.cvs.root}</url>
     </repository>
   </distributionManagement>
-</project>
\ No newline at end of file
+</project>

--- NEW FILE: jbossxb.spec ---
# Copyright (c) 2000-2007, 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

Summary:	JBoss XML Binding
URL:		http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossXB
Source0:	jbossxb-1.0.0.1-src.tar.gz
# svn export http://anonsvn.jboss.org/repos/common/jbossxb/tags/1.0.0.SP1 jbossxb-1.0.0.1-src
Source1:        %{name}-settings.xml
Source2:        %{name}-jpp-depmap.xml
Source3:        %{name}-jboss-parent-3.pom
Patch0:         %{name}-pom.patch

Name:		jbossxb
Version:	1.0.0.1
Release:	1jpp
Epoch:		0
License:	LGPL
Group:		Development/Java
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:%{_vendor}}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
BuildArch:	noarch
BuildRequires:	java-devel >= 0:1.5.0
BuildRequires:	jpackage-utils >= 0:1.7.3
BuildRequires:	ant >= 0:1.6.5
BuildRequires:	maven2
BuildRequires:	maven2-plugin-compiler
BuildRequires:	maven2-plugin-install
BuildRequires:	maven2-plugin-jar
BuildRequires:	maven2-plugin-javadoc
BuildRequires:	maven2-plugin-release
BuildRequires:	maven2-plugin-resources
BuildRequires:	maven2-plugin-source
BuildRequires:	maven2-plugin-surefire
BuildRequires:	maven2-plugin-surefire-report
BuildRequires:	dtdparser
BuildRequires:	jakarta-slide-webdavclient
BuildRequires:	classpathx-jaf
BuildRequires:	jboss-common-bootstrap = 0:1.2.1
BuildRequires:	jboss-test
BuildRequires:	xerces-j2
BuildRequires:	concurrent
Requires:	jpackage-utils >= 0:1.7.3
Requires:	dtdparser
Requires:	jboss-common
Requires:	xerces-j2
Requires:	concurrent
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
JBoss XML Binding.

%package javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation
Requires(post): /bin/rm /bin/ln
Requires(postun): /bin/rm

%description javadoc
%{summary}.

%package src
Summary:        Source jar for %{name}
Group:          Development/Java
Requires:       %{name} = %{epoch}:%{version}-%{release}

%description src
%{summary}.

%prep
%setup -q -n %{name}-%{version}-src
chmod -R go=u-w *
for j in $(find . -name "*.jar"); do
    mv $j $j.no
done
%patch0 -b .sav0

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

%build
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

export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository

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

export JAVA_HOME=%{_jvmdir}/java-1.5.0
mvn-jpp \
        -e \
        -s $(pwd)/settings.xml \
        -Djboss.home=/usr/share/jboss4 \
        -Dmaven2.jpp.mode=true \
        -Dmaven2.jpp.depmap.file=%{SOURCE2} \
        -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
        install javadoc:javadoc

%install
rm -rf $RPM_BUILD_ROOT

# jar
install -d -m 0755 $RPM_BUILD_ROOT%{_javadir}/%{name}
install -p -m 0644 target/jboss-xml-binding.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/jboss-xml-binding-%{version}.jar
install -p -m 0644 target/jboss-xml-binding-sources.jar $RPM_BUILD_ROOT%{_javadir}/%{name}/jboss-xml-binding-sources-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir}/%{name} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)

# 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} # ghost symlink

%clean
rm -rf $RPM_BUILD_ROOT

%post javadoc
rm -f %{_javadocdir}/%{name}
ln -sf %{name}-%{version} %{_javadocdir}/%{name}

%postun javadoc
if [ "$1" = "0" ]; then
  rm -f %{_javadocdir}/%{name}
fi

%files
%defattr(-,root,root,-)
%dir %{_javadir}/%{name}
%{_javadir}/%{name}/jboss-xml-binding-%{version}.jar
%{_javadir}/%{name}/jboss-xml-binding.jar

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

%files src
%defattr(-,root,root,-)
%{_javadir}/%{name}/jboss-xml-binding-sources-%{version}.jar
%{_javadir}/%{name}/jboss-xml-binding-sources.jar

%changelog
* Mon Nov 05 2007 Ralph Apel <r.apel at r-apel.de> 0:1.0.0.1-1jpp
- First standalone build


Index: sources
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/jbossxb/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** sources	28 May 2008 18:52:55 -0000	1.1
--- sources	28 May 2008 18:54:12 -0000	1.2
***************
*** 0 ****
--- 1 ----
+ fb63ef0bca4d955e91dd5f1e586af106  jbossxb-1.0.0.1-src.tar.gz

--- NEW FILE: jbossxb-jboss-parent-3.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<!--
  - A parent pom with default settings for jboss projects.
  - Each jboss project should have something similar to the following lines in their pom file.
  - <parent>
  -   <groupId>org.jboss</groupId>
  -   <artifactId>jboss-parent</artifactId>
  -   <version>4</version>
  - </parent>
  -
  - To build this project, maven 2 should be installed and "mvn" should be in the system path.  
  - From the command line, run "mvn install".  This will run the build goal "install".
 -->
<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>3</version>
  <artifactId>jboss-parent</artifactId>
  <packaging>pom</packaging>
  <name>JBoss Parent POM</name>
  <description>Parent POM for all JBoss Projects. Provides default project build
    configuration.</description>
  <url>http://www.jboss.org</url>
  <prerequisites>
    <maven>2.0</maven>
  </prerequisites>
  <issueManagement>
    <system>jira</system>
    <url>http://jira.jboss.com/</url>
  </issueManagement>
  <!-- 
    - The parent pom should not include scm configuration, because we don't want child projects
    - to inherit this information.  The child projects should each set their own repository URL
    - <scm>
    -   <connection>scm:svn:http://anonsvn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</connection>    
    -   <developerConnection>scm:svn:https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/trunk/</developerConnection>   
    - </scm>
    - This section should stay commented out.
    -->
  <licenses>
    <license>
      <name>lgpl</name>
      <url>http://repository.jboss.com/licenses/lgpl.txt</url>
    </license>
  </licenses>
  <organization>
    <name>JBoss 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>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>        
        <artifactId>maven-release-plugin</artifactId>
        <version>2.0-beta-5</version>          
        <configuration>
          <!-- The tagBase property is needed during the release process so that the maven release plugin
            -  will create the release tag in the appropriate location. -->
          <tagBase>https://svn.jboss.org/repos/labs/labs/jbossbuild/jboss-parent/tags/</tagBase>
          <!-- We don't want to use the default release profile because it creates javadoc jars for the repo.
            -  Since we include source jars in the repo, we don't need the javadoc jars. -->
          <useReleaseProfile>false</useReleaseProfile>
          <!-- The release plugin activates a custom profile called "release". -->
          <arguments>-Prelease</arguments>
        </configuration>
        <inherited>false</inherited>
      </plugin>
      <!-- Define how we want compilation to take place.
        -  We accept most of the defaults but say that we want the
        -  optimization, warnings, and deprecation flags on, and define the source and target to be 1.5,
        -  these setting will be inherited by child projects, but can be overridden as needed. -->
      <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>
          <showDeprecation>true</showDeprecation>
          <showWarnings>true</showWarnings>
          <optimize>true</optimize>
        </configuration>
      </plugin>
      <!-- define that we wish to create src 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>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <version>2.1</version>
        <configuration>
          <archive>
<!--
            <manifest>
              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
            </manifest>
-->
            <manifestEntries>
              <Implementation-URL>${pom.url}</Implementation-URL>
            </manifestEntries>
          </archive>
        </configuration>
      </plugin>
    </plugins>
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.jboss.maven.plugins</groupId>
          <artifactId>maven-jboss-deploy-plugin</artifactId>
          <version>1.3</version>
          <executions>
            <execution>
              <goals>
                <goal>jboss-deploy</goal>
              </goals>
            </execution>
          </executions>
          <configuration>
            <jbossDeployRoot>${jboss.repository.root}</jbossDeployRoot>
          </configuration>
        </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>
      <repositories>
        <repository>
          <id>central</id>
          <url>http://repo1.maven.org/maven2</url>
          <releases>
            <enabled>false</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
        </repository>
      </repositories>
    </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>
  <repositories>
    <repository>
      <id>jboss</id>
      <name>JBoss Repository</name>
      <url>http://repository.jboss.org/maven2</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>jboss-snapshots</id>
      <name>JBoss Snapshot Repository</name>
      <url>http://snapshots.jboss.org/maven2</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>jboss</id>
      <name>JBoss Plugin Repository</name>
      <url>http://repository.jboss.org/maven2</url>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
    </pluginRepository>
    <pluginRepository>
      <id>jboss-snapshots</id>
      <name>JBoss Snapshot Plugin Repository</name>
      <url>http://snapshots.jboss.org/maven2</url>
      <releases>
        <enabled>false</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>
  <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>

--- NEW FILE: jbossxb-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>




More information about the JPackage-commits mailing list