Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] mirroring p2 repository from build to another location

The prepare-package goal is probably too soon in your case. Try the
"package" phase. This needs to be executed after the repository has
been generated.

The install phase will also copy build artifacts into your local m2
repository - it is probably not what you are looking for.

Simon

On 19 July 2012 11:13,  <e92-330cd@xxxxxxxxx> wrote:
> hmm.. strange, after I add the plugin version and tried to build, this ugly error appears:
>
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error during mirroring
>         at org.eclipse.tycho.plugins.p2.extras.MirrorMojo.execute(MirrorMojo.java:168)
>         at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>         at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>         ... 27 more
> Caused by: org.eclipse.tycho.p2.tools.FacadeException: Mirroring failed: No repository found at file:/c:/xxxxxxx.updatesite//target/repository.
>         at org.eclipse.tycho.p2.tools.mirroring.MirrorApplicationServiceImpl.mirrorStandalone(MirrorApplicationServiceImpl.java:69)
>         at org.eclipse.tycho.plugins.p2.extras.MirrorMojo.execute(MirrorMojo.java:165)
>         ... 29 more
> Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository found at file:/C:/xxxxxx.updatesite//target/repository.
>
> should i replace the phase for "install" instead of  <phase>prepare-package</phase>  ?
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top