1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 440153 - Optionally provide an existing CDT repository when doing a maven build

Change-Id: Idc3d48bea5625ec84df43ffe50c6940fb4281831
Reviewed-on: https://git.eclipse.org/r/30285
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
This commit is contained in:
Marc Khouzam 2014-07-22 14:55:22 -04:00
parent f94e6d3aad
commit 8219fbd21c
2 changed files with 11 additions and 9 deletions

View file

@ -15,15 +15,6 @@
<artifactId>org.eclipse.cdt.tests.dsf.gdb</artifactId>
<packaging>eclipse-test-plugin</packaging>
<!-- Uncommenting this is useful when the repo is built first then you want to run tests on this plugin only -->
<!-- <repositories>
<repository>
<id>cdt.repo</id>
<url>file:/${basedir}/../../releng/org.eclipse.cdt.repo/target/repository</url>
<layout>p2</layout>
</repository>
</repositories>-->
<properties>
<gdbPathOption>-Dcdt.tests.dsf.gdb.path=/shared/common/gdb</gdbPathOption>
<gdbTestSuite>AutomatedSuite.java</gdbTestSuite>

11
pom.xml
View file

@ -18,6 +18,7 @@
<tycho-version>0.20.0</tycho-version>
<tycho-extras-version>0.20.0</tycho-extras-version>
<sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
<cdt-site>http://hudson.eclipse.org/cdt/job/cdt-master/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/repository</cdt-site>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
</properties>
@ -232,6 +233,16 @@
</pluginRepositories>
<profiles>
<profile>
<id>cdtRepo</id>
<repositories>
<repository>
<id>cdt.repo</id>
<url>${cdt-site}</url>
<layout>p2</layout>
</repository>
</repositories>
</profile>
<profile>
<id>macosx</id>
<activation>