Skip to content

Commit

Permalink
add dist folder, ignored by git.
Browse files Browse the repository at this point in the history
Signed-off-by: Gurunandan Rao <[email protected]>
  • Loading branch information
gurunrao committed Mar 2, 2024
1 parent 8663826 commit 0302a9d
Show file tree
Hide file tree
Showing 5 changed files with 1,000 additions and 0 deletions.
84 changes: 84 additions & 0 deletions jpa/dist/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2021, 2024 Contributors to the Eclipse Foundation
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.tck</groupId>
<artifactId>persistence-tck</artifactId>
<version>3.2.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>persistence-tck-dist</artifactId>
<packaging>jar</packaging>
<build>
<finalName>${bundle-name}-${project.version}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>LICENSE_${license}.md</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>distribution</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
<escapeString>\</escapeString>
<appendAssemblyId>false</appendAssemblyId>
<finalName>${bundle-name}-${project.version}</finalName>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>EFTL</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<bundle-name>jakarta-persistence-tck</bundle-name>
<license>EFTL</license>
</properties>
</profile>
<profile>
<id>EPL</id>
<properties>
<bundle-name>persistence-tck</bundle-name>
<license>EPL</license>
</properties>
</profile>
</profiles>
</project>
105 changes: 105 additions & 0 deletions jpa/dist/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2024 Oracle and/or its affiliates. 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
-->

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>distribution</id>
<baseDirectory>persistence-tck</baseDirectory>
<formats>
<format>zip</format>
</formats>

<files>
<!-- license -->
<file>
<source>${project.basedir}/src/main/resources/LICENSE_${license}.md</source>
<destName>LICENSE.md</destName>
</file>
</files>
<fileSets>
<fileSet>
<directory>${project.basedir}/../spec-tests/target</directory>
<outputDirectory>artifacts</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>**/*.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../common/target</directory>
<outputDirectory>artifacts</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>**/*.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../docs</directory>
<outputDirectory>docs</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>assertions/**</include>
<include>*.html</include>
<include>*.txt</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../procedures/target</directory>
<outputDirectory>artifacts</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>**/*.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../docs/userguide/target/generated-docs</directory>
<outputDirectory>docs/pdf-usersguide</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>*.pdf</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../docs/userguide/target/staging</directory>
<outputDirectory>docs/html-usersguide</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>*.html</include>
<include>css/**</include>
<include>img/**</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../../sql</directory>
<outputDirectory>sql</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>**/**</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../bin</directory>
<outputDirectory>bin</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>**/**</include>
</includes>
</fileSet>
</fileSets>
</assembly>
Loading

0 comments on commit 0302a9d

Please sign in to comment.