Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Deploying eclipse-rcp-products to maven repository

Hi,
I don't think you need a mvn install for a RCP/P2, a mvn clean verify is enough...

You could use a ant plugin to copy the target to any desired place. In my case I'm using this:

<properties>
        <from-repo>${project.build.directory}/repository</from-repo>
        <to-repo>${base-to-repo}/p2/juno</to-repo>
    </properties>

<plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <version>1.7</version>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <configuration>
                            <target>
                                <delete>
                                    <fileset includes="**/*" dir="${to-repo}" />
                                </delete>
                                <!-- <delete dir="${to-repo}" /> -->
                                <copy todir="${to-repo}">
                                    <fileset dir="${from-repo}" includes="**/*" />
                                </copy>
                            </target>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

regards,

Cristiano

On 15/06/12 04:25, Stefan Klaus wrote:
Hi there!

Building my Eclipse-RCP-Application with tycho works fine (Tycho-Verison 0.15.0, mvn clean install).
To verify my observation i tried it with itp04-rcp demo from eclipse git repo.

Calling "mvn clean install deploy" fails with following Exception:
Failed to execute goal org.eclipse.tycho:tycho-p2-
repository-plugin:0.15.0:assemble-repository (default-assemble-repository) on project eclipse-repository: Could not assemble p2 repository: Mirroring failed: No repository found at file:/C:/examples/tychodemo/org.eclipse.tycho-demo/itp04-rcp/eclipse-repository/target/.

Any suggestions how to deploy the zipped-products to the maven repo (i'm using artifactory)

Thanks.

  

Ihr WEB.DE Postfach immer dabei: die kostenlose WEB.DE Mail App für iPhone und Android.   
https://produkte.web.de/freemail_mobile_startseite/


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


Back to the top