Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-22673 enable TP... #334

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
280 changes: 143 additions & 137 deletions jbtcentraltarget/multiple/pom.xml
@@ -1,141 +1,147 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>org.jboss.tools.targetplatforms</groupId>
<artifactId>jbtcentral</artifactId>
<version>4.60.0.Final-SNAPSHOT</version>
</parent>
<artifactId>jbtcentral-multiple</artifactId>
<name>JBoss Central Core Multiple (Composite) Target Platform</name>
<packaging>pom</packaging>
<properties>
<!-- set this to false to allow validation to proceed but NOT fail the build -->
<validate-target-platform.failOnError>true</validate-target-platform.failOnError>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jboss.tools.tycho-plugins</groupId>
<artifactId>target-platform-utils</artifactId>
<version>${jbossTychoPluginsVersion}</version>
<executions>
<!-- Merge:
1. jbosstools-multiple.target (JBoss Tools)
2. jbtcentral.target (JBT Central)
= jbtcentral-multiple.target
-->
<execution>
<id>merge-jbtcentral</id>
<phase>generate-resources</phase>
<goals>
<goal>merge-targets</goal>
</goals>
<configuration>
<sourceTargetArtifacts>
<item>
<groupId>org.jboss.tools.targetplatforms</groupId>
<artifactId>jbosstools-multiple</artifactId>
<version>${JBTCoreTPVersion}</version>
<classifier>jbosstools-multiple</classifier>
</item>
</sourceTargetArtifacts>
<sourceTargetFiles>
<item>${basedir}/jbtcentral-multiple.target</item>
</sourceTargetFiles>
<outputFile>${project.build.directory}/${project.artifactId}-full.target</outputFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>target-platform-validation-plugin</artifactId>
<version>${tychoExtrasVersion}</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>validate-target-platform</goal>
</goals>
<configuration>
<targetFiles>
<param>${project.build.directory}/${project.artifactId}-full.target</param>
</targetFiles>
<failOnError>${validate-target-platform.failOnError}</failOnError>
</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>
<configuration>
<artifacts>
<!-- add more artifacts if want more target platforms -->
<artifact>
<file>${project.artifactId}.target</file>
<type>target</type>
<classifier>${project.artifactId}</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>${basedir}/../../publish-assembly.xml</descriptor>
</descriptors>
<!-- JBIDE-19800 zip would be jbtcentral-multiple-4.60.0.Final-SNAPSHOT.zip; want jbtcentraltarget-4.60.0.Final-SNAPSHOT.zip -->
<finalName>${project.parent.artifactId}target-${project.version}</finalName>
</configuration>
</plugin>
<plugin>
<groupId>net.ju-n.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>multiple2repo</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=389052 -->
<groupId>org.jboss.tools.tycho-plugins</groupId>
<artifactId>target-platform-utils</artifactId>
<version>${jbossTychoPluginsVersion}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>mirror-target-to-repo</goal>
</goals>
<configuration>
<sourceTargetFile>${project.artifactId}.target</sourceTargetFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
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>org.jboss.tools.targetplatforms</groupId>
<artifactId>jbtcentral</artifactId>
<version>4.60.0.Final-SNAPSHOT</version>
</parent>
<artifactId>jbtcentral-multiple</artifactId>
<name>JBoss Central Core Multiple (Composite) Target Platform</name>
<packaging>pom</packaging>
<properties>
<!-- set this to false to allow validation to proceed but NOT fail the build -->
<validate-target-platform.failOnError>true</validate-target-platform.failOnError>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jboss.tools.tycho-plugins</groupId>
<artifactId>target-platform-utils</artifactId>
<version>${jbossTychoPluginsVersion}</version>
<executions>
<!-- Merge:
1. jbosstools-multiple.target (JBoss Tools)
2. jbtcentral.target (JBT Central)
= jbtcentral-multiple.target
-->
<execution>
<id>merge-jbtcentral</id>
<phase>generate-resources</phase>
<goals>
<goal>merge-targets</goal>
</goals>
<configuration>
<sourceTargetArtifacts>
<item>
<groupId>org.jboss.tools.targetplatforms</groupId>
<artifactId>jbosstools-multiple</artifactId>
<version>${JBTCoreTPVersion}</version>
<classifier>jbosstools-multiple</classifier>
</item>
</sourceTargetArtifacts>
<sourceTargetFiles>
<item>${basedir}/jbtcentral-multiple.target</item>
</sourceTargetFiles>
<outputFile>${project.build.directory}/${project.artifactId}-full.target</outputFile>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>target-platform-validation-plugin</artifactId>
<version>${tychoExtrasVersion}</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>validate-target-platform</goal>
</goals>
<configuration>
<targetFiles>
<param>${project.build.directory}/${project.artifactId}-full.target</param>
</targetFiles>
<failOnError>${validate-target-platform.failOnError}</failOnError>
<checkProvisioning>true</checkProvisioning>
</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>
<configuration>
<artifacts>
<!-- add more artifacts if want more target platforms -->
<artifact>
<file>${project.artifactId}.target</file>
<type>target</type>
<classifier>${project.artifactId}</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>${basedir}/../../publish-assembly.xml</descriptor>
</descriptors>
<!-- JBIDE-19800 zip would be jbtcentral-multiple-4.60.0.Final-SNAPSHOT.zip; want jbtcentraltarget-4.60.0.Final-SNAPSHOT.zip -->
<finalName>${project.parent.artifactId}target-${project.version}</finalName>
</configuration>
</plugin>
<plugin>
<groupId>net.ju-n.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>multiple2repo</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<!-- Workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=389052 -->
<groupId>org.jboss.tools.tycho-plugins</groupId>
<artifactId>target-platform-utils</artifactId>
<version>${jbossTychoPluginsVersion}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>mirror-target-to-repo</goal>
</goals>
<configuration>
<sourceTargetFile>${project.artifactId}.target</sourceTargetFile>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<pluginRepositories>
<pluginRepository>
<id>tycho-snapshots</id>
<url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
</pluginRepository>
</pluginRepositories>
</project>