Skip to content

Commit b916884

Browse files
authored
add pom.xml for dist generation. (#315)
Signed-off-by: gurunrao <gurunandan.rao@oracle.com>
1 parent b9ea7b6 commit b916884

File tree

2 files changed

+107
-1
lines changed

2 files changed

+107
-1
lines changed

tck-dist/pom.xml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (c) 2022 Oracle and/or its affiliates. All rights reserved.
5+
6+
This program and the accompanying materials are made available under the
7+
terms of the Eclipse Public License v. 2.0, which is available at
8+
http://www.eclipse.org/legal/epl-2.0.
9+
10+
This Source Code may also be made available under the following Secondary
11+
Licenses when the conditions for such availability set forth in the
12+
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
13+
version 2 with the GNU Classpath Exception, which is available at
14+
https://www.gnu.org/software/classpath/license.html.
15+
16+
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
17+
18+
-->
19+
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
21+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22+
<modelVersion>4.0.0</modelVersion>
23+
<parent>
24+
<groupId>org.eclipse.ee4j</groupId>
25+
<artifactId>project</artifactId>
26+
<version>1.0.7</version>
27+
</parent>
28+
29+
<groupId>jakarta.json.bind</groupId>
30+
<artifactId>jakarta.json.bind-tck-dist</artifactId>
31+
<packaging>pom</packaging>
32+
<version>3.0.0-SNAPSHOT</version>
33+
<name>JSONB TCK Distribution</name>
34+
35+
<dependencies>
36+
<dependency>
37+
<groupId>jakarta.json.bind</groupId>
38+
<artifactId>jakarta.json.bind-tck-ug</artifactId>
39+
<version>${project.version}</version>
40+
<type>zip</type>
41+
</dependency>
42+
<dependency>
43+
<groupId>jakarta.json.bind</groupId>
44+
<artifactId>jakarta.json.bind-tck</artifactId>
45+
<version>${project.version}</version>
46+
<type>pom</type>
47+
</dependency>
48+
<dependency>
49+
<groupId>jakarta.json.bind</groupId>
50+
<artifactId>jakarta.json.bind-tck</artifactId>
51+
<version>${project.version}</version>
52+
<type>jar</type>
53+
</dependency>
54+
<dependency>
55+
<groupId>jakarta.json.bind</groupId>
56+
<artifactId>jakarta.json.bind-tck</artifactId>
57+
<version>${project.version}</version>
58+
<classifier>sources</classifier>
59+
<optional>true</optional>
60+
</dependency>
61+
</dependencies>
62+
63+
<profiles>
64+
<profile>
65+
<id>EFTL</id>
66+
<properties>
67+
<license>EFTL</license>
68+
<bundle-name>jakarta-jsonb-tck</bundle-name>
69+
</properties>
70+
</profile>
71+
<profile>
72+
<id>EPL</id>
73+
<properties>
74+
<license>EPL</license>
75+
<bundle-name>jsonb-tck</bundle-name>
76+
</properties>
77+
<activation>
78+
<activeByDefault>true</activeByDefault>
79+
</activation>
80+
</profile>
81+
</profiles>
82+
83+
<build>
84+
<plugins>
85+
<plugin>
86+
<artifactId>maven-assembly-plugin</artifactId>
87+
<executions>
88+
<execution>
89+
<id>distribution</id>
90+
<phase>package</phase>
91+
<goals>
92+
<goal>single</goal>
93+
</goals>
94+
<configuration>
95+
<descriptors>
96+
<descriptor>src/main/assembly/assembly.xml</descriptor>
97+
</descriptors>
98+
<appendAssemblyId>false</appendAssemblyId>
99+
<finalName>${bundle-name}-${project.version}</finalName>
100+
</configuration>
101+
</execution>
102+
</executions>
103+
</plugin>
104+
</plugins>
105+
</build>
106+
</project>

tck-docs/userguide/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<groupId>jakarta.json.bind</groupId>
2828
<artifactId>jakarta.json.bind-tck-ug</artifactId>
2929
<packaging>pom</packaging>
30-
<version>3.0.0</version>
30+
<version>3.0.0-SNAPSHOT</version>
3131
<name>Eclipse Foundation Technology Compatibility Kit User's Guide for Jakarta JSON Binding for Jakarta EE, Release 3.0</name>
3232

3333
<properties>

0 commit comments

Comments
 (0)