Skip to content

Commit

Permalink
[Maven] Move orbit p2 repository to the tests profile
Browse files Browse the repository at this point in the history
- We only need it for Mockito
  • Loading branch information
Phillipus committed Oct 2, 2023
1 parent 212675a commit ee3e1fe
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
<layout>p2</layout>
<url>https://download.eclipse.org/releases/2023-06</url>
</repository>
<repository>
<id>Orbit</id>
<layout>p2</layout>
<url>https://download.eclipse.org/tools/orbit/simrel/maven-osgi/release/4.29.0</url>
</repository>
</repositories>

<!--Core modules -->
Expand Down Expand Up @@ -73,6 +68,14 @@
<modules>
<module>tests</module>
</modules>
<!-- Orbit needed for Mockito -->
<repositories>
<repository>
<id>Orbit</id>
<layout>p2</layout>
<url>https://download.eclipse.org/tools/orbit/simrel/maven-osgi/release/4.29.0</url>
</repository>
</repositories>
</profile>

<!-- Profile for creating a product build, not active by default -->
Expand Down

0 comments on commit ee3e1fe

Please sign in to comment.