Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
363 lines (324 sloc) 10.6 KB
<!-- Copyright (C) 2010 FuseSource, Corp. All rights reserved. http://fusesource.com
The software in this package is published under the terms of the AGPL license
a copy of which has been included with this distribution in the license.txt
file. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jboss.tools</groupId>
<artifactId>parent</artifactId>
<version>4.5.2.Final-SNAPSHOT</version>
</parent>
<groupId>org.fusesource.ide</groupId>
<artifactId>project</artifactId>
<version>10.2.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>JBoss Fuse Tooling</name>
<url>http://tools.jboss.org/features/apachecamel.html</url>
<organization>
<name>Red Hat</name>
<url>http://www.redhat.com</url>
</organization>
<issueManagement>
<system>jira</system>
<url>https://issues.jboss.org/browse/FUSETOOLS</url>
</issueManagement>
<scm>
<connection>scm:git:git://git@github.com:jbosstools/jbosstools-fuse.git</connection>
<developerConnection>scm:git:ssh://git@github.com:jbosstools/jbosstools-fuse.git</developerConnection>
<url>https://github.com/jbosstools/jbosstools-fuse</url>
</scm>
<prerequisites>
<maven>3.0.2</maven>
</prerequisites>
<properties>
<!-- fuse tooling related -->
<tycho.scmUrl>scm:git:https://github.com/jbosstools/jbosstools-fuse.git</tycho.scmUrl>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- compiler settings -->
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- camel version -->
<camel.version>2.17.0.redhat-630187</camel.version>
<!-- AMQ JMX plugin -->
<activemq.version>5.11.0.redhat-630187</activemq.version>
<geronimo.jms.version>1.1.1</geronimo.jms.version>
<!-- wildfly archetypes version -->
<wildfly.version>2.3.0.redhat-630187</wildfly.version>
<!-- data transformation versions -->
<version.xmlbeans>2.6.0</version.xmlbeans>
<version.gson>2.2.4</version.gson>
<!-- other versions -->
<jackson.version>2.5.1</jackson.version>
<slf4j.version>1.7.5</slf4j.version>
<sonar.test.inclusions>**/*Test.*,**/test/**/*,**/*IT.*</sonar.test.inclusions>
<!-- This property allows to specify Camel version used during test executions (where applicable). It is a comma-separated list. -->
<camelVersionsToTestWith />
</properties>
<modules>
<module>build-config</module>
<module>core</module>
<module>editor</module>
<module>transformation</module>
<module>jmx</module>
<module>servers</module>
<module>syndesis</module>
<module>uitests</module>
<module>site</module>
</modules>
<repositories>
<!-- Start of repository definitions which cause a warning in early build (see FUSETOOLS-2547) -->
<!-- These repositories will trigger a WARNING in early phase of Maven build but they are used later on and correctly resolved
see https://issues.jboss.org/browse/FUSETOOLS-2547?focusedCommentId=13467753&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13467753 for more details -->
<repository>
<id>jbosstools-base</id>
<layout>p2</layout>
<url>${jbosstools-base-site}</url>
</repository>
<repository>
<id>jbosstools-server</id>
<layout>p2</layout>
<url>${jbosstools-server-site}</url>
</repository>
<repository>
<id>jbosstools-central</id>
<layout>p2</layout>
<url>${jbosstools-central-site}</url>
</repository>
<!-- End of repository definitions causing a warning (see FUSETOOLS-2547) -->
<repository>
<id>asf.snapshot.repo</id>
<name>ASF SNAPSHOT Repository</name>
<url>https://repository.apache.org/content/groups/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>fusesource.ea.repo</id>
<name>JBoss Fuse Early Access Repository</name>
<url>https://repo.fusesource.com/nexus/content/groups/ea</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>fusesource.release.repo</id>
<name>JBoss Fuse Release Repository</name>
<url>https://repo.fusesource.com/nexus/content/repositories/releases</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>jboss.public.repo</id>
<name>JBoss Public Repository</name>
<url>http://repository.jboss.org/nexus/content/repositories/public</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<repository>
<id>fis-internal</id>
<name>Fuse Integration Services internal - staging</name>
<url>http://download.eng.bos.redhat.com/brewroot/repos/jb-fis-2.0-maven-build/latest/maven/</url>
</repository>
<repository>
<id>fuse-early-access</id>
<name>Fuse Early Access - staging</name>
<url>https://origin-repository.jboss.org/nexus/content/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>fusesource.ea.repo</id>
<name>JBoss Fuse Early Access Repository</name>
<url>https://repo.fusesource.com/nexus/content/groups/ea</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>fusesource.release.repo</id>
<name>JBoss Fuse Release Repository</name>
<url>https://repo.fusesource.com/nexus/content/repositories/releases</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
<pluginRepository>
<id>jboss.public.repo</id>
<name>JBoss Public Repository</name>
<url>http://repository.jboss.org/nexus/content/repositories/public</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</pluginRepository>
</pluginRepositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
<executions>
<execution>
<id>compiletests</id>
<phase>test-compile</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.7</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- needed for building the source features -->
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<executions>
<execution>
<id>test</id>
<phase>test</phase>
<configuration>
<systemProperties combine.children="append">
<FUSE_TOOLING_CAMEL_TEST_VERSIONS>${camelVersionsToTestWith}</FUSE_TOOLING_CAMEL_TEST_VERSIONS>
<osgi.nls.warnings>ignore</osgi.nls.warnings>
</systemProperties>
</configuration>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tychoVersion}</version>
<configuration>
<systemProperties combine.children="append">
<FUSE_TOOLING_CAMEL_TEST_VERSIONS>${camelVersionsToTestWith}</FUSE_TOOLING_CAMEL_TEST_VERSIONS>
</systemProperties>
<useUIThread>true</useUIThread>
<useUIHarness>true</useUIHarness>
<includes>
<include>**/*IT.class</include>
</includes>
<argLine>${tycho.testArgLine} -XX:+HeapDumpOnOutOfMemoryError ${platformSystemProperties} ${systemProperties} -Dusage_reporting_enabled=false -Dorg.jboss.tools.vpe.loadxulrunner=false -Dgroovy.grape.report.downloads=true -Divy.message.logger.level=4 -Dsun.net.client.defaultConnectTimeout=30000 -Dsun.net.client.defaultReadTimeout=30000</argLine>
<osgiDataDirectory>${project.basedir}/target/work sp@cé</osgiDataDirectory>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>quality</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- sonar properties -->
<sonar.code.codeCoveragePlugin>jacoco</sonar.code.codeCoveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<!-- points to the target folder of the global parent project -->
<sonar.jacoco.reportPath>../../../target/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>../../../target/jacoco-it.exec</sonar.jacoco.itReportPath>
<sonar.jacoco.reportPaths>${sonar.jacoco.reportPath},${sonar.jacoco.itReportPath}</sonar.jacoco.reportPaths>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<configuration>
<append>true</append>
<includes>
<include>org.fusesource.ide.*</include>
<include>org.jboss.tools.fuse.*</include>
</includes>
</configuration>
<executions>
<execution>
<id>agent-for-ut</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<destFile>${sonar.jacoco.reportPath}</destFile>
</configuration>
</execution>
<execution>
<id>agent-for-it</id>
<goals>
<goal>prepare-agent-integration</goal>
</goals>
<configuration>
<destFile>${sonar.jacoco.itReportPath}</destFile>
</configuration>
</execution>
<execution>
<id>jacoco-site</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>