|  | <?xml version="1.0" encoding="UTF-8"?> | 
|  | <!-- | 
|  |  | 
|  | Copyright (c) 1997, 2020 Oracle and/or its affiliates and others. | 
|  | All rights reserved. | 
|  |  | 
|  | This program and the accompanying materials are made available under the | 
|  | terms of the Eclipse Public License v. 2.0, which is available at | 
|  | http://www.eclipse.org/legal/epl-2.0. | 
|  |  | 
|  | This Source Code may also be made available under the following Secondary | 
|  | Licenses when the conditions for such availability set forth in the | 
|  | Eclipse Public License v. 2.0 are satisfied: GNU General Public License, | 
|  | version 2 with the GNU Classpath Exception, which is available at | 
|  | https://www.gnu.org/software/classpath/license.html. | 
|  |  | 
|  | SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | 
|  |  | 
|  | --> | 
|  |  | 
|  | <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/xsd/maven-4.0.0.xsd"> | 
|  | <modelVersion>4.0.0</modelVersion> | 
|  |  | 
|  | <parent> | 
|  | <groupId>jakarta.el</groupId> | 
|  | <artifactId>el-parent</artifactId> | 
|  | <version>4.0.0-SNAPSHOT</version> | 
|  | <relativePath>../</relativePath> | 
|  | </parent> | 
|  |  | 
|  | <groupId>org.glassfish</groupId> | 
|  | <artifactId>jakarta.el</artifactId> | 
|  |  | 
|  | <name>Jakarta Expression Language Implementation</name> | 
|  | <description>Jakarta Expression Language Implementation</description> | 
|  | <url>https://projects.eclipse.org/projects/ee4j.el</url> | 
|  |  | 
|  | <properties> | 
|  | <!-- the bundle build number must be the same as the maven number --> | 
|  | <bundle.version>${project.version}</bundle.version> | 
|  | <!-- The most current api version --> | 
|  | <spec.version>4.0</spec.version> | 
|  | <extensionName>jakarta.el.impl</extensionName> | 
|  | <bundle.symbolicName>org.glassfish.jakarta.el</bundle.symbolicName> | 
|  | <findbugs.version>2.5.2</findbugs.version> | 
|  | <findbugs.exclude>${project.basedir}/exclude.xml</findbugs.exclude> | 
|  | <findbugs.threshold>High</findbugs.threshold> | 
|  | </properties> | 
|  |  | 
|  | <build> | 
|  | <resources> | 
|  | <resource> | 
|  | <directory>src/main/java</directory> | 
|  | <includes> | 
|  | <include>**/*.properties</include> | 
|  | <include>**/*.xml</include> | 
|  | </includes> | 
|  | </resource> | 
|  | <resource> | 
|  | <directory>${project.basedir}/..</directory> | 
|  | <includes> | 
|  | <include>LICENSE.md</include> | 
|  | <include>NOTICE.md</include> | 
|  | </includes> | 
|  | <targetPath>META-INF</targetPath> | 
|  | </resource> | 
|  | </resources> | 
|  |  | 
|  |  | 
|  | <plugins> | 
|  | <!-- 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> | 
|  | Jakarta Expression Language ${spec.version} 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> | 
|  | <Export-Package>com.sun.el</Export-Package> | 
|  | </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>3.1.0</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.8</source> | 
|  | <target>1.8</target> | 
|  | <compilerArgument>-Xlint:unchecked</compilerArgument> | 
|  | </configuration> | 
|  | </plugin> | 
|  |  | 
|  | <plugin> | 
|  | <groupId>org.apache.maven.plugins</groupId> | 
|  | <artifactId>maven-javadoc-plugin</artifactId> | 
|  | <version>3.1.1</version> | 
|  | <executions> | 
|  | <execution> | 
|  | <id>attach-javadocs</id> | 
|  | <goals> | 
|  | <goal>jar</goal> | 
|  | </goals> | 
|  | <configuration> | 
|  | <source>1.8</source> | 
|  | <additionalJOption>-Xdoclint:none</additionalJOption> | 
|  | <groups> | 
|  | <group> | 
|  | <title>Jakarta Expression Language 3.0 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> | 
|  | </configuration> | 
|  | </plugin> | 
|  | </plugins> | 
|  | </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> | 
|  |  | 
|  | <dependencies> | 
|  | <dependency> | 
|  | <groupId>jakarta.el</groupId> | 
|  | <artifactId>jakarta.el-api</artifactId> | 
|  | <version>${bundle.version}</version> | 
|  | </dependency> | 
|  | <dependency> | 
|  | <groupId>junit</groupId> | 
|  | <artifactId>junit</artifactId> | 
|  | <version>4.12</version> | 
|  | <scope>test</scope> | 
|  | </dependency> | 
|  | </dependencies> | 
|  |  | 
|  | </project> |