Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Tycho 0.16 materialize-products goal

Hi Igor,

You may need to try just "clean deploy" without the package. Sometimes an extra "clean" is called between multiple goals - you should be able to see if that happens in the build logs (you might need -X for debug logs). I've seen this behaviour when attempting to run e.g. "clean package integration-test", the compiled classes are cleaned just  before the tests are run.

Simon


On 1 March 2013 04:16, Igor Zapletnev <igor.zapletnev@xxxxxxxxx> wrote:
My command line
clean  package  deploy  -e  -fae  -B

On Fri, Mar 1, 2013 at 11:08 AM, Igor Zapletnev <igor.zapletnev@xxxxxxxxx> wrote:
Hi all,

Trying to update to tycho 0.16, and I am able to see next error. Could you please explain what does it matter? Because it is not clear for me.
build	01-Mar-2013 11:03:21	[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:0.16.0:assemble-repository (default-assemble-repository) on project org.vozone.rte.product: Could not assemble p2 repository: Mirroring failed: No repository found at file:/C:/bam/xml-data/build-dir/VSD-RTETRUNK-JOB1/org.vozone.rte.product/target/. -> [Help 1]
build	01-Mar-2013 11:03:21	org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:0.16.0:assemble-repository (default-assemble-repository) on project org.vozone.rte.product: Could not assemble p2 repository
build	01-Mar-2013 11:03:21		at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
build	01-Mar-2013 11:03:21		at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
build	01-Mar-2013 11:03:21		at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
build	01-Mar-2013 11:03:21		at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
build	01-Mar-2013 11:03:21		at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
build	01-Mar-2013 11:03:21		at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
build	01-Mar-2013 11:03:21		at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
build	01-Mar-2013 11:03:21		at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
build	01-Mar-2013 11:03:21		at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

My POM file

        <plugins>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-p2-director-plugin</artifactId>
                <version>${tycho-version}</version>
                <executions>
                    <execution>
                        <id>materialize-products</id>
                        <goals>
                            <goal>materialize-products</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>archive-products</id>
                        <goals>
                            <goal>archive-products</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <products>
                        <product>
                            <id>rte</id>
                        </product>
                    </products>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-antrun-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <configuration>
                            <tasks>
                              SOME TASKS...
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>${tycho-groupid}</groupId>
                <artifactId>tycho-p2-publisher-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                    <publishArtifacts>true</publishArtifacts>
                </configuration>
            </plugin>
        </plugins>


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



Back to the top