You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by db...@apache.org on 2021/04/17 02:44:07 UTC
[tomee-jakarta] branch master updated: More refined profile just
for plume
This is an automated email from the ASF dual-hosted git repository.
dblevins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee-jakarta.git
The following commit(s) were added to refs/heads/master by this push:
new d6fd770 More refined profile just for plume
d6fd770 is described below
commit d6fd77027105155a2d7964b1c4fd75d4494a67b6
Author: David Blevins <da...@gmail.com>
AuthorDate: Fri Apr 16 19:33:57 2021 -0700
More refined profile just for plume
---
tomee/apache-tomee/pom.xml | 867 +++++++++++++++++++++++++++------------------
tomee/pom.xml | 1 +
2 files changed, 529 insertions(+), 339 deletions(-)
diff --git a/tomee/apache-tomee/pom.xml b/tomee/apache-tomee/pom.xml
index 095afb9..ee85362 100644
--- a/tomee/apache-tomee/pom.xml
+++ b/tomee/apache-tomee/pom.xml
@@ -153,7 +153,6 @@
<filtering>false</filtering>
</resource>
</resources>
-
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -200,356 +199,546 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-tomcat-for-webprofile</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat</artifactId>
- <version>${tomcat.version}</version>
- <type>zip</type>
- <outputDirectory>${webprofile.work-dir}</outputDirectory>
- <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- <execution>
- <id>copy-tomcat-for-plus</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat</artifactId>
- <version>${tomcat.version}</version>
- <type>zip</type>
- <outputDirectory>${plus.work-dir}</outputDirectory>
- <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- <execution>
- <id>copy-tomcat-for-plume</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat</artifactId>
- <version>${tomcat.version}</version>
- <type>zip</type>
- <outputDirectory>${plume.work-dir}</outputDirectory>
- <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- <execution>
- <id>copy-tomcat-for-microprofile</id>
- <phase>process-resources</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.apache.tomcat</groupId>
- <artifactId>tomcat</artifactId>
- <version>${tomcat.version}</version>
- <type>zip</type>
- <outputDirectory>${microprofile.work-dir}</outputDirectory>
- <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ </plugins>
+ </build>
- <plugin>
- <groupId>org.codehaus.gmaven</groupId>
- <artifactId>groovy-maven-plugin</artifactId>
- <dependencies>
- <dependency>
- <groupId>org.apache.tomee</groupId>
- <artifactId>javaee-api</artifactId>
- <version>${version.javaee-api}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.tomee.bom</groupId>
- <artifactId>jaxb-runtime</artifactId>
- <version>${tomee.version}</version>
- <type>pom</type>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>openejb-jpa-integration</artifactId>
- <version>${tomee.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-asm7-shaded</artifactId>
- <version>${xbeanVersion}</version>
- </dependency>
- <dependency>
- <groupId>org.codehaus.groovy</groupId>
- <artifactId>groovy-all</artifactId>
- <version>${version.groovy}</version>
- </dependency>
- </dependencies>
- <configuration>
- <classpathScope>runtime</classpathScope>
- <scriptpath>
- <path>${project.basedir}/src/main/groovy</path>
- </scriptpath>
- <defaults>
- <testSectionsFile>${project.basedir}/sections.properties</testSectionsFile>
- <logOutputDirectory>${project.build.directory}/logs</logOutputDirectory>
- <backupLogs>true</backupLogs>
- </defaults>
- </configuration>
- <executions>
- <execution>
- <id>execute-web-profile-installer</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- <configuration>
- <properties>
- <tomee.workdir>${webprofile.work-dir}</tomee.workdir>
- <tomee.webapp>tomee-webprofile-webapp</tomee.webapp>
- <tomee.version>${project.version}</tomee.version>
- </properties>
- <source>
- new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
- </source>
- </configuration>
- </execution>
- <execution>
- <id>execute-plus-installer</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- <configuration>
- <properties>
- <tomee.workdir>${plus.work-dir}</tomee.workdir>
- <tomee.webapp>tomee-plus-webapp</tomee.webapp>
- <tomee.version>${project.version}</tomee.version>
- </properties>
- <source>
- new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
- </source>
- </configuration>
- </execution>
- <execution>
- <id>execute-plume-installer</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- <configuration>
- <properties>
- <tomee.workdir>${plume.work-dir}</tomee.workdir>
- <tomee.webapp>tomee-plume-webapp</tomee.webapp>
- <tomee.version>${project.version}</tomee.version>
- </properties>
- <source>
- new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
- </source>
- </configuration>
- </execution>
- <execution>
- <id>execute-microprofile-installer</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- <configuration>
- <properties>
- <tomee.workdir>${microprofile.work-dir}</tomee.workdir>
- <tomee.webapp>tomee-microprofile-webapp</tomee.webapp>
- <tomee.version>${project.version}</tomee.version>
- </properties>
- <source>
- new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
- </source>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ <profiles>
+ <profile>
+ <id>all</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-tomcat-for-webprofile</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat</artifactId>
+ <version>${tomcat.version}</version>
+ <type>zip</type>
+ <outputDirectory>${webprofile.work-dir}</outputDirectory>
+ <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-tomcat-for-plus</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat</artifactId>
+ <version>${tomcat.version}</version>
+ <type>zip</type>
+ <outputDirectory>${plus.work-dir}</outputDirectory>
+ <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-tomcat-for-plume</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat</artifactId>
+ <version>${tomcat.version}</version>
+ <type>zip</type>
+ <outputDirectory>${plume.work-dir}</outputDirectory>
+ <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ <execution>
+ <id>copy-tomcat-for-microprofile</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat</artifactId>
+ <version>${tomcat.version}</version>
+ <type>zip</type>
+ <outputDirectory>${microprofile.work-dir}</outputDirectory>
+ <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>webprofile</id>
- <phase>package</phase>
+ <plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tomee</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>${version.javaee-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomee.bom</groupId>
+ <artifactId>jaxb-runtime</artifactId>
+ <version>${tomee.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>openejb-jpa-integration</artifactId>
+ <version>${tomee.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xbean</groupId>
+ <artifactId>xbean-asm7-shaded</artifactId>
+ <version>${xbeanVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ <version>${version.groovy}</version>
+ </dependency>
+ </dependencies>
<configuration>
- <descriptors>
- <descriptor>src/main/assembly/tomee-webprofile.xml</descriptor>
- </descriptors>
- <attach>false</attach>
- <appendAssemblyId>false</appendAssemblyId>
- <finalName>apache-tomee-webprofile-${project.version}</finalName>
+ <classpathScope>runtime</classpathScope>
+ <scriptpath>
+ <path>${project.basedir}/src/main/groovy</path>
+ </scriptpath>
+ <defaults>
+ <testSectionsFile>${project.basedir}/sections.properties</testSectionsFile>
+ <logOutputDirectory>${project.build.directory}/logs</logOutputDirectory>
+ <backupLogs>true</backupLogs>
+ </defaults>
</configuration>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- <execution>
- <id>plus</id>
- <phase>package</phase>
- <configuration>
- <descriptors>
- <descriptor>src/main/assembly/tomee-plus.xml</descriptor>
- </descriptors>
- <attach>false</attach>
- <appendAssemblyId>false</appendAssemblyId>
- <finalName>apache-tomee-plus-${project.version}</finalName>
- </configuration>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- <execution>
- <id>plume</id>
- <phase>package</phase>
+ <executions>
+ <execution>
+ <id>execute-web-profile-installer</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <properties>
+ <tomee.workdir>${webprofile.work-dir}</tomee.workdir>
+ <tomee.webapp>tomee-webprofile-webapp</tomee.webapp>
+ <tomee.version>${project.version}</tomee.version>
+ </properties>
+ <source>
+ new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
+ </source>
+ </configuration>
+ </execution>
+ <execution>
+ <id>execute-plus-installer</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <properties>
+ <tomee.workdir>${plus.work-dir}</tomee.workdir>
+ <tomee.webapp>tomee-plus-webapp</tomee.webapp>
+ <tomee.version>${project.version}</tomee.version>
+ </properties>
+ <source>
+ new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
+ </source>
+ </configuration>
+ </execution>
+ <execution>
+ <id>execute-plume-installer</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <properties>
+ <tomee.workdir>${plume.work-dir}</tomee.workdir>
+ <tomee.webapp>tomee-plume-webapp</tomee.webapp>
+ <tomee.version>${project.version}</tomee.version>
+ </properties>
+ <source>
+ new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
+ </source>
+ </configuration>
+ </execution>
+ <execution>
+ <id>execute-microprofile-installer</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <properties>
+ <tomee.workdir>${microprofile.work-dir}</tomee.workdir>
+ <tomee.webapp>tomee-microprofile-webapp</tomee.webapp>
+ <tomee.version>${project.version}</tomee.version>
+ </properties>
+ <source>
+ new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
+ </source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>webprofile</id>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/tomee-webprofile.xml</descriptor>
+ </descriptors>
+ <attach>false</attach>
+ <appendAssemblyId>false</appendAssemblyId>
+ <finalName>apache-tomee-webprofile-${project.version}</finalName>
+ </configuration>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>plus</id>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/tomee-plus.xml</descriptor>
+ </descriptors>
+ <attach>false</attach>
+ <appendAssemblyId>false</appendAssemblyId>
+ <finalName>apache-tomee-plus-${project.version}</finalName>
+ </configuration>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>plume</id>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/tomee-plume.xml</descriptor>
+ </descriptors>
+ <attach>false</attach>
+ <appendAssemblyId>false</appendAssemblyId>
+ <finalName>apache-tomee-plume-${project.version}</finalName>
+ </configuration>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>microprofile</id>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/tomee-microprofile.xml</descriptor>
+ </descriptors>
+ <attach>false</attach>
+ <appendAssemblyId>false</appendAssemblyId>
+ <finalName>apache-tomee-microprofile-${project.version}</finalName>
+ </configuration>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-webprofile-${project.version}.zip</file>
+ <type>zip</type>
+ <classifier>webprofile</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-webprofile-${project.version}.tar.gz</file>
+ <type>tar.gz</type>
+ <classifier>webprofile</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-plus-${project.version}.zip</file>
+ <type>zip</type>
+ <classifier>plus</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-plus-${project.version}.tar.gz</file>
+ <type>tar.gz</type>
+ <classifier>plus</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-plume-${project.version}.zip</file>
+ <type>zip</type>
+ <classifier>plume</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-plume-${project.version}.tar.gz</file>
+ <type>tar.gz</type>
+ <classifier>plume</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-microprofile-${project.version}.zip</file>
+ <type>zip</type>
+ <classifier>microprofile</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-microprofile-${project.version}.tar.gz</file>
+ <type>tar.gz</type>
+ <classifier>microprofile</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.tomee.patch</groupId>
+ <artifactId>tomee-patch-plugin</artifactId>
+ <version>0.4-SNAPSHOT</version>
<configuration>
- <descriptors>
- <descriptor>src/main/assembly/tomee-plume.xml</descriptor>
- </descriptors>
- <attach>false</attach>
- <appendAssemblyId>false</appendAssemblyId>
- <finalName>apache-tomee-plume-${project.version}</finalName>
+ <select>apache-tomee-(plus|plume|webprofile|microprofile).*\.zip</select>
+ <skipTransform>true</skipTransform>
+ <createTarGz>true</createTarGz>
+ <replace>
+ <!-- We don't want these bytecode modified at all, so we overwrite
+ any modifications made by the Eclipse Transformer with the originals -->
+ <jars>
+ <jakarta.faces-3.0.0.jar>org.glassfish:jakarta.faces:jar:3.0.0</jakarta.faces-3.0.0.jar>
+ <eclipselink-3.0.0.jar>org.eclipse.persistence:eclipselink:jar:3.0.0</eclipselink-3.0.0.jar>
+ </jars>
+ </replace>
</configuration>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- <execution>
- <id>microprofile</id>
- <phase>package</phase>
+ <executions>
+ <execution>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+
+ </profile>
+ <profile>
+ <id>plume</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-tomcat-for-plume</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.tomcat</groupId>
+ <artifactId>tomcat</artifactId>
+ <version>${tomcat.version}</version>
+ <type>zip</type>
+ <outputDirectory>${plume.work-dir}</outputDirectory>
+ <destFileName>apache-tomcat-${tomcat.version}.zip</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.gmaven</groupId>
+ <artifactId>groovy-maven-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.tomee</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>${version.javaee-api}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tomee.bom</groupId>
+ <artifactId>jaxb-runtime</artifactId>
+ <version>${tomee.version}</version>
+ <type>pom</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>openejb-jpa-integration</artifactId>
+ <version>${tomee.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xbean</groupId>
+ <artifactId>xbean-asm7-shaded</artifactId>
+ <version>${xbeanVersion}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ <version>${version.groovy}</version>
+ </dependency>
+ </dependencies>
<configuration>
- <descriptors>
- <descriptor>src/main/assembly/tomee-microprofile.xml</descriptor>
- </descriptors>
- <attach>false</attach>
- <appendAssemblyId>false</appendAssemblyId>
- <finalName>apache-tomee-microprofile-${project.version}</finalName>
+ <classpathScope>runtime</classpathScope>
+ <scriptpath>
+ <path>${project.basedir}/src/main/groovy</path>
+ </scriptpath>
+ <defaults>
+ <testSectionsFile>${project.basedir}/sections.properties</testSectionsFile>
+ <logOutputDirectory>${project.build.directory}/logs</logOutputDirectory>
+ <backupLogs>true</backupLogs>
+ </defaults>
</configuration>
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
+ <executions>
+ <execution>
+ <id>execute-plume-installer</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>execute</goal>
+ </goals>
+ <configuration>
+ <properties>
+ <tomee.workdir>${plume.work-dir}</tomee.workdir>
+ <tomee.webapp>tomee-plume-webapp</tomee.webapp>
+ <tomee.version>${project.version}</tomee.version>
+ </properties>
+ <source>
+ new commands.SetupCommand(pom: this, log: log, project: project, ant: ant, properties: properties).execute()
+ </source>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-artifacts</id>
- <phase>package</phase>
- <goals>
- <goal>attach-artifact</goal>
- </goals>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>plume</id>
+ <phase>package</phase>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/tomee-plume.xml</descriptor>
+ </descriptors>
+ <attach>false</attach>
+ <appendAssemblyId>false</appendAssemblyId>
+ <finalName>apache-tomee-plume-${project.version}</finalName>
+ </configuration>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-plume-${project.version}.zip</file>
+ <type>zip</type>
+ <classifier>plume</classifier>
+ </artifact>
+ <artifact>
+ <file>${project.build.directory}/apache-tomee-plume-${project.version}.tar.gz</file>
+ <type>tar.gz</type>
+ <classifier>plume</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.tomee.patch</groupId>
+ <artifactId>tomee-patch-plugin</artifactId>
+ <version>0.4-SNAPSHOT</version>
<configuration>
- <artifacts>
- <artifact>
- <file>${project.build.directory}/apache-tomee-webprofile-${project.version}.zip</file>
- <type>zip</type>
- <classifier>webprofile</classifier>
- </artifact>
- <artifact>
- <file>${project.build.directory}/apache-tomee-webprofile-${project.version}.tar.gz</file>
- <type>tar.gz</type>
- <classifier>webprofile</classifier>
- </artifact>
- <artifact>
- <file>${project.build.directory}/apache-tomee-plus-${project.version}.zip</file>
- <type>zip</type>
- <classifier>plus</classifier>
- </artifact>
- <artifact>
- <file>${project.build.directory}/apache-tomee-plus-${project.version}.tar.gz</file>
- <type>tar.gz</type>
- <classifier>plus</classifier>
- </artifact>
- <artifact>
- <file>${project.build.directory}/apache-tomee-plume-${project.version}.zip</file>
- <type>zip</type>
- <classifier>plume</classifier>
- </artifact>
- <artifact>
- <file>${project.build.directory}/apache-tomee-plume-${project.version}.tar.gz</file>
- <type>tar.gz</type>
- <classifier>plume</classifier>
- </artifact>
- <artifact>
- <file>${project.build.directory}/apache-tomee-microprofile-${project.version}.zip</file>
- <type>zip</type>
- <classifier>microprofile</classifier>
- </artifact>
- <artifact>
- <file>${project.build.directory}/apache-tomee-microprofile-${project.version}.tar.gz</file>
- <type>tar.gz</type>
- <classifier>microprofile</classifier>
- </artifact>
- </artifacts>
+ <select>apache-tomee-(plus|plume|webprofile|microprofile).*\.zip</select>
+ <skipTransform>true</skipTransform>
+ <createTarGz>true</createTarGz>
+ <replace>
+ <!-- We don't want these bytecode modified at all, so we overwrite
+ any modifications made by the Eclipse Transformer with the originals -->
+ <jars>
+ <jakarta.faces-3.0.0.jar>org.glassfish:jakarta.faces:jar:3.0.0</jakarta.faces-3.0.0.jar>
+ <eclipselink-3.0.0.jar>org.eclipse.persistence:eclipselink:jar:3.0.0</eclipselink-3.0.0.jar>
+ </jars>
+ </replace>
</configuration>
- </execution>
- </executions>
- </plugin>
+ <executions>
+ <execution>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <phase>package</phase>
+ </execution>
+ </executions>
+ </plugin>
- <plugin>
- <groupId>org.apache.tomee.patch</groupId>
- <artifactId>tomee-patch-plugin</artifactId>
- <version>0.4-SNAPSHOT</version>
- <configuration>
- <select>apache-tomee-(plus|plume|webprofile|microprofile).*\.zip</select>
- <skipTransform>true</skipTransform>
- <createTarGz>true</createTarGz>
- <replace>
- <!-- We don't want these bytecode modified at all, so we overwrite
- any modifications made by the Eclipse Transformer with the originals -->
- <jars>
- <jakarta.faces-3.0.0.jar>org.glassfish:jakarta.faces:jar:3.0.0</jakarta.faces-3.0.0.jar>
- <eclipselink-3.0.0.jar>org.eclipse.persistence:eclipselink:jar:3.0.0</eclipselink-3.0.0.jar>
- </jars>
- </replace>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>run</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
- </plugin>
+ </plugins>
+ </build>
- </plugins>
- </build>
+ </profile>
+ </profiles>
</project>
diff --git a/tomee/pom.xml b/tomee/pom.xml
index 60ec224..52f2057 100644
--- a/tomee/pom.xml
+++ b/tomee/pom.xml
@@ -51,6 +51,7 @@
<profile>
<id>plume</id>
<modules>
+ <module>tomee-webprofile-webapp</module>
<module>tomee-plume-webapp</module>
<module>apache-tomee</module>
</modules>