Compare commits

..

1 Commits

Author SHA1 Message Date
Irene Wang
4a77587157 DEVOPS-3841 Add profile to unpack all plugins for Black Duck scans 2018-02-21 16:13:05 +01:00
10 changed files with 105 additions and 88 deletions

View File

@@ -9,8 +9,8 @@
<packaging>pom</packaging>
<properties>
<talend.nexus.host>https://artifacts-oss.talend.com</talend.nexus.host>
<components.version>0.19-SNAPSHOT</components.version>
<daikon.version>0.17.3-SNAPSHOT</daikon.version>
<components.version>0.19.9</components.version>
<daikon.version>0.17.2</daikon.version>
</properties>
<distributionManagement>

View File

@@ -1,8 +1,7 @@
launcher.prefix=TOS_BD
storage.prefix=${launcher.prefix}
product.name=Talend Open Studio for Big Data
product.branding.platform=org.talend.rcp.branding.tos.bigdata
product.branding.id=${product.branding.platform}.product
mac.launcher.info=${product.name} for Mac OS X, Copyright Talend. 2006-2015. All rights reserved.
product.website=http://www.talend.com\n
storage.dir=tosbd
storage.dir=tos

View File

@@ -1,5 +1,4 @@
launcher.prefix=TOS_DI
storage.prefix=${launcher.prefix}
product.name=Talend Open Studio for Data Integration
product.branding.platform=org.talend.rcp.branding.tos
product.branding.id=${product.branding.platform}.product

View File

@@ -10,5 +10,3 @@ osgi.bundles.defaultStartLevel=4
osgi.bundlefile.limit=200
osgi.framework.extensions=org.talend.osgi.lib.loader
file.encoding=UTF-8
eclipse.p2.data.area=@config.dir/../p2/
eclipse.p2.profile=profile

View File

@@ -1,5 +1,4 @@
launcher.prefix=TOS_DQ
storage.prefix=${launcher.prefix}
product.name=Talend Open Profiler
product.branding.platform=org.talend.rcp.branding.top
product.branding.id=${product.branding.platform}.product

View File

@@ -1,5 +1,4 @@
launcher.prefix=TOS_ESB
storage.prefix=TOS_ESB-Studio
product.name=Talend Open Studio
product.branding.platform=org.talend.rcp.branding.esbstandard
product.branding.id=${product.branding.platform}.product

View File

@@ -10,4 +10,7 @@
<artifactId>org.talend.studio.tos.mdm.product</artifactId>
<packaging>eclipse-repository</packaging>
<properties>
<product.final.name>${product.final.name.prefix}-${product.timestamp}-V${product.version}${revision.filename}</product.final.name>
</properties>
</project>

View File

@@ -1,5 +1,5 @@
launcher.prefix=TOS_MDM
storage.prefix=TOS_MDM-Studio
product.final.name.prefix=TOS_MDM-Studio
product.name=Talend Open Studio for MDM
product.branding.platform=org.talend.rcp.branding.tombundle
product.branding.id=${product.branding.platform}.product

View File

@@ -36,7 +36,7 @@
<properties>
<talend.nexus.host>https://artifacts-oss.talend.com</talend.nexus.host>
<product.final.name>${storage.prefix}-${product.timestamp}-V${product.version}${revision.filename}</product.final.name>
<product.final.name>${launcher.prefix}-${product.timestamp}-V${product.version}${revision.filename}</product.final.name>
<studio.dir>${project.build.directory}/products/${project.artifactId}/${osgi.os}/${osgi.ws}/${osgi.arch}</studio.dir>
</properties>
@@ -59,7 +59,7 @@
</files>
</configuration>
</execution>
</executions>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
@@ -91,7 +91,7 @@
<id>${project.artifactId}</id>
</product>
</products>
</configuration>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -118,7 +118,7 @@
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>eclipse-launcher-mac-${launcher.prefix}</artifactId>
<version>6.5.2</version>
<version>6.4.0</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>${studio.dir}</outputDirectory>
@@ -134,7 +134,7 @@
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>eclipse-delta-pack</artifactId>
<version>4.4.1b</version>
<version>4.4.1</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>${studio.dir}</outputDirectory>
@@ -235,35 +235,35 @@
</execution>
</executions>
</plugin>
<!-- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>generate-javajet</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>java</executable>
<workingDirectory>${studio.dir}</workingDirectory>
<arguments>
<argument>-Xmx1536m</argument>
<argument>-XX:MaxPermSize=512m</argument>
<argument>-classpath</argument>
<argument>${studio.dir}/plugins/${equinox.build}</argument>
<argument>org.eclipse.core.launcher.Main</argument>
<argument>-application</argument>
<argument>org.talend.designer.codegen.CodeGenInit</argument>
<argument>-nosplash</argument>
<argument>-consoleLog</argument>
<argument>-Dtalend.licence.path=${studio.dir}/license</argument>
</arguments>
</configuration>
<!-- <plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.3.2</version>
<executions>
<execution>
<id>generate-javajet</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>java</executable>
<workingDirectory>${studio.dir}</workingDirectory>
<arguments>
<argument>-Xmx1536m</argument>
<argument>-XX:MaxPermSize=512m</argument>
<argument>-classpath</argument>
<argument>${studio.dir}/plugins/${equinox.build}</argument>
<argument>org.eclipse.core.launcher.Main</argument>
<argument>-application</argument>
<argument>org.talend.designer.codegen.CodeGenInit</argument>
<argument>-nosplash</argument>
<argument>-consoleLog</argument>
<argument>-Dtalend.licence.path=${studio.dir}/license</argument>
</arguments>
</configuration>
</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -305,7 +305,7 @@
<echo>product.timestamp=${product.timestamp}</echo>
<echo>version.full=${version.full}</echo>
<fileset dir="${studio.dir}/plugins" includes="${product.branding.platform}_${product.version}*/about.mappings" id="aboutmappingspath_temp" />
<pathconvert property="aboutmappingspath" refid="aboutmappingspath_temp" />
<pathconvert property="aboutmappingspath" refid="aboutmappingspath_temp" />
<echo>aboutmappingspath=${aboutmappingspath}</echo>
<loadfile property="about" srcFile="${aboutmappingspath}">
<filterchain>
@@ -503,29 +503,29 @@
<timestampProvider>default</timestampProvider>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>-->
<!-- Attach product ZIP to Maven artifact -->
<!-- <id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/products/${product.final.name}.zip</file>
<type>product</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
<!-- <id>attach-artifacts</id>
<phase>package</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.build.directory}/products/${product.final.name}.zip</file>
<type>product</type>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -539,7 +539,8 @@
<configuration>
<target>
<taskdef resource="net/sf/antcontrib/antcontrib.properties" classpathref="maven.plugin.classpath" />
<property name="product.build.path" value="${product.build.id}/${storage.dir}/V${product.version}${revision.filename}" />
<propertyregex property="product.version.short" input="${product.version}" regexp="\." replace="" global="true" casesensitive="false" override="true" />
<property name="product.build.path" value="${product.build.id}/${storage.dir}/V${product.version}${revision.filename}/${storage.dir}_${product.version.short}" />
<property name="product.dir" value="${storage}/${product.build.path}" />
<mkdir dir="${product.dir}" />
<echo>Moving product ZIP ${project.build.directory}/products/${product.final.name}.zip to ${product.dir}</echo>

View File

@@ -149,12 +149,12 @@
</environments>
<filters>
<!-- restrict version of a bundle -->
<!--<filter>
<type>eclipse-plugin</type>
<id>org.eclipse.ui.views.properties.tabbed</id>
<restrictTo>
<version>3.6.100.v20140519-0906</version>
</restrictTo>
<!--<filter>
<type>eclipse-plugin</type>
<id>org.eclipse.ui.views.properties.tabbed</id>
<restrictTo>
<version>3.6.100.v20140519-0906</version>
</restrictTo>
</filter>-->
<filter>
<type>eclipse-plugin</type>
@@ -164,22 +164,22 @@
</restrictTo>
</filter>
<!-- example 2: remove all providers of the package javax.persistence except the bundle javax.persistence
<filter>
<type>java-package</type>
<id>javax.persistence</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>javax.persistence</id>
</restrictTo>
</filter>
<!-- example 2: remove all providers of the package javax.persistence except the bundle javax.persistence
<filter>
<type>java-package</type>
<id>javax.persistence</id>
<restrictTo>
<type>eclipse-plugin</type>
<id>javax.persistence</id>
</restrictTo>
</filter>
-->
<!-- example 3: work around Equinox bug 348045
<filter>
<type>p2-installable-unit</type>
<id>org.eclipse.equinox.servletbridge.extensionbundle</id>
<removeAll />
</filter>
<!-- example 3: work around Equinox bug 348045
<filter>
<type>p2-installable-unit</type>
<id>org.eclipse.equinox.servletbridge.extensionbundle</id>
<removeAll />
</filter>
-->
</filters>
</configuration>
@@ -453,5 +453,24 @@
</plugins>
</build>
</profile>
<profile>
<id>unpacked.plugins</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<archive>
<manifestEntries>
<Eclipse-BundleShape>dir</Eclipse-BundleShape>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>