Add support to create local target platform mirror
Description
Add projects to support the building of local mirror for current iDempiere Target Platform.
Changes:
Add org.idempiere.p2.targetplatform.mirror, org.idempiere.p2.targetplatform.mirror.aggregator and org.idempiere.p2.targetplatform.mirror.feature maven project.
At org.idempiere.p2.targetplatform.mirror.aggregator, run mvn verify to build local target platform mirror
Local mirror will be created at org.idempiere.p2.targetplatform.mirror/target/repository. An archive of that, for e.g org.idempiere.p2.targetplatform.mirror-10.0.0-SNAPSHOT.zip will be created at org.idempiere.p2.targetplatform.mirror/
org.idempiere.p2.targetplatform.mirror.feature/feature.xml includes all the features and plugins of current iDempiere target platform. To keep thing in sync, we will have to update this file after every changes to the target platform definition.See org.idempiere.p2.targetplatform.mirror.feature/README.md for steps to update org.idempiere.p2.targetplatform.mirror.feature/feature.xml.
There’s no impact on existing development installation.
This is an optional feature to support the building of a local target platform mirror. The instruction of doing that is at org.idempiere.p2.targetplatform.mirror.aggregator/README.md
To use the local mirror generated at org.idempiere.p2.targetplatform.mirror/target/repository, you have to create a new empty target definition and add that folder as the plugin location. One possible use of this is to share the mirror with developer that has poor/slow network connection (you can share the archive or host it at your LAN).
Regards,
Low
Carlos Ruiz
June 13, 2022 at 2:57 PM
Hi @Heng Sin Low - I’m trying to test this
How are the test instructions? How can I see the impact that it causes?
I suppose the development installation instructions vary with this, but I don’t see how as there are no changes to the actual core.
Add projects to support the building of local mirror for current iDempiere Target Platform.
Changes:
Add org.idempiere.p2.targetplatform.mirror, org.idempiere.p2.targetplatform.mirror.aggregator and org.idempiere.p2.targetplatform.mirror.feature maven project.
At org.idempiere.p2.targetplatform.mirror.aggregator, run mvn verify to build local target platform mirror
Local mirror will be created at org.idempiere.p2.targetplatform.mirror/target/repository. An archive of that, for e.g org.idempiere.p2.targetplatform.mirror-10.0.0-SNAPSHOT.zip will be created at org.idempiere.p2.targetplatform.mirror/
org.idempiere.p2.targetplatform.mirror.feature/feature.xml includes all the features and plugins of current iDempiere target platform. To keep thing in sync, we will have to update this file after every changes to the target platform definition.See org.idempiere.p2.targetplatform.mirror.feature/README.md for steps to update org.idempiere.p2.targetplatform.mirror.feature/feature.xml.