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 | |
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
-rw-r--r-- | features/org.eclipse.osee.x.core.external.feature/feature.xml | 7 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.client.all.parent/pom.xml | 567 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.client.parent/pom.xml | 536 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.ide.parent/pom.xml | 7 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.orcs.parent/pom.xml | 468 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.ote.parent/pom.xml | 522 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.parent/pom.xml | 853 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.runtime.parent/pom.xml | 498 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.x.core.parent/pom.xml | 494 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.x.parent/pom.xml | 32 | ||||
-rw-r--r-- | plugins/org.eclipse.osee.x.server.parent/pom.xml | 507 |
11 files changed, 925 insertions, 3566 deletions
diff --git a/features/org.eclipse.osee.x.core.external.feature/feature.xml b/features/org.eclipse.osee.x.core.external.feature/feature.xml index 38664cfef92..136558ab9cd 100644 --- a/features/org.eclipse.osee.x.core.external.feature/feature.xml +++ b/features/org.eclipse.osee.x.core.external.feature/feature.xml @@ -271,4 +271,11 @@ fragment="true" unpack="false"/> + <plugin + id="com.sun.jersey.client.apache" + download-size="0" + install-size="0" + version="0.0.0" + unpack="false"/> + </feature> diff --git a/plugins/org.eclipse.osee.client.all.parent/pom.xml b/plugins/org.eclipse.osee.client.all.parent/pom.xml index bb422074790..62c7b03263e 100644 --- a/plugins/org.eclipse.osee.client.all.parent/pom.xml +++ b/plugins/org.eclipse.osee.client.all.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.client.all.parent</artifactId> <packaging>pom</packaging> @@ -17,564 +24,4 @@ <module>../../plugins/org.eclipse.osee.client.all.product</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-runtime-site-path>file:../../../org.eclipse.osee/plugins</osee-runtime-site-path> - <osee-runtime-site>${osee-runtime-site-path}/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> - - <osee-ote-site-path>file:../../../org.eclipse.osee/plugins</osee-ote-site-path> - <osee-ote-site>${osee-ote-site-path}/org.eclipse.osee.ote.p2/target/repository</osee-ote-site> - - <osee-client-site-path>file:../../../org.eclipse.osee/plugins</osee-client-site-path> - <osee-client-site>${osee-client-site-path}/org.eclipse.osee.client.p2/target/repository</osee-client-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>carbon</ws> <arch>x86</arch> - </environment> <environment> <os>macosx</os> <ws>cocoa</ws> <arch>x86</arch> - </environment> --> - <environment> - <os>macosx</os> - <ws>cocoa</ws> - <arch>x86_64</arch> - </environment> - <environment> - <os>win32</os> - <ws>win32</ws> - <arch>x86_64</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>carbon</ws> <arch>x86</arch> - </environment> <environment> <os>macosx</os> <ws>cocoa</ws> <arch>x86</arch> - </environment> --> - <environment> - <os>macosx</os> - <ws>cocoa</ws> - <arch>x86_64</arch> - </environment> - <environment> - <os>win32</os> - <ws>win32</ws> - <arch>x86_64</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>helpGeneration</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <update.osee.doc>true</update.osee.doc> - </properties> - </profile> - - <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-runtime-site-path>file:../../../org.eclipse.osee/plugins</osee-runtime-site-path> - <osee-runtime-site>${osee-runtime-site-path}/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> - - <osee-ote-site-path>file:../../../org.eclipse.osee/plugins</osee-ote-site-path> - <osee-ote-site>${osee-ote-site-path}/org.eclipse.osee.ote.p2/target/repository</osee-ote-site> - - <osee-client-site-path>file:../../../org.eclipse.osee/plugins</osee-client-site-path> - <osee-client-site>${osee-client-site-path}/org.eclipse.osee.client.p2/target/repository</osee-client-site> - - </properties> - <repositories> - <repository> - <id>osee-runtime</id> - <layout>p2</layout> - <url>${osee-runtime-site}</url> - </repository> - <repository> - <id>osee-ote</id> - <layout>p2</layout> - <url>${osee-ote-site}</url> - </repository> - <repository> - <id>osee-client</id> - <layout>p2</layout> - <url>${osee-client-site}</url> - </repository> - </repositories> - </profile> - - <profile> - <id>osee-remote-sites</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <osee-runtime-site-path>http://osee-build.msc.az.boeing.com/osee/sites</osee-runtime-site-path> - <osee-runtime-site-version>DEV</osee-runtime-site-version> - <osee-runtime-site>${osee-runtime-site-path}/${osee-runtime-site-version}/org.eclipse.osee/org.eclipse.osee.runtime.p2</osee-runtime-site> - - <osee-ote-site-path>file:../../../org.eclipse.osee/plugins</osee-ote-site-path> - <osee-ote-site-version>DEV</osee-ote-site-version> - <osee-ote-site>${osee-ote-site-path}/${osee-ote-site-version}/org.eclipse.osee/org.eclipse.osee.ote.p2/target/repository</osee-ote-site> - - <osee-client-site-path>file:../../../org.eclipse.osee/plugins</osee-client-site-path> - <osee-client-site-version>DEV</osee-client-site-version> - <osee-client-site>${osee-client-site-path}/${osee-client-site-version}/org.eclipse.osee/org.eclipse.osee.client.p2/target/repository</osee-client-site> - - - </properties> - <repositories> - <repository> - <id>osee-runtime</id> - <layout>p2</layout> - <url>${osee-runtime-site}</url> - </repository> - <repository> - <id>osee-ote</id> - <layout>p2</layout> - <url>${osee-ote-site}</url> - </repository> - <repository> - <id>osee-client</id> - <layout>p2</layout> - <url>${osee-client-site}</url> - </repository> - </repositories> - </profile> - </profiles> - </project>
\ No newline at end of file diff --git a/plugins/org.eclipse.osee.client.parent/pom.xml b/plugins/org.eclipse.osee.client.parent/pom.xml index 8c7b9e18a3b..edb3ebcd386 100644 --- a/plugins/org.eclipse.osee.client.parent/pom.xml +++ b/plugins/org.eclipse.osee.client.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.client.parent</artifactId> <packaging>pom</packaging> @@ -81,533 +88,4 @@ <module>../../plugins/org.eclipse.osee.client.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> - - <wikitext-site>http://download.eclipse.org/tools/mylyn/update/weekly</wikitext-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-runtime-site-path>file:../../../org.eclipse.osee/plugins</osee-runtime-site-path> - <osee-runtime-site>${osee-runtime-site-path}/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> - - <!-- Remove this once database access on client is removed --> - <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>wikitext</id> - <layout>p2</layout> - <url>${wikitext-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>helpGeneration</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <update.osee.doc>true</update.osee.doc> - </properties> - </profile> - - <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-runtime-site-path>file:../../../org.eclipse.osee/plugins</osee-runtime-site-path> - <osee-runtime-site>${osee-runtime-site-path}/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-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> - <repositories> - <repository> - <id>osee-runtime</id> - <layout>p2</layout> - <url>${osee-runtime-site}</url> - </repository> - <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-runtime-site-path>http://osee-build.msc.az.boeing.com/osee/sites</osee-runtime-site-path> - <osee-runtime-site-version>DEV</osee-runtime-site-version> - <osee-runtime-site>${osee-runtime-site-path}/${osee-runtime-site-version}/org.eclipse.osee/org.eclipse.osee.runtime.p2</osee-runtime-site> - - <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-runtime</id> - <layout>p2</layout> - <url>${osee-runtime-site}</url> - </repository> - <repository> - <id>osee-xserver</id> - <layout>p2</layout> - <url>${osee-xserver-site}</url> - </repository> - </repositories> - </profile> - - </profiles> - </project> diff --git a/plugins/org.eclipse.osee.ide.parent/pom.xml b/plugins/org.eclipse.osee.ide.parent/pom.xml index 4a29d2deebf..e2b70d81c8e 100644 --- a/plugins/org.eclipse.osee.ide.parent/pom.xml +++ b/plugins/org.eclipse.osee.ide.parent/pom.xml @@ -3,6 +3,13 @@ <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.parent</artifactId> + <version>0.11.0-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.parent</relativePath> + </parent> + <groupId>org.eclipse.osee</groupId> <artifactId>org.eclipse.osee.ide.parent</artifactId> <packaging>pom</packaging> diff --git a/plugins/org.eclipse.osee.orcs.parent/pom.xml b/plugins/org.eclipse.osee.orcs.parent/pom.xml index 8f34632d140..61ea0776607 100644 --- a/plugins/org.eclipse.osee.orcs.parent/pom.xml +++ b/plugins/org.eclipse.osee.orcs.parent/pom.xml @@ -3,6 +3,13 @@ <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.parent</artifactId> + <version>0.11.0-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.parent</relativePath> + </parent> + <groupId>org.eclipse.osee</groupId> <artifactId>org.eclipse.osee.orcs.parent</artifactId> <packaging>pom</packaging> @@ -42,465 +49,4 @@ <module>../../plugins/org.eclipse.osee.orcs.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> - <itemis-site>http://download.itemis.com/updates/releases/${xtext-version}</itemis-site> - - <osee-xcore-site-path>file:../../../org.eclipse.osee/plugins</osee-xcore-site-path> - <osee-xcore-site>${osee-xcore-site-path}/org.eclipse.osee.x.core.p2/target/repository</osee-xcore-site> - - <eclipse-ip-site-path>file:../../../org.eclipse.ip</eclipse-ip-site-path> - <eclipse-ip-site>${eclipse-ip-site-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-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>orbit</id> - <layout>p2</layout> - <url>${orbit-site}</url> - </repository> - <repository> - <id>itemis</id> - <layout>p2</layout> - <url>${itemis-site}</url> - </repository> - <repository> - <id>eclipse-ip</id> - <layout>p2</layout> - <url>${eclipse-ip-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> - - <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.orcs.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-xcore-site-path>file:../../../org.eclipse.osee/plugins</osee-xcore-site-path> - <osee-xcore-site>${osee-xcore-site-path}/org.eclipse.osee.x.core.p2/target/repository</osee-xcore-site> - - <eclipse-ip-site-path>file:../../../org.eclipse.ip</eclipse-ip-site-path> - <eclipse-ip-site>${eclipse-ip-site-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-site> - </properties> - <repositories> - <repository> - <id>osee-xcore</id> - <layout>p2</layout> - <url>${osee-xcore-site}</url> - </repository> - </repositories> - </profile> - - <profile> - <id>osee-remote-sites</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <osee-xcore-site-path>http://osee-build.msc.az.boeing.com/osee/sites</osee-xcore-site-path> - <osee-xcore-site-version>DEV/org.eclipse.osee</osee-xcore-site-version> - <osee-xcore-site>${osee-xcore-site-path}/org.eclipse.osee.x.core.p2</osee-xcore-site> - - <eclipse-ip-site-path>http://osee-build.msc.az.boeing.com/osee/sites</eclipse-ip-site-path> - <eclipse-ip-site-version>DEV</eclipse-ip-site-version> - <eclipse-ip-site>${eclipse-ip-site-path}/${eclipse-ip-site-version}/org.eclipse.ip/org.eclipse.ip.p2</eclipse-ip-site> - </properties> - <repositories> - <repository> - <id>osee-xcore</id> - <layout>p2</layout> - <url>${osee-xcore-site}</url> - </repository> - </repositories> - </profile> - - </profiles> - </project> diff --git a/plugins/org.eclipse.osee.ote.parent/pom.xml b/plugins/org.eclipse.osee.ote.parent/pom.xml index 14da65bbfee..0811cd6e5bd 100644 --- a/plugins/org.eclipse.osee.ote.parent/pom.xml +++ b/plugins/org.eclipse.osee.ote.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.ote.parent</artifactId> <packaging>pom</packaging> @@ -34,9 +41,9 @@ <module>../../plugins/org.eclipse.osee.ote.ui.message</module> <module>../../plugins/org.eclipse.osee.ote.ui.message.util</module> <module>../../plugins/org.eclipse.osee.ote.ui.mux</module> - + <module>../../plugins/org.eclipse.osee.ote.version</module> - <module>../../plugins/org.eclipse.osee.ote.version.git</module> + <module>../../plugins/org.eclipse.osee.ote.version.git</module> <module>../../plugins/org.eclipse.osee.ote.version.svn</module> <module>../../plugins/org.eclipse.osee.ote.ui.test.manager</module> @@ -47,515 +54,4 @@ <module>../../plugins/org.eclipse.osee.ote.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> - <wikitext-site>http://download.eclipse.org/tools/mylyn/update/weekly</wikitext-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-runtime-site-path>file:../../../org.eclipse.osee/plugins</osee-runtime-site-path> - <osee-runtime-site>${osee-runtime-site-path}/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-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>wikitext</id> - <layout>p2</layout> - <url>${wikitext-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>helpGeneration</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <update.osee.doc>true</update.osee.doc> - </properties> - </profile> - - <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-runtime-site-path>file:../../../org.eclipse.osee/plugins</osee-runtime-site-path> - <osee-runtime-site>${osee-runtime-site-path}/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> - </properties> - <repositories> - <repository> - <id>osee-runtime</id> - <layout>p2</layout> - <url>${osee-runtime-site}</url> - </repository> - </repositories> - </profile> - - <profile> - <id>osee-remote-sites</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <osee-runtime-site-path>http://osee-build.msc.az.boeing.com/osee/sites</osee-runtime-site-path> - <osee-runtime-site-version>DEV</osee-runtime-site-version> - <osee-runtime-site>${osee-runtime-site-path}/${osee-runtime-site-version}/org.eclipse.osee/org.eclipse.osee.runtime.p2</osee-runtime-site> - </properties> - <repositories> - <repository> - <id>osee-runtime</id> - <layout>p2</layout> - <url>${osee-runtime-site}</url> - </repository> - </repositories> - - </profile> - - </profiles> - </project> diff --git a/plugins/org.eclipse.osee.parent/pom.xml b/plugins/org.eclipse.osee.parent/pom.xml index bb41ba493d7..eebd7c62ab8 100644 --- a/plugins/org.eclipse.osee.parent/pom.xml +++ b/plugins/org.eclipse.osee.parent/pom.xml @@ -14,4 +14,857 @@ <module>../../plugins/org.eclipse.osee.ide.parent</module> </modules> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + + <git-repo-root>file:../../..</git-repo-root> + <build-alias>-DEV</build-alias> + + <tycho-version>0.15.0</tycho-version> + <maven-antrun-version>1.6</maven-antrun-version> + <ant-contrib-version>1.0b3</ant-contrib-version> + <jsch-version>0.1.42</jsch-version> + <ant-jsch-version>1.8.2</ant-jsch-version> + <ant-commons-net-version>1.7.0</ant-commons-net-version> + <commons-net-version>1.4.1</commons-net-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-helper-maven-plugin-version>1.7</build-helper-maven-plugin-version> + + <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> + <itemis-site>http://download.itemis.com/updates/releases/${xtext-version}</itemis-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>orbit</id> + <layout>p2</layout> + <url>${orbit-site}</url> + </repository> + <repository> + <id>eclipse</id> + <layout>p2</layout> + <url>${eclipse-site}</url> + </repository> + <repository> + <id>itemis</id> + <layout>p2</layout> + <url>${itemis-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>carbon</ws> <arch>x86</arch> + </environment> <environment> <os>macosx</os> <ws>cocoa</ws> <arch>x86</arch> + </environment> --> + <environment> + <os>macosx</os> + <ws>cocoa</ws> + <arch>x86_64</arch> + </environment> + <environment> + <os>win32</os> + <ws>win32</ws> + <arch>x86_64</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>carbon</ws> <arch>x86</arch> + </environment> <environment> <os>macosx</os> <ws>cocoa</ws> <arch>x86</arch> + </environment> --> + <environment> + <os>macosx</os> + <ws>cocoa</ws> + <arch>x86_64</arch> + </environment> + <environment> + <os>win32</os> + <ws>win32</ws> + <arch>x86_64</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> + <dependency> + <groupId>com.jcraft</groupId> + <artifactId>jsch</artifactId> + <version>${jsch-version}</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-jsch</artifactId> + <version>${ant-jsch-version}</version> + </dependency> + <dependency> + <groupId>commons-net</groupId> + <artifactId>commons-net</artifactId> + <version>${commons-net-version}</version> + </dependency> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant-commons-net</artifactId> + <version>${ant-commons-net-version}</version> + </dependency> + </dependencies> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>${build-helper-maven-plugin-version}</version> + </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> + <property> + <name>allow-static-analysis</name> + </property> + </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> + <property> + <name>allow-static-analysis</name> + </property> + </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> + <property> + <name>allow-static-analysis</name> + </property> + </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> + <property> + <name>allow-sonar</name> + </property> + </activation> + <properties> + <sonar.language>java</sonar.language> + <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> + <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> + + <sonar.jdbc.url>jdbc:postgresql://osee-build.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://osee-build.msc.az.boeing.com:9000/sonar</sonar.host.url> + + <sonar.jacoco.reportPath>${project.build.directory}/coverage/jacoco.exec</sonar.jacoco.reportPath> + <sonar.surefire.reportsPath>../${project.artifactId}.tests/target/surefire-reports/</sonar.surefire.reportsPath> + <sonar.skippedModules>${project.artifactId}.test</sonar.skippedModules> + </properties> + </profile> + + <profile> + <id>code-coverage</id> + <activation> + <property> + <name>allow-code-coverage</name> + </property> + </activation> + <properties> + <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> + <sonar.jacoco.reportPath>${project.build.directory}/coverage/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>create-javadoc</id> + <activation> + <property> + <name>allow-javadoc</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>${javadoc-version}</version> + <configuration> + <debug>true</debug> + <maxmemory>1024m</maxmemory> + <sourcepath>src</sourcepath> + <author>true</author> + <version>true</version> + <aggregate>true</aggregate> + <encoding>ISO-8859-1</encoding> + </configuration> + <executions> + <execution> + <id>aggregate</id> + <goals> + <goal>aggregate</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>${javadoc-version}</version> + </plugin> + </plugins> + </reporting> + </profile> + + <profile> + <id>helpGeneration</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <properties> + <update.osee.doc>true</update.osee.doc> + </properties> + </profile> + + <profile> + <id>client-external-p2</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>!osee-server</value> + </property> + </activation> + <properties> + <nebula-site>http://download.eclipse.org/technology/nebula/snapshot</nebula-site> + <wikitext-site>http://download.eclipse.org/tools/mylyn/update/weekly</wikitext-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> + <egit-site>http://download.eclipse.org/egit/updates</egit-site> + </properties> + <repositories> + <repository> + <id>nebula</id> + <layout>p2</layout> + <url>${nebula-site}</url> + </repository> + <repository> + <id>wikitext</id> + <layout>p2</layout> + <url>${wikitext-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>egit</id> + <layout>p2</layout> + <url>${egit-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-all</id> + <activation> + <property> + <name>!osee-build-stage</name> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-all-ide</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>osee-all-ide</value> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + <osee-xserver-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + <repository> + <id>osee-xserver</id> + <layout>p2</layout> + <url>${osee-xserver-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-all-server</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>osee-server</value> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-client-runtime</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>osee-client-runtime</value> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + <osee-xserver-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + <repository> + <id>osee-xserver</id> + <layout>p2</layout> + <url>${osee-xserver-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-ote-client</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>osee-ote-client</value> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + <osee-xserver-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> + <osee-runtime-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + <repository> + <id>osee-xserver</id> + <layout>p2</layout> + <url>${osee-xserver-site}</url> + </repository> + <repository> + <id>osee-runtime</id> + <layout>p2</layout> + <url>${osee-runtime-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-client</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>osee-client</value> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + <osee-xserver-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> + <osee-runtime-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + <repository> + <id>osee-xserver</id> + <layout>p2</layout> + <url>${osee-xserver-site}</url> + </repository> + <repository> + <id>osee-runtime</id> + <layout>p2</layout> + <url>${osee-runtime-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-coverage-client</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>osee-coverage-client</value> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + <osee-xserver-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> + <osee-runtime-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> + <osee-client-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.client.p2/target/repository</osee-client-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + <repository> + <id>osee-xserver</id> + <layout>p2</layout> + <url>${osee-xserver-site}</url> + </repository> + <repository> + <id>osee-runtime</id> + <layout>p2</layout> + <url>${osee-runtime-site}</url> + </repository> + <repository> + <id>osee-client</id> + <layout>p2</layout> + <url>${osee-client-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-ats-client</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>osee-ats-client</value> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + <osee-xserver-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> + <osee-runtime-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> + <osee-client-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.client.p2/target/repository</osee-client-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + <repository> + <id>osee-xserver</id> + <layout>p2</layout> + <url>${osee-xserver-site}</url> + </repository> + <repository> + <id>osee-runtime</id> + <layout>p2</layout> + <url>${osee-runtime-site}</url> + </repository> + <repository> + <id>osee-client</id> + <layout>p2</layout> + <url>${osee-client-site}</url> + </repository> + </repositories> + </profile> + + <profile> + <id>osee-client-products</id> + <activation> + <property> + <name>osee-build-stage</name> + <value>osee-client-products</value> + </property> + </activation> + <properties> + <eclipse-ip-site>${git-repo-root}/org.eclipse.ip/org.eclipse.ip.p2/target/repository</eclipse-ip-site> + <osee-xserver-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.x.server.p2/target/repository</osee-xserver-site> + <osee-runtime-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.runtime.p2/target/repository</osee-runtime-site> + + <osee-ote-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.ote.p2/target/repository</osee-ote-site> + <osee-client-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.client.p2/target/repository</osee-client-site> + <osee-coverage-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.coverage.p2/target/repository</osee-coverage-site> + <osee-ats-site>${git-repo-root}/org.eclipse.osee/plugins/org.eclipse.osee.ats.p2/target/repository</osee-ats-site> + </properties> + <repositories> + <repository> + <id>eclipse-ip</id> + <layout>p2</layout> + <url>${eclipse-ip-site}</url> + </repository> + <repository> + <id>osee-xserver</id> + <layout>p2</layout> + <url>${osee-xserver-site}</url> + </repository> + <repository> + <id>osee-runtime</id> + <layout>p2</layout> + <url>${osee-runtime-site}</url> + </repository> + <repository> + <id>osee-ote</id> + <layout>p2</layout> + <url>${osee-ote-site}</url> + </repository> + <repository> + <id>osee-client</id> + <layout>p2</layout> + <url>${osee-client-site}</url> + </repository> + <repository> + <id>osee-coverage</id> + <layout>p2</layout> + <url>${osee-coverage-site}</url> + </repository> + <repository> + <id>osee-ats</id> + <layout>p2</layout> + <url>${osee-ats-site}</url> + </repository> + </repositories> + </profile> + + </profiles> + </project> 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> diff --git a/plugins/org.eclipse.osee.x.core.parent/pom.xml b/plugins/org.eclipse.osee.x.core.parent/pom.xml index 556c0c2c777..6879dbd9097 100644 --- a/plugins/org.eclipse.osee.x.core.parent/pom.xml +++ b/plugins/org.eclipse.osee.x.core.parent/pom.xml @@ -3,6 +3,13 @@ <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.parent</artifactId> + <version>0.11.0-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.parent</relativePath> + </parent> + <groupId>org.eclipse.osee</groupId> <artifactId>org.eclipse.osee.x.core.parent</artifactId> <packaging>pom</packaging> @@ -52,491 +59,4 @@ <module>../../plugins/org.eclipse.osee.x.core.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> - - <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> - - <eclipse-ip-site-path>file:../../../org.eclipse.ip</eclipse-ip-site-path> - <eclipse-ip-site>${eclipse-ip-site-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-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>orbit</id> - <layout>p2</layout> - <url>${orbit-site}</url> - </repository> - <repository> - <id>eclipse-ip</id> - <layout>p2</layout> - <url>${eclipse-ip-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> - - <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.core.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>create-javadoc</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>${javadoc-version}</version> - <configuration> - <debug>true</debug> - <maxmemory>1024m</maxmemory> - <sourcepath>src</sourcepath> - <author>true</author> - <version>true</version> - <aggregate>true</aggregate> - <encoding>ISO-8859-1</encoding> - </configuration> - <executions> - <execution> - <id>aggregate</id> - <goals> - <goal>aggregate</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>${javadoc-version}</version> - </plugin> - </plugins> - </reporting> - </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> - <eclipse-ip-site-path>file:../../../org.eclipse.ip</eclipse-ip-site-path> - <eclipse-ip-site>${eclipse-ip-site-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-site> - </properties> - </profile> - - <profile> - <id>osee-remote-sites</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <eclipse-ip-site-path>http://osee-build.msc.az.boeing.com/osee/sites</eclipse-ip-site-path> - <eclipse-ip-site-version>DEV</eclipse-ip-site-version> - <eclipse-ip-site>${eclipse-ip-site-path}/${eclipse-ip-site-version}/org.eclipse.ip/org.eclipse.ip.p2</eclipse-ip-site> - </properties> - </profile> - - - </profiles> - </project> diff --git a/plugins/org.eclipse.osee.x.parent/pom.xml b/plugins/org.eclipse.osee.x.parent/pom.xml index 8570cecee26..503292d1515 100644 --- a/plugins/org.eclipse.osee.x.parent/pom.xml +++ b/plugins/org.eclipse.osee.x.parent/pom.xml @@ -3,6 +3,13 @@ <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.parent</artifactId> + <version>0.11.0-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.parent</relativePath> + </parent> + <groupId>org.eclipse.osee</groupId> <artifactId>org.eclipse.osee.x.parent</artifactId> <packaging>pom</packaging> @@ -14,30 +21,5 @@ <module>../../plugins/org.eclipse.osee.orcs.parent</module> <module>../../plugins/org.eclipse.osee.x.server.parent</module> </modules> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <jacoco-version>0.5.3.201107060350</jacoco-version> - </properties> - - <profiles> - <profile> - <id>sonar</id> - <activation> - <activeByDefault>true</activeByDefault> - </activation> - <properties> - <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis> - <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin> - - <!-- Sonar Server --> - <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> - </profiles> </project> diff --git a/plugins/org.eclipse.osee.x.server.parent/pom.xml b/plugins/org.eclipse.osee.x.server.parent/pom.xml index aaab487956e..6919b250aa5 100644 --- a/plugins/org.eclipse.osee.x.server.parent/pom.xml +++ b/plugins/org.eclipse.osee.x.server.parent/pom.xml @@ -3,6 +3,13 @@ <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.eclipse.osee</groupId> + <artifactId>org.eclipse.osee.x.parent</artifactId> + <version>0.11.0-SNAPSHOT</version> + <relativePath>../../plugins/org.eclipse.osee.x.parent</relativePath> + </parent> + <groupId>org.eclipse.osee</groupId> <artifactId>org.eclipse.osee.x.server.parent</artifactId> <packaging>pom</packaging> @@ -40,504 +47,4 @@ <module>../../plugins/org.eclipse.osee.x.server.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> - <itemis-site>http://download.itemis.com/updates/releases/${xtext-version}</itemis-site> - - <eclipse-ip-site-path>file:../../../org.eclipse.ip</eclipse-ip-site-path> - <eclipse-ip-site>${eclipse-ip-site-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-site> - - <osee-xcore-site-path>file:../../../org.eclipse.osee/plugins</osee-xcore-site-path> - <osee-xcore-site>${osee-xcore-site-path}/org.eclipse.osee.x.core.p2/target/repository</osee-xcore-site> - - <osee-orcs-site-path>file:../../../org.eclipse.osee/plugins</osee-orcs-site-path> - <osee-orcs-site>${osee-orcs-site-path}/org.eclipse.osee.orcs.p2/target/repository</osee-orcs-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>orbit</id> - <layout>p2</layout> - <url>${orbit-site}</url> - </repository> - <repository> - <id>itemis</id> - <layout>p2</layout> - <url>${itemis-site}</url> - </repository> - <repository> - <id>eclipse-ip</id> - <layout>p2</layout> - <url>${eclipse-ip-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> - <eclipse-ip-site-path>file:../../../org.eclipse.ip</eclipse-ip-site-path> - <eclipse-ip-site>${eclipse-ip-site-path}/org.eclipse.ip.p2/target/repository</eclipse-ip-site> - - <osee-xcore-site-path>file:../../../org.eclipse.osee/plugins</osee-xcore-site-path> - <osee-xcore-site>${osee-xcore-site-path}/org.eclipse.osee.x.core.p2/target/repository</osee-xcore-site> - - <osee-orcs-site-path>file:../../../org.eclipse.osee/plugins</osee-orcs-site-path> - <osee-orcs-site>${osee-orcs-site-path}/org.eclipse.osee.orcs.p2/target/repository</osee-orcs-site> - </properties> - <repositories> - <repository> - <id>osee-xcore</id> - <layout>p2</layout> - <url>${osee-xcore-site}</url> - </repository> - <repository> - <id>osee-orcs</id> - <layout>p2</layout> - <url>${osee-orcs-site}</url> - </repository> - </repositories> - </profile> - - <profile> - <id>osee-remote-sites</id> - <activation> - <activeByDefault>false</activeByDefault> - </activation> - <properties> - <eclipse-ip-site-path>http://osee-build.msc.az.boeing.com/osee/sites</eclipse-ip-site-path> - <eclipse-ip-site-version>DEV</eclipse-ip-site-version> - <eclipse-ip-site>${eclipse-ip-site-path}/${eclipse-ip-site-version}/org.eclipse.ip/org.eclipse.ip.p2</eclipse-ip-site> - - <osee-xcore-site-path>http://osee-build.msc.az.boeing.com/osee/sites</osee-xcore-site-path> - <osee-xcore-site-version>DEV</osee-xcore-site-version> - <osee-xcore-site>${osee-xcore-site-path}/${osee-xcore-site-version}/org.eclipse.osee/org.eclipse.osee.x.core.p2</osee-xcore-site> - - <osee-orcs-site-path>http://osee-build.msc.az.boeing.com/osee/sites</osee-orcs-site-path> - <osee-orcs-site-version>DEV</osee-orcs-site-version> - <osee-orcs-site>${osee-orcs-site-path}/${osee-orcs-site-version}/org.eclipse.osee/org.eclipse.osee.orcs.p2</osee-orcs-site> - </properties> - <repositories> - <repository> - <id>osee-xcore</id> - <layout>p2</layout> - <url>${osee-xcore-site}</url> - </repository> - <repository> - <id>osee-orcs</id> - <layout>p2</layout> - <url>${osee-orcs-site}</url> - </repository> - </repositories> - </profile> - - </profiles> - </project> |