Commit e5380870 authored by Romain Bioteau's avatar Romain Bioteau

update readme to configure the p2 mirror properly outside of bonitasoft

parent dea83205
......@@ -7,8 +7,24 @@ In order to build this repository it is required to build its dependencies. To h
Bonita Studio is an Eclipse RCP. It relies on a custom Eclipse **target platform**.
Those target platforms are available here [http://update-site.bonitasoft.com/p2](http://update-site.bonitasoft.com/p2).
`./mvnw package -DskipTests -Pmirrored -Dp2MirrorUrl=http://update-site.bonitasoft.com/p2/4.10`
To setup the target platform properly you need to add the following mirror in the `settings.xml` of your maven instance (`<USER_HOME>/.m2/settings.xml` by default):
```xml
<mirrors>
<mirror>
<id>mirrored-studio-p2-repo</id>
<mirrorOf>http://repositories.rd.lan/p2/4.10.1</mirrorOf>
<url>http://update-site.bonitasoft.com/p2/4.10/</url>
<layout>p2</layout>
<mirrorOfLayouts>p2</mirrorOfLayouts>
</mirror>
...
</mirrors>
```
Then you can run:
`./mvnw package -DskipTests`
### Built artifacts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment