blob: 2eb9e03ad01f274239a2e537a291609930470cbd [file] [log] [blame]
Yamini K B35f048c2018-06-07 14:26:39 +05301<?xml version="1.0" encoding="UTF-8"?>
2<!--
3
Mark Thomas23aee6c2018-10-24 21:54:08 +02004 Copyright (c) 1997, 2018 Oracle and/or its affiliates and others.
5 All rights reserved.
Yamini K B35f048c2018-06-07 14:26:39 +05306
7 This program and the accompanying materials are made available under the
8 terms of the Eclipse Public License v. 2.0, which is available at
9 http://www.eclipse.org/legal/epl-2.0.
10
11 This Source Code may also be made available under the following Secondary
12 Licenses when the conditions for such availability set forth in the
13 Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
14 version 2 with the GNU Classpath Exception, which is available at
15 https://www.gnu.org/software/classpath/license.html.
16
17 SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
18
19-->
20
21<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">
arjantijms1fd21322018-09-27 20:32:50 +010022
Yamini K B35f048c2018-06-07 14:26:39 +053023 <parent>
arjantijms1fd21322018-09-27 20:32:50 +010024 <groupId>org.eclipse.ee4j</groupId>
25 <artifactId>project</artifactId>
Jonathan Coustick32276e62018-11-07 14:18:17 +000026 <version>1.0.5</version>
Yamini K B35f048c2018-06-07 14:26:39 +053027 </parent>
28
29 <modelVersion>4.0.0</modelVersion>
30 <groupId>org.glassfish</groupId>
Jonathan Coustick74dd1202018-11-07 14:31:40 +000031 <artifactId>jakarta.el</artifactId>
arjantijms1b122f02018-11-26 13:52:13 +010032 <version>3.0.2-SNAPSHOT</version>
Yamini K B35f048c2018-06-07 14:26:39 +053033 <packaging>jar</packaging>
34 <name>Expression Language 3.0</name>
35
36 <properties>
37 <!-- the bundle build number must be the same as the maven number -->
arjantijms1b122f02018-11-26 13:52:13 +010038 <bundle.version>3.0.2</bundle.version>
Yamini K B35f048c2018-06-07 14:26:39 +053039 <!-- The most current api version -->
40 <spec.version>3.0</spec.version>
Jonathan Cousticka5da4042018-11-07 14:35:33 +000041 <extensionName>javax.el</extensionName>
42 <bundle.symbolicName>com.sun.el.javax.el</bundle.symbolicName>
Yamini K B35f048c2018-06-07 14:26:39 +053043 <vendorName>Oracle Corporation</vendorName>
44 <findbugs.version>2.5.2</findbugs.version>
45 <findbugs.exclude>${project.basedir}/exclude.xml</findbugs.exclude>
46 <findbugs.threshold>High</findbugs.threshold>
47 <tlda-license.url>http://hudson-sca.us.oracle.com/job/tlda-license/lastSuccessfulBuild/artifact</tlda-license.url>
48 </properties>
49
50 <description>Expression Language (JSR 341) Reference Implementation</description>
51 <url>https://projects.eclipse.org/projects/ee4j.el</url>
52
53
54 <issueManagement>
55 <system>github</system>
56 <url>https://github.com/eclipse-ee4j/el-ri/issues</url>
57 </issueManagement>
58
59 <licenses>
60 <license>
61 <name>EPL 2.0</name>
62 <url>http://www.eclipse.org/legal/epl-2.0</url>
63 <distribution>repo</distribution>
64 </license>
65 <license>
66 <name>GPL2 w/ CPE</name>
67 <url>https://www.gnu.org/software/classpath/license.html</url>
68 <distribution>repo</distribution>
69 </license>
70 </licenses>
arjantijms1fd21322018-09-27 20:32:50 +010071
Yamini K B35f048c2018-06-07 14:26:39 +053072 <mailingLists>
73 <mailingList>
arjantijms1fd21322018-09-27 20:32:50 +010074 <name>EL mailing list</name>
75 <post>el-dev@eclipse.org</post>
76 <subscribe>https://dev.eclipse.org/mailman/listinfo/el-dev</subscribe>
77 <unsubscribe>https://dev.eclipse.org/mailman/listinfo/el-dev</unsubscribe>
78 <archive>https://dev.eclipse.org/mhonarc/lists/el-dev</archive>
Yamini K B35f048c2018-06-07 14:26:39 +053079 </mailingList>
80 </mailingLists>
arjantijms1fd21322018-09-27 20:32:50 +010081
Yamini K B35f048c2018-06-07 14:26:39 +053082 <scm>
83 <connection>scm:git:https://github.com/eclipse-ee4j/el-ri.git</connection>
84 <developerConnection>
85 scm:git:git@github.com:eclipse-ee4j/el-ri.git
86 </developerConnection>
87 <url>https://github.com/eclipse-ee4j/el-ri</url>
arjantijms1fd21322018-09-27 20:32:50 +010088 <tag>HEAD</tag>
Yamini K B35f048c2018-06-07 14:26:39 +053089 </scm>
90
91 <developers>
92 <developer>
93 <id>yaminikb</id>
94 <name>Yamini K B</name>
95 <organization>Oracle Corporation</organization>
96 <organizationUrl>http://www.oracle.com/</organizationUrl>
97 </developer>
98 </developers>
99
100 <contributors>
101 <contributor>
102 <name>Kin-man Chung</name>
103 </contributor>
104 </contributors>
105
106 <build>
arjantijms1b122f02018-11-26 13:52:13 +0100107 <resources>
108 <resource>
109 <directory>api/src/main/java</directory>
110 <includes>
111 <include>**/*.properties</include>
112 <include>**/*.xml</include>
113 </includes>
114 </resource>
115 <resource>
116 <directory>impl/src/main/java</directory>
117 <includes>
118 <include>**/*.properties</include>
119 <include>**/*.xml</include>
120 </includes>
121 </resource>
122 <resource>
123 <directory>${project.basedir}</directory>
124 <includes>
125 <include>LICENSE.md</include>
126 <include>NOTICE.md</include>
127 </includes>
128 <targetPath>META-INF</targetPath>
129 </resource>
130 </resources>
131
Yamini K B35f048c2018-06-07 14:26:39 +0530132 <plugins>
133 <!-- Use this to include both the api and impl sources -->
134 <plugin>
135 <groupId>org.codehaus.mojo</groupId>
136 <artifactId>build-helper-maven-plugin</artifactId>
137 <version>1.1</version>
138 <executions>
139 <execution>
140 <id>add-source</id>
141 <phase>generate-sources</phase>
142 <goals>
143 <goal>add-source</goal>
144 </goals>
145 <configuration>
146 <sources>
147 <source>api/src/main/java</source>
148 <source>impl/src/main/java</source>
149 </sources>
150 </configuration>
151 </execution>
152 </executions>
153 </plugin>
arjantijms1fd21322018-09-27 20:32:50 +0100154
155 <!-- Configure maven-bundle-plugin to generate OSGi manifest. Please note: we use the manifest goal only and not the bundle goal.
156 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
157 jar. -->
Yamini K B35f048c2018-06-07 14:26:39 +0530158 <plugin>
159 <groupId>org.apache.felix</groupId>
160 <artifactId>maven-bundle-plugin</artifactId>
161 <version>1.4.3</version>
162 <configuration>
163 <instructions>
164 <Bundle-SymbolicName>${bundle.symbolicName}</Bundle-SymbolicName>
165 <Bundle-Description>
166 Expression Language ${spec.version} API and Implementation
arjantijms1fd21322018-09-27 20:32:50 +0100167
Yamini K B35f048c2018-06-07 14:26:39 +0530168 </Bundle-Description>
169 <Bundle-Version>${bundle.version}</Bundle-Version>
170 <Extension-Name>${extensionName}</Extension-Name>
171 <Specification-Version>${spec.version}</Specification-Version>
172 <Specification-Vendor>${vendorName}</Specification-Vendor>
173 <Implementation-Version>${project.version}</Implementation-Version>
174 <Implementation-Vendor>${vendorName}</Implementation-Vendor>
175 </instructions>
176 </configuration>
177 <executions>
178 <execution>
179 <id>bundle-manifest</id>
180 <phase>process-classes</phase>
181 <goals>
182 <goal>manifest</goal>
183 </goals>
184 </execution>
185 </executions>
186 </plugin>
187 <plugin>
188 <artifactId>maven-jar-plugin</artifactId>
189 <version>2.4</version>
190 <configuration>
191 <archive>
192 <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
193 </archive>
194 </configuration>
195 </plugin>
196 <plugin>
197 <groupId>org.apache.maven.plugins</groupId>
198 <artifactId>maven-compiler-plugin</artifactId>
199 <version>3.0</version>
200 <configuration>
201 <source>1.7</source>
202 <target>1.7</target>
203 <compilerArgument>-Xlint:unchecked</compilerArgument>
204 </configuration>
205 </plugin>
arjantijms1fd21322018-09-27 20:32:50 +0100206
Yamini K B35f048c2018-06-07 14:26:39 +0530207 <plugin>
208 <groupId>org.apache.maven.plugins</groupId>
209 <artifactId>maven-source-plugin</artifactId>
210 <version> 2.2.1 </version>
211 <configuration>
212 <includePom>true</includePom>
213 </configuration>
214 <executions>
215 <execution>
arjantijms1fd21322018-09-27 20:32:50 +0100216 <id>attach-sources</id>
217 <goals>
218 <goal>jar-no-fork</goal>
219 </goals>
Yamini K B35f048c2018-06-07 14:26:39 +0530220 </execution>
221 </executions>
222 </plugin>
arjantijms1fd21322018-09-27 20:32:50 +0100223
Yamini K B35f048c2018-06-07 14:26:39 +0530224 <plugin>
225 <groupId>org.apache.maven.plugins</groupId>
226 <artifactId>maven-javadoc-plugin</artifactId>
arjantijms1fd21322018-09-27 20:32:50 +0100227 <version>3.0.1</version>
Yamini K B35f048c2018-06-07 14:26:39 +0530228 <executions>
229 <execution>
230 <id>attach-javadocs</id>
arjantijms1fd21322018-09-27 20:32:50 +0100231 <goals>
232 <goal>jar</goal>
233 </goals>
Yamini K B35f048c2018-06-07 14:26:39 +0530234 <configuration>
235 <sourcepath>api/src;impl/src</sourcepath>
arjantijms1fd21322018-09-27 20:32:50 +0100236 <additionalJOption>-Xdoclint:none</additionalJOption>
237 <links>
238 <link>https://javaee.github.io/javaee-spec/javadocs/</link>
239 </links>
Yamini K B35f048c2018-06-07 14:26:39 +0530240 <groups>
241 <group>
242 <title>Expresion Language 3.0 API and Implementation</title>
243 <packages>com.sun.el</packages>
244 </group>
245 </groups>
246 <bottom> Copyright (c) 2013 Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms. </bottom>
247 </configuration>
248 </execution>
249 </executions>
250 </plugin>
arjantijms1fd21322018-09-27 20:32:50 +0100251
252 <!-- Use ant to manually invoke javacc, as this required is very infrequently <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>javacc-maven-plugin</artifactId>
253 <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>
254 <outputDirectory>src/main/java/com/sun/el/parser</outputDirectory> </configuration> </execution> </executions> </plugin> -->
Yamini K B35f048c2018-06-07 14:26:39 +0530255 <plugin>
256 <groupId>org.codehaus.mojo</groupId>
257 <artifactId>findbugs-maven-plugin</artifactId>
258 <version>${findbugs.version}</version>
259 <configuration>
260 <threshold>${findbugs.threshold}</threshold>
261 <excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
262 <findbugsXmlOutput>true</findbugsXmlOutput>
263 <findbugsXmlWithMessages>true</findbugsXmlWithMessages>
264 </configuration>
265 </plugin>
arjantijms1fd21322018-09-27 20:32:50 +0100266
Yamini K B35f048c2018-06-07 14:26:39 +0530267 <plugin>
Yamini K B35f048c2018-06-07 14:26:39 +0530268 <artifactId>maven-surefire-plugin</artifactId>
269 <version>2.7.1</version>
270 <dependencies>
271 <dependency>
272 <groupId>org.apache.maven.surefire</groupId>
273 <artifactId>surefire-junit47</artifactId>
274 <version>2.7.1</version>
275 </dependency>
276 </dependencies>
277 <configuration>
278 <forkMode>never</forkMode>
arjantijms1fd21322018-09-27 20:32:50 +0100279 <!-- <parallel>classes</parallel> -->
Yamini K B35f048c2018-06-07 14:26:39 +0530280 </configuration>
281 </plugin>
arjantijms1fd21322018-09-27 20:32:50 +0100282
Yamini K B35f048c2018-06-07 14:26:39 +0530283 <plugin>
284 <groupId>org.glassfish.copyright</groupId>
285 <artifactId>glassfish-copyright-maven-plugin</artifactId>
286 <version>1.32</version>
287 </plugin>
Yamini K B35f048c2018-06-07 14:26:39 +0530288 </plugins>
arjantijms1b122f02018-11-26 13:52:13 +0100289
Yamini K B35f048c2018-06-07 14:26:39 +0530290 </build>
arjantijms1fd21322018-09-27 20:32:50 +0100291
292
Yamini K B35f048c2018-06-07 14:26:39 +0530293 <reporting>
294 <plugins>
295 <plugin>
296 <groupId>org.codehaus.mojo</groupId>
297 <artifactId>findbugs-maven-plugin</artifactId>
298 <version>${findbugs.version}</version>
299 <configuration>
300 <threshold>${findbugs.threshold}</threshold>
301 <excludeFilterFile>${findbugs.exclude}</excludeFilterFile>
302 </configuration>
303 </plugin>
arjantijms1fd21322018-09-27 20:32:50 +0100304 <plugin>
305 <groupId>org.apache.maven.plugins</groupId>
306 <artifactId>maven-javadoc-plugin</artifactId>
307 <version>3.0.1</version>
308 <configuration>
309 <excludePackageNames>com.sun.el.parser</excludePackageNames>
310 <sourceFileExcludes>
311 <sourceFileExclude>**/parser/*.java</sourceFileExclude>
312 </sourceFileExcludes>
313 </configuration>
314 </plugin>
Yamini K B35f048c2018-06-07 14:26:39 +0530315 </plugins>
316 </reporting>
317
318 <dependencies>
319 <dependency>
320 <groupId>junit</groupId>
321 <artifactId>junit</artifactId>
322 <version>4.12</version>
323 <scope>test</scope>
324 </dependency>
325 </dependencies>
326
327 <profiles>
328 <profile>
329 <id>licensee</id>
330 <build>
331 <plugins>
332 <plugin>
333 <groupId>org.codehaus.mojo</groupId>
334 <artifactId>wagon-maven-plugin</artifactId>
335 <version>1.0-beta-4</version>
336 <inherited>false</inherited>
337 <executions>
338 <execution>
339 <id>get-license</id>
340 <phase>package</phase>
341 <goals>
342 <goal>download-single</goal>
343 </goals>
344 <configuration>
345 <url>${tlda-license.url}</url>
346 <fromFile>
347 TLDA_SCSL_Licensees_License_Notice.txt
348 </fromFile>
349 <toDir>${project.build.directory}/license</toDir>
350 </configuration>
351 </execution>
352 </executions>
353 </plugin>
354 <plugin>
355 <groupId>org.apache.maven.plugins</groupId>
356 <artifactId>maven-assembly-plugin</artifactId>
357 <version>2.4</version>
358 <inherited>false</inherited>
359 <executions>
360 <execution>
361 <id>make-licensee-src-assembly</id>
362 <phase>package</phase>
363 <goals>
364 <goal>single</goal>
365 </goals>
366 <configuration>
367 <finalName>el-${project.version}-src</finalName>
368 <attach>false</attach>
369 <appendAssemblyId>false</appendAssemblyId>
370 <descriptors>
371 <descriptor>src/assembly/assembly.xml</descriptor>
372 </descriptors>
373 </configuration>
374 </execution>
375 </executions>
376 </plugin>
377 </plugins>
378 </build>
379 </profile>
380 </profiles>
381</project>