diff options
author | Roberto E. Escobar | 2012-11-12 17:55:25 +0000 |
---|---|---|
committer | Roberto E. Escobar | 2012-11-12 17:55:25 +0000 |
commit | 0137b7adde7f9548c9863110511bf0f073d20773 (patch) | |
tree | c771fa0f5df4f94cfd1bf9fb21b1d2e2c60a7953 /plugins/org.eclipse.osee.runtime.parent | |
parent | 582ea9cd57ed3e0c42b4dea2e28483d535f33b8f (diff) | |
download | org.eclipse.osee-0137b7adde7f9548c9863110511bf0f073d20773.tar.gz org.eclipse.osee-0137b7adde7f9548c9863110511bf0f073d20773.tar.xz org.eclipse.osee-0137b7adde7f9548c9863110511bf0f073d20773.zip |
refinement[ats_4QM1H]: Move maven build specs to master pom
Change-Id: I47462135071c80558594a9200e546acaa218190e
Diffstat (limited to 'plugins/org.eclipse.osee.runtime.parent')
-rw-r--r-- | plugins/org.eclipse.osee.runtime.parent/pom.xml | 498 |
1 files changed, 7 insertions, 491 deletions
diff --git a/plugins/org.eclipse.osee.runtime.parent/pom.xml b/plugins/org.eclipse.osee.runtime.parent/pom.xml index 8c55bf39872..b45ce8decc8 100644 --- a/plugins/org.eclipse.osee.runtime.parent/pom.xml +++ b/plugins/org.eclipse.osee.runtime.parent/pom.xml @@ -3,6 +3,13 @@ <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.ide.parent</artifactId> + <version>0.11.0-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.ide.parent</relativePath> + </parent> + <groupId>org.eclipse.osee</groupId> <artifactId>org.eclipse.osee.runtime.parent</artifactId> <packaging>pom</packaging> @@ -42,495 +49,4 @@ <module>../../plugins/org.eclipse.osee.runtime.p2</module> </modules> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - - <tycho-version>0.15.0</tycho-version> - <maven-antrun-version>1.6</maven-antrun-version> - <ant-contrib-version>1.0b3</ant-contrib-version> - <jacoco-version>0.5.3.201107060350</jacoco-version> - <findbugs-version>2.3.2</findbugs-version> - <pmd-version>2.5</pmd-version> - <checkstyle-version>2.6</checkstyle-version> - <javadoc-version>2.8</javadoc-version> - - <build-alias>-DEV</build-alias> - <platform-version-name>juno</platform-version-name> - - <orbit-version>R20120119162704</orbit-version> - <xtext-version>2.0.0</xtext-version> - - <orbit-site>http://download.eclipse.org/tools/orbit/downloads/drops/${orbit-version}/repository</orbit-site> - <eclipse-site>http://download.eclipse.org/releases/${platform-version-name}</eclipse-site> - - <egit-site>http://download.eclipse.org/egit/updates</egit-site> - - <subversive-site>http://download.eclipse.org/technology/subversive/0.7/update-site</subversive-site> - <polarion-site>http://community.polarion.com/projects/subversive/download/eclipse/2.0/update-site</polarion-site> - <itemis-site>http://download.itemis.com/updates/releases/${xtext-version}</itemis-site> - <nebula-site>http://download.eclipse.org/technology/nebula/snapshot</nebula-site> - - <osee-xserver-site-path>file:../../../org.eclipse.osee/plugins</osee-xserver-site-path> - <osee-xserver-site>${osee-xserver-site-path}/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> - - </properties> - - <licenses> - <license> - <name>Eclipse Public License v1.0</name> - <comments> - All rights reserved. - - This program and the accompanying materials are made - available under the terms of the Eclipse Public License v1.0 - which accompanies this distribution, and is available at - http://www.eclipse.org/legal/epl-v10.htm - </comments> - </license> - </licenses> - - <organization> - <name>Eclipse Open System Engineering Environment</name> - <url>http://www.eclipse.org/osee</url> - </organization> - - <repositories> - <repository> - <id>eclipse</id> - <layout>p2</layout> - <url>${eclipse-site}</url> - </repository> - <repository> - <id>egit</id> - <layout>p2</layout> - <url>${egit-site}</url> - </repository> - <repository> - <id>orbit</id> - <layout>p2</layout> - <url>${orbit-site}</url> - </repository> - <repository> - <id>polarion</id> - <layout>p2</layout> - <url>${polarion-site}</url> - </repository> - <repository> - <id>subversive</id> - <layout>p2</layout> - <url>${subversive-site}</url> - </repository> - <repository> - <id>itemis</id> - <layout>p2</layout> - <url>${itemis-site}</url> - </repository> - <repository> - <id>nebula</id> - <layout>p2</layout> - <url>${nebula-site}</url> - </repository> - </repositories> - - <build> - <sourceDirectory>src</sourceDirectory> - <plugins> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-maven-plugin</artifactId> - <version>${tycho-version}</version> - <extensions>true</extensions> - </plugin> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-packaging-plugin</artifactId> - <version>${tycho-version}</version> - <configuration> - <format>'v'yyyyMMddHHmm'${build-alias}'</format> - <archiveSite>true</archiveSite> - <environments> - <!-- <environment> <os>macosx</os> <ws>cocoa</ws> <arch>x86</arch> - </environment> <environment> <os>macosx</os> <ws>carbon</ws> <arch>x86</arch> - </environment> --> - <environment> - <os>win32</os> - <ws>win32</ws> - <arch>x86</arch> - </environment> - <environment> - <os>linux</os> - <ws>gtk</ws> - <arch>x86</arch> - </environment> - <environment> - <os>linux</os> - <ws>gtk</ws> - <arch>x86_64</arch> - </environment> - </environments> - </configuration> - </plugin> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>target-platform-configuration</artifactId> - <version>${tycho-version}</version> - <configuration> - <resolver>p2</resolver> - <environments> - <!-- <environment> <os>macosx</os> <ws>cocoa</ws> <arch>x86</arch> - </environment> <environment> <os>macosx</os> <ws>carbon</ws> <arch>x86</arch> - </environment> --> - <environment> - <os>win32</os> - <ws>win32</ws> - <arch>x86</arch> - </environment> - <environment> - <os>linux</os> - <ws>gtk</ws> - <arch>x86</arch> - </environment> - <environment> - <os>linux</os> - <ws>gtk</ws> - <arch>x86_64</arch> - </environment> - </environments> - </configuration> - </plugin> - </plugins> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-compiler-plugin</artifactId> - <version>${tycho-version}</version> - <configuration> - <source>1.6</source> - <target>1.6</target> - <encoding>UTF-8</encoding> - </configuration> - </plugin> - <!-- enable source bundle generation --> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-source-plugin</artifactId> - <version>${tycho-version}</version> - <executions> - <execution> - <id>plugin-source</id> - <goals> - <goal>plugin-source</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>2.4.1</version> - <configuration> - <encoding>ISO-8859-1</encoding> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <version>${maven-antrun-version}</version> - <dependencies> - <dependency> - <groupId>ant-contrib</groupId> - <artifactId>ant-contrib</artifactId> - <version>${ant-contrib-version}</version> - <exclusions> - <exclusion> - <groupId>ant</groupId> - <artifactId>ant</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - </plugin> - </plugins> - </pluginManagement> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.eclipse.tycho</groupId> - <artifactId>tycho-surefire</artifactId> - <version>${tycho-version}</version> - <configuration> - <aggregate>true</aggregate> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.8</version> - </plugin> - </plugins> - </reporting> - - <profiles> - <profile> - <id>platform-helios</id> - <activation> - <property> - <name>platform-version-name</name> - <value>helios</value> - </property> - </activation> - <properties> - <eclipse-site>http://download.eclipse.org/releases/helios</eclipse-site> - <platform-version>[3.6,3.7)</platform-version> - </properties> - </profile> - - <profile> - <id>platform-indigo</id> - <activation> - <property> - <name>platform-version-name</name> - <value>indigo</value> - </property> - </activation> - <properties> - <eclipse-site>http://download.eclipse.org/releases/indigo</eclipse-site> - <platform-version>[3.7,3.8)</platform-version> - </properties> - </profile> - - <profile> - <id>check-style</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <checkstyle.reportPath>target/checkstyle</checkstyle.reportPath> - <checkstyle.configPath>../../plugins/org.eclipse.osee.support.config/codeStyle</checkstyle.configPath> - <checkstyle.configFile>${checkstyle.configPath}/osee_check_style.xml</checkstyle.configFile> - <checkstyle.failOnErrors>false</checkstyle.failOnErrors> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-checkstyle-plugin</artifactId> - <version>${checkstyle-version}</version> - <executions> - <execution> - <id>check-source-style</id> - <phase>verify</phase> - <goals> - <goal>checkstyle</goal> - </goals> - <configuration> - <failOnErrors>${checkstyle.failOnErrors}</failOnErrors> - <consoleOutput>true</consoleOutput> - <outputFileFormat>xml</outputFileFormat> - <includes>*osee*</includes> - <configLocation>${checkstyle.configFile}</configLocation> - <!-- <suppressionsLocation></suppressionsLocation> --> - <!-- <propertiesLocation></propertiesLocation> --> - <!-- <headerLocation></headerLocation> to check license info --> - <outputDirectory>${checkstyle.reportPath}</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>check-findbugs</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <findbugs.reportPath>target/findbugs</findbugs.reportPath> - <findbugs.failOnErrors>false</findbugs.failOnErrors> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>${findbugs-version}</version> - <configuration> - <xmlOutput>true</xmlOutput> - <xmlOutputDirectory>${findbugs.reportPath}</xmlOutputDirectory> - <outputDirectory>${findbugs.reportPath}</outputDirectory> - <failOnError>${findbugs.failOnErrors}</failOnError> - <includeFileFilter>*osee*</includeFileFilter> - <excludeFileFilter>*test*</excludeFileFilter> - </configuration> - <executions> - <execution> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>check-pmd</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <pmd.reportPath>target/pmd</pmd.reportPath> - <pmd.failOnErrors>false</pmd.failOnErrors> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-pmd-plugin</artifactId> - <version>${pmd-version}</version> - <configuration> - <sourceEncoding>utf-8</sourceEncoding> - <minimumTokens>100</minimumTokens> - <targetJdk>1.6</targetJdk> - <format>xml</format> - <failOnViolation>${pmd.failOnErrors}</failOnViolation> - <outputDirectory>${pmd.reportPath}</outputDirectory> - <targetDirectory>${pmd.reportPath}</targetDirectory> - </configuration> - <executions> - <execution> - <goals> - <goal>cpd-check</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>sonar</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> - <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> - - <sonar.jdbc.url>jdbc:postgresql://msa-linux-201.msc.az.boeing.com:5432/sonar</sonar.jdbc.url> - <sonar.jdbc.driverClassName>org.postgresql.Driver</sonar.jdbc.driverClassName> - <sonar.jdbc.username>sonar</sonar.jdbc.username> - <sonar.jdbc.password>sonar</sonar.jdbc.password> - - <sonar.host.url>http://msa-linux-201.msc.az.boeing.com:9000/sonar</sonar.host.url> - </properties> - </profile> - - <profile> - <id>code-coverage</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> - - <coverage.reportPath>../../plugins/org.eclipse.osee.x.server.parent/target/coverage</coverage.reportPath> - <sonar.jacoco.reportPath>${coverage.reportPath}/jacoco.exec</sonar.jacoco.reportPath> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>${jacoco-version}</version> - <executions> - <execution> - <id>collect-coverage</id> - <goals> - <goal>prepare-agent</goal> - </goals> - <configuration> - <includes>*.osee.*</includes> - <destFile>${sonar.jacoco.reportPath}</destFile> - <append>true</append> - </configuration> - </execution> - <!-- <execution> <id>create-coverage-reports</id> <phase>verify</phase> - <goals> <goal>report</goal> </goals> <configuration> <dataFile>${sonar.jacoco.reportPath}</dataFile> - <includes>*.osee.*</includes> <outputDirectory>${coverage.reportPath}</outputDirectory> - <outputEncoding>UTF-8</outputEncoding> </configuration> </execution> --> - </executions> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>hudson</id> - <activation> - <property> - <name>BUILD_NUMBER</name> - </property> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.sonatype.tycho</groupId> - <artifactId>maven-osgi-packaging-plugin</artifactId> - <version>${tychoVersion}</version> - <configuration> - <format>'v'yyyyMMdd-HHmm'-H${BUILD_NUMBER}-${build-alias}</format> - <archiveSite>true</archiveSite> - </configuration> - </plugin> - </plugins> - </build> - </profile> - - <profile> - <id>osee-local-sites</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <osee-xserver-site-path>file:../../../org.eclipse.osee/plugins</osee-xserver-site-path> - <osee-xserver-site>${osee-xserver-site-path}/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> - </properties> - <repositories> - <repository> - <id>osee-xserver</id> - <layout>p2</layout> - <url>${osee-xserver-site}</url> - </repository> - </repositories> - </profile> - - <profile> - <id>osee-remote-sites</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <osee-xserver-site-path>http://osee-build.msc.az.boeing.com/osee/sites</osee-xserver-site-path> - <osee-xserver-site-version>DEV</osee-xserver-site-version> - <osee-xserver-site>${osee-xserver-site-path}/${osee-xserver-site-version}/org.eclipse.osee/org.eclipse.osee.x.server.p2</osee-xserver-site> - </properties> - <repositories> - <repository> - <id>osee-xserver</id> - <layout>p2</layout> - <url>${osee-xserver-site}</url> - </repository> - </repositories> - </profile> - - </profiles> - </project> |