[mojarra] 03/03: Add Maven POM file

Miguel Landaeta nomadium at moszumanska.debian.org
Tue Sep 30 18:45:17 UTC 2014


This is an automated email from the git hooks/post-receive script.

nomadium pushed a commit to branch experimental
in repository mojarra.

commit d816b270a6f74219aa1433b68ddf33c19c60b683
Author: Miguel Landaeta <nomadium at debian.org>
Date:   Tue Sep 30 15:44:13 2014 -0300

    Add Maven POM file
---
 debian/libjsf-api-java.poms                |   2 +-
 debian/patches/02_add_maven_metadata.patch | 345 +++++++++++++++++++++++++++++
 debian/patches/series                      |   1 +
 debian/rules                               |   2 +-
 4 files changed, 348 insertions(+), 2 deletions(-)

diff --git a/debian/libjsf-api-java.poms b/debian/libjsf-api-java.poms
index 6fa727f..f867864 100644
--- a/debian/libjsf-api-java.poms
+++ b/debian/libjsf-api-java.poms
@@ -1 +1 @@
-./jsf-api/interim-pom.xml
+./jsf-api.pom
diff --git a/debian/patches/02_add_maven_metadata.patch b/debian/patches/02_add_maven_metadata.patch
new file mode 100644
index 0000000..d4748f6
--- /dev/null
+++ b/debian/patches/02_add_maven_metadata.patch
@@ -0,0 +1,345 @@
+Description: Provide Maven artifacts
+Author: Miguel Landaeta <nomadium at debian.org>
+Bug-Debian: https://bugs.debian.org/738110
+Origin: upstream, http://central.maven.org/maven2/com/sun/faces/jsf-api/2.2.8-02/jsf-api-2.2.8-02.pom
+Forwarded: no
+Last-Update: 2014-09-30
+
+--- /dev/null
++++ mojarra-2.2.8/jsf-api.pom
+@@ -0,0 +1,335 @@
++<?xml version="1.0" encoding="UTF-8"?>
++<!--
++
++    DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
++
++    Copyright (c) 1997-2010 Oracle and/or its affiliates. All rights reserved.
++
++    The contents of this file are subject to the terms of either the GNU
++    General Public License Version 2 only ("GPL") or the Common Development
++    and Distribution License("CDDL") (collectively, the "License").  You
++    may not use this file except in compliance with the License.  You can
++    obtain a copy of the License at
++    https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
++    or packager/legal/LICENSE.txt.  See the License for the specific
++    language governing permissions and limitations under the License.
++
++    When distributing the software, include this License Header Notice in each
++    file and include the License file at packager/legal/LICENSE.txt.
++
++    GPL Classpath Exception:
++    Oracle designates this particular file as subject to the "Classpath"
++    exception as provided by Oracle in the GPL Version 2 section of the License
++    file that accompanied this code.
++
++    Modifications:
++    If applicable, add the following below the License Header, with the fields
++    enclosed by brackets [] replaced by your own identifying information:
++    "Portions Copyright [year] [name of copyright owner]"
++
++    Contributor(s):
++    If you wish your version of this file to be governed by only the CDDL or
++    only the GPL Version 2, indicate your decision by adding "[Contributor]
++    elects to include this software in this distribution under the [CDDL or GPL
++    Version 2] license."  If you don't indicate a single choice of license, a
++    recipient has the option to distribute your version of this file under
++    either the CDDL, the GPL Version 2 or to extend the choice of license to
++    its licensees as provided above.  However, if you add GPL Version 2 code
++    and therefore, elected the GPL Version 2 license, then the option applies
++    only if the new code is made subject to such option by the copyright
++    holder.
++
++-->
++
++<project>
++    <modelVersion>4.0.0</modelVersion>
++    <groupId>com.sun.faces</groupId>
++    <artifactId>jsf-api</artifactId>
++    <version>2.2.8-02</version>
++    <packaging>jar</packaging>
++    <name>
++        Oracle's implementation of the JSF 2.2 specification API.
++    </name>
++    <description>
++        This is the master POM file for Oracle's Implementation of the JSF 2.2 Specification.
++    </description>
++    <url>http://java.sun.com/javaee/javaserverfaces/</url>
++    <licenses>
++        <license>
++            <name>
++                COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) plus GPL
++            </name>
++            <url>http://glassfish.java.net/nonav/public/CDDL+GPL.html</url>
++            <distribution>repo</distribution>
++        </license>
++    </licenses>
++    <scm>
++        <url>http://java.net/projects/mojarra/sources</url>
++        <connection>scm:svn:https://svn.java.net/svn/mojarra~svn/trunk</connection>
++    </scm>
++    <developers>
++        <developer>
++            <id>edburns</id>
++            <name>Ed Burns</name>
++            <email>edward.burns at oracle.com</email>
++            <organization>Oracle America, Inc.</organization>
++            <roles>
++                <role>project-owner</role>
++            </roles>
++            <timezone>-6</timezone>
++        </developer>
++        <developer>
++            <id>rogerk</id>
++            <name>Roger Kitain</name>
++            <email>roger.kitain at oracle.com</email>
++            <organization>Oracle America, Inc.</organization>
++            <roles>
++                <role>project-owner</role>
++            </roles>
++            <timezone>-6</timezone>
++        </developer>
++    </developers>
++    <distributionManagement>
++      <snapshotRepository>
++        <id>jvnet-nexus-snapshots</id>
++        <name>Java.net Nexus Snapshots Repository</name>
++        <url>https://maven.java.net/content/repositories/snapshots/</url>
++      </snapshotRepository>
++      <repository>
++        <id>jvnet-nexus-staging</id>
++        <name>Java.net Nexus Staging Repository</name>
++        <url>https://maven.java.net/service/local/staging/deploy/maven2/</url>
++      </repository>
++    </distributionManagement>
++    <build>
++        <defaultGoal>install</defaultGoal>
++        <plugins>
++            <plugin>
++                <groupId>org.apache.maven.plugins</groupId>
++                <artifactId>maven-compiler-plugin</artifactId>
++                <configuration>
++                    <source>1.5</source>
++                    <target>1.5</target>
++                    <excludes>
++                        <exclude>**/*.*</exclude>
++                    </excludes>
++                </configuration>
++            </plugin>
++            <plugin>
++                 <groupId>org.apache.maven.plugins</groupId>
++                 <artifactId>maven-deploy-plugin</artifactId>
++                 <configuration>
++                   <updateReleaseInfo>true</updateReleaseInfo>
++                </configuration>
++            </plugin>
++            <plugin>
++                <groupId>org.apache.maven.plugins</groupId>
++                <artifactId>maven-source-plugin</artifactId>
++                <version>2.1</version>
++                <executions>
++                    <execution>
++                        <id>attach-sources</id>
++                        <phase>verify</phase>
++                        <goals>
++                            <goal>jar-no-fork</goal>
++                        </goals>
++                    </execution>
++                </executions>
++            </plugin>
++            <plugin>
++              <groupId>org.codehaus.mojo</groupId>
++              <artifactId>build-helper-maven-plugin</artifactId>
++              <version>1.7</version>
++              <executions>
++                <execution>
++                  <id>attach-artifacts</id>
++                  <phase>package</phase>
++                  <goals>
++                    <goal>attach-artifact</goal>
++                  </goals>
++                  <configuration>
++                    <artifacts>
++                      <artifact>
++                        <file>target/jsf-api-2.2.8-02-javadoc.jar</file>
++                        <type>jar</type>
++                        <classifier>javadoc</classifier>
++                      </artifact>
++                    </artifacts>
++                  </configuration>
++                </execution>
++              </executions>
++            </plugin>
++            <plugin>
++                <groupId>org.apache.maven.plugins</groupId>
++                <artifactId>maven-jar-plugin</artifactId>
++                <configuration>
++                    <archive>
++                        <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
++                    </archive>
++                </configuration>
++            </plugin>
++        </plugins>
++    </build>
++    <issueManagement>
++        <system>JIRA</system>
++        <url>https://java.net/jira/browse/JAVASERVERFACES</url>
++    </issueManagement>
++    <mailingLists>
++        <mailingList>
++            <name>JSF 2.2 Specification Comments</name>
++            <post>jsr-314-comments at jcp.org</post>
++        </mailingList>
++        <mailingList>
++            <name>Mojarra Implementation Dev List</name>
++            <post>dev at javaserverfaces.dev.java.net</post>
++            <archive>
++                https://javaserverfaces.dev.java.net/servlets/SummarizeList?listName=dev
++            </archive>
++        </mailingList>
++    </mailingLists>
++    <contributors>
++        <contributor>
++            <name>Craig McClanahan</name>
++        </contributor>
++        <contributor>
++            <name>Deepak Gothe</name>
++        </contributor>
++        <contributor>
++            <name>Gregory Murray</name>
++        </contributor>
++        <contributor>
++            <name>Justyna Horwat</name>
++        </contributor>
++        <contributor>
++            <name>Jayashri Visvanathan</name>
++        </contributor>
++        <contributor>
++            <name>Jennifer Ball</name>
++        </contributor>
++        <contributor>
++            <name>Jacob Hookom</name>
++        </contributor>
++        <contributor>
++            <name>Raj Premkumar</name>
++        </contributor>
++        <contributor>
++            <name>Stan Silvert</name>
++        </contributor>
++        <contributor>
++            <name>Mike Youngstrom</name>
++        </contributor>
++        <contributor>
++            <name>Jason Lee</name>
++        </contributor>
++    </contributors>
++    <organization>
++        <name>Oracle America, Inc</name>
++        <url>http://www.oracle.com/</url>
++    </organization>
++    <dependencies>
++        <dependency>
++            <groupId>javax.servlet</groupId>
++            <artifactId>javax.servlet-api</artifactId>
++            <version>3.0.1</version>
++            <scope>provided</scope>
++        </dependency>
++        <dependency>
++            <groupId>javax.servlet.jsp</groupId>
++            <artifactId>javax.servlet.jsp-api</artifactId>
++            <version>2.2.1</version>
++            <scope>provided</scope>
++        </dependency>
++        <dependency>
++            <groupId>javax.el</groupId>
++            <artifactId>javax.el-api</artifactId>
++            <version>2.2.1</version>
++            <scope>provided</scope>
++        </dependency>
++        <dependency>
++            <groupId>javax.servlet.jsp.jstl</groupId>
++            <artifactId>jstl-api</artifactId>
++            <version>1.2</version>
++            <scope>provided</scope>
++        </dependency>
++    </dependencies>
++    <profiles>
++      <profile>
++        <id>release-sign-artifacts</id>
++        <build>
++          <plugins>
++            <plugin>
++                <groupId>org.apache.maven.plugins</groupId>
++                <artifactId>maven-compiler-plugin</artifactId>
++                <configuration>
++                    <source>1.5</source>
++                    <target>1.5</target>
++                    <excludes>
++                        <exclude>**/*.*</exclude>
++                    </excludes>
++                </configuration>
++            </plugin>
++            <plugin>
++                <groupId>org.apache.maven.plugins</groupId>
++                <artifactId>maven-source-plugin</artifactId>
++                <version>2.1</version>
++                <executions>
++                    <execution>
++                        <id>attach-sources</id>
++                        <phase>verify</phase>
++                        <goals>
++                            <goal>jar-no-fork</goal>
++                        </goals>
++                    </execution>
++                </executions>
++            </plugin>
++            <plugin>
++              <groupId>org.codehaus.mojo</groupId>
++              <artifactId>build-helper-maven-plugin</artifactId>
++              <version>1.7</version>
++              <executions>
++                <execution>
++                  <id>attach-artifacts</id>
++                  <phase>package</phase>
++                  <goals>
++                    <goal>attach-artifact</goal>
++                  </goals>
++                  <configuration>
++                    <artifacts>
++                      <artifact>
++                        <file>target/jsf-api-2.2.8-02-javadoc.jar</file>
++                        <type>jar</type>
++                        <classifier>javadoc</classifier>
++                      </artifact>
++                    </artifacts>
++                  </configuration>
++                </execution>
++              </executions>
++            </plugin>
++            <plugin>
++                <groupId>org.apache.maven.plugins</groupId>
++                <artifactId>maven-jar-plugin</artifactId>
++                <configuration>
++                    <archive>
++                        <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile>
++                    </archive>
++                </configuration>
++            </plugin>            <plugin>
++              <groupId>org.apache.maven.plugins</groupId>
++              <artifactId>maven-gpg-plugin</artifactId>
++              <version>1.3</version>
++              <executions>
++                <execution>
++                  <id>sign-artifacts</id>
++                  <phase>verify</phase>
++                  <goals>
++                    <goal>sign</goal>
++                  </goals>
++                </execution>
++              </executions>
++            </plugin>
++          </plugins>
++        </build>
++      </profile>
++    </profiles>
++
++</project>
diff --git a/debian/patches/series b/debian/patches/series
index 742c5b5..fb47ca1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01_disable_jsf_impl_provider_code.patch
+02_add_maven_metadata.patch
diff --git a/debian/rules b/debian/rules
index 16440f4..47e180b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ override_dh_auto_build:
 override_jh_installlibs:
 	mh_installpoms -plibjsf-api-java --set-version=$(UP_VER)
 	mh_installjar -plibjsf-api-java --usj-version=$(UP_VER) \
-		--set-version=$(UP_VER) -l ./jsf-api/interim-pom.xml jsf-api.jar
+		--set-version=$(UP_VER) -l ./jsf-api.pom jsf-api.jar
 
 ## https://wiki.debian.org/onlyjob/get-orig-source
 get-orig-source: $(PKG)_$(VER).orig.tar.xz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mojarra.git



More information about the pkg-java-commits mailing list