This repository has been archived by the owner on Oct 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Standard Repository Build
hmalphettes edited this page Jun 16, 2011
·
8 revisions
A standard repository build generates a p2 repository that contains artifacts and metadata. The tycho-p2-scripts invoke http://eclipse.org/tycho/ maven-tycho and deploy the generated repositories on the file system.
tycho-p2-scripts expects a few elements in the root pom.xml to be present in order to support its operations.
The build number is stored inside the pom.xml as a commented property:
<properties> <!-- the commented forceContextQualifier is in fact the build number It is required in this format for the release on hudson --> <!--forceContextQualifier>024</forceContextQualifier-->
The repositories are deployed on the file system on this path:
${HTTPD_ROOT_PATH}/{$groupId_path}/${BRANCH}/${BUILT_VERSION}
Where groupId is defined in the root pom.xml:
<project xmlns="http://maven.apache.org/POM/4.0.0"..> <modelVersion>4.0.0</modelVersion> <groupId>org.intalio.my.group.id</groupId>
And transformed into a path by replacing the ‘.’ by ‘/’. For example:
org/intalio/my/group/id