[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Creating a repo from all the artifacts just built

I'm not sure whether is this what you looking for...

but you can create a p2 project and add it to the reactor.

You just need the pom below and a category.xml file where you put the features that you want to in the p2.

cheers

Cristiano.

    <artifactId>my.p2.repo.juno</artifactId>
    <packaging>eclipse-repository</packaging>
    <name>P2 Repository for Juno</name>

    <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
                <extensions>true</extensions>
            </plugin>

            <plugin>
                <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-publisher-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
<publishArtifacts>true</publishArtifacts>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
<includeAllDependencies>true</includeAllDependencies>
<createArtifactRepository>true</createArtifactRepository>
                    <compress>true</compress>
                </configuration>
            </plugin>
        </plugins>
    </build>

On 27/08/12 13:08, Pascal Rapicault wrote:
Is there a facility to create a p2 repository of all the artifacts
(bundles, features) that have been built during in the reactor and put
them into a p2 repository?

Thx

Pascal

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user