forked from kiegroup/jbpm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests in CI by using local maven repo in target/
* using clean repo for every build (instead of the shraed one in ~/.m2) fixes the failing tests in CI * having the local repo in target/ also greatly improves the isolation of the tests. They are less dependent on the current state of ~/.m2 on the particular machine
- Loading branch information
Petr Siroky
committed
Oct 5, 2014
1 parent
3cb7235
commit 1bdde23
Showing
6 changed files
with
114 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...untime-manager/src/test/filtered-resources/jbpm-runtime-manager-tests-custom-settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<localRepository>${project.build.directory}/testing-maven-repo</localRepository> | ||
<profiles> | ||
<profile> | ||
<!-- Repository with SNAPSHOTs--> | ||
<id>additional-maven-repos</id> | ||
<repositories> | ||
<repository> | ||
<id>jboss-public-repo</id> | ||
<url>https://repository.jboss.org/nexus/content/groups/public/</url> | ||
</repository> | ||
</repositories> | ||
</profile> | ||
</profiles> | ||
|
||
<activeProfiles> | ||
<activeProfile>additional-maven-repos</activeProfile> | ||
</activeProfiles> | ||
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...jbpm-kie-services/src/test/filtered-resources/jbpm-kie-services-tests-custom-settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<localRepository>${project.build.directory}/testing-maven-repo</localRepository> | ||
<profiles> | ||
<profile> | ||
<!-- Repository with SNAPSHOTs--> | ||
<id>additional-maven-repos</id> | ||
<repositories> | ||
<repository> | ||
<id>jboss-public-repo</id> | ||
<url>https://repository.jboss.org/nexus/content/groups/public/</url> | ||
</repository> | ||
</repositories> | ||
</profile> | ||
</profiles> | ||
|
||
<activeProfiles> | ||
<activeProfile>additional-maven-repos</activeProfile> | ||
</activeProfiles> | ||
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...jbpm-services-cdi/src/test/filtered-resources/jbpm-services-cdi-tests-custom-settings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<localRepository>${project.build.directory}/testing-maven-repo</localRepository> | ||
<profiles> | ||
<profile> | ||
<!-- Repository with SNAPSHOTs--> | ||
<id>additional-maven-repos</id> | ||
<repositories> | ||
<repository> | ||
<id>jboss-public-repo</id> | ||
<url>https://repository.jboss.org/nexus/content/groups/public/</url> | ||
</repository> | ||
</repositories> | ||
</profile> | ||
</profiles> | ||
|
||
<activeProfiles> | ||
<activeProfile>additional-maven-repos</activeProfile> | ||
</activeProfiles> | ||
</settings> |