Skip to content

Commit

Permalink
HSEARCH-3396 Enable use of snapshots from the default repository in t…
Browse files Browse the repository at this point in the history
…he OSGi tests
  • Loading branch information
yrodiere committed Oct 18, 2018
1 parent eaa87d0 commit ccd1268
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,15 @@ public Option[] config() throws IOException {
* Use the same local Maven repository as the build job.
* This allows to retrieve the just-installed artifacts in case
* the local repo was overridden from the command line.
*
* See https://ops4j1.jira.com/wiki/spaces/paxurl/pages/3833866/Mvn+Protocol for more information
* on the configuration below.
*/
editConfigurationFilePut(
"etc/org.ops4j.pax.url.mvn.cfg",
"org.ops4j.pax.url.mvn.defaultRepositories",
"file://" + mavenLocalRepository
+ "@snapshots" // Include snapshots, useful when experimenting with new ORM versions
+ "@id=local-repo-from-maven-settings"
),
editConfigurationFilePut(
Expand Down

0 comments on commit ccd1268

Please sign in to comment.