.javax.el.3.0.1-b12.source-code.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. Copyright (c) 1997-2013 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 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"> <parent> <groupId>net.java</groupId> <artifactId>jvnet-parent</artifactId> <version>3</version> </parent> <modelVersion>4.0.0</modelVersion> <groupId>org.glassfish</groupId> <artifactId>javax.el</artifactId> <version>3.0.1-b12</version> <packaging>jar</packaging> <name>Expression Language 3.0</name> <properties> <!-- the bundle build number must be the same as the maven number --> <bundle.version>3.0.0</bundle.version> <!-- The most current api version --> <spec.version>3.0</spec.version> <extensionName>javax.el</extensionName> <bundle.symbolicName>com.sun.el.javax.el</bundle.symbolicName> <vendorName>Oracle Corporation</vendorName> <findbugs.version>2.5.2</findbugs.version> <findbugs.exclude>${project.basedir}/exclude.xml</findbugs.exclude> <findbugs.threshold>High</findbugs.threshold> <tlda-license.url>http://hudson-sca.us.oracle.com/job/tlda-license/lastSuccessfulBuild/artifact</tlda-license.url> </properties> <url>http://uel.java.net</url> <organization> <name>GlassFish Community</name> <url>http://glassfish.org</url> </organization> <licenses> <license> <name>CDDL + GPLv2 with classpath exception</name> <url>https://glassfish.dev.java.net/nonav/public/CDDL+GPL.html</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <issueManagement> <system>jira</system> <url>http://java.net/jira/browse/EL_SPEC</url> </issueManagement> <mailingLists> <mailingList> <name>EL Developer</name> <archive>[email protected]</archive> </mailingList> </mailingLists> <scm> <connection>scm:git:https://github.com/javaee/uel-ri.git</connection> <developerConnection>scm:git:https://github.com/javaee/uel-ri.git</developerConnection> <url>https://github.com/javaee/uel-ri.git</url> </scm> <developers> <developer> <id>kchung</id> <name>Kin-man Chung</name> <organization>Oracle</organization> <roles> <role>lead</role> </roles> </developer> </developers> <build> <plugins> <!-- Use this to include both the api and impl sources --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <version>1.1</version> <executions> <execution> <id>add-source</id> <phase>generate-sources</phase> <goals> <goal>add-source</goal> </goals> <configuration> <sources> <source>api/src/main/java</source> <source>impl/src/main/java</source> </sources> </configuration> </execution> </executions> </plugin> <!-- Configure maven-bundle-plugin to generate OSGi manifest. Please note: we use the manifest goal only and not the bundle goal. The bundle goal can lead to very surprising results if the package names are not correctly specified. So, we use the jar plugin to generate the jar.--> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>1.4.3</version> <configuration> <instructions> <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName> <Bundle-Description> Expression Language ${spec.version} API and Implementation </Bundle-Description> <Bundle-Version>${bundle.version}</Bundle-Version> <Extension-Name>${extensionName}</Extension-Name> <Specification-Version>${spec.version}</Specification-Version> <Specification-Vendor>${vendorName}</Specification-Vendor> <Implementation-Version>${project.version}</Implementation-Version> <Implementation-Vendor>${vendorName}</Implementation-Vendor> </instructions> </configuration> <executions> <execution> <id>bundle-manifest</id> <phase>process-classes</phase> <goals> <goal>manifest</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>2.4</version> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.0</version> <configuration> <source>1.7</source> <target>1.7</target> <compilerArgument>-Xlint:unchecked</compilerArgument> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version> 2.2.1 </version> <configuration> <includePom>true</includePom> </configuration> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.8.1</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <sourcepath>api/src;impl/src</sourcepath> <groups> <group> <title>Expresion Language 3.0 API and Implementation</title> <packages>com.sun.el</packages> </group> </groups> <bottom> Copyright (c) 2013 Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms. </bottom> </configuration> </execution> </executions> </plugin> <!-- Use ant to manually invoke javacc, as this required is very infrequently <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javacc-maven-plugin</artifactId> <version>2.6</version> <executions> <execution> <id>jjtree-javacc</id> <goals> <goal>jjtree-javacc</goal> </goals> <configuration> <sourceDirectory>src/main/java/com/sun/el/parser</sourceDirectory> <outputDirectory>src/main/java/com/sun/el/parser</outputDirectory> </configuration> </execution> </executions> </plugin> --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${findbugs.version}</version> <configuration> <threshold>${findbugs.threshold}</threshold> <excludeFilterFile>${findbugs.exclude}</excludeFilterFile> <findbugsXmlOutput>true</findbugsXmlOutput> <findbugsXmlWithMessages>true</findbugsXmlWithMessages> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <configuration> <mavenExecutorId>forked-path</mavenExecutorId> <useReleaseProfile>false</useReleaseProfile> <arguments>${release.arguments}</arguments> </configuration> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>2.7.1</version> <dependencies> <dependency> <groupId>org.apache.maven.surefire</groupId> <artifactId>surefire-junit47</artifactId> <version>2.7.1</version> </dependency> </dependencies> <configuration> <forkMode>never</forkMode> <!-- <parallel>classes</parallel> --> </configuration> </plugin> <plugin> <groupId>org.glassfish.copyright</groupId> <artifactId>glassfish-copyright-maven-plugin</artifactId> <version>1.32</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> <version>1.2.1</version> <executions> <execution> <goals> <goal>process</goal> </goals> <configuration> <resourceBundles> <resourceBundle>org.glassfish:legal:1.1</resourceBundle> </resourceBundles> </configuration> </execution> </executions> </plugin> </plugins> <resources> <resource> <directory>api/src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> </resource> <resource> <directory>impl/src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> </resource> </resources> </build> <reporting> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${findbugs.version}</version> <configuration> <threshold>${findbugs.threshold}</threshold> <excludeFilterFile>${findbugs.exclude}</excludeFilterFile> </configuration> </plugin> </plugins> </reporting> <repositories> <repository> <id>jvnet-nexus-release</id> <url>https://maven.java.net/content/repositories/releases</url> <snapshots> <updatePolicy>never</updatePolicy> </snapshots> </repository> </repositories> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>licensee</id> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>wagon-maven-plugin</artifactId> <version>1.0-beta-4</version> <inherited>false</inherited> <executions> <execution> <id>get-license</id> <phase>package</phase> <goals> <goal>download-single</goal> </goals> <configuration> <url>${tlda-license.url}</url> <fromFile> TLDA_SCSL_Licensees_License_Notice.txt </fromFile> <toDir>${project.build.directory}/license</toDir> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>2.4</version> <inherited>false</inherited> <executions> <execution> <id>make-licensee-src-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> <configuration> <finalName>el-${project.version}-src</finalName> <attach>false</attach> <appendAssemblyId>false</appendAssemblyId> <descriptors> <descriptor>src/assembly/assembly.xml</descriptor> </descriptors> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>