Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Failed to execute goal "publish-products"

Hi Maherzia,

The error message just says that Tycho was unable to create p2 IU for your product and root files and to add them to the resulting repository. Maybe, there is a problem with your .product, maybe there is a problem with your root files (executables), maybe something else. You should read the log more carefully to find out the reason. There must have been a more descriptive message before the one you gave to us.

Kind regards,
Mikhail Kalkov

Purple Scout AB
Software Developer

Address: Kyrkogatan 20-22, SE-41110 Gothenburg, Sweden
Phone:   +46 (0) 732 - 051405
E-mail:  mikhail.kalkov@xxxxxxxxxxxxxx
Web:     www.purplescout.se


Från: "Maherzia BELAAZI" <maherzia.belaazi@xxxxxx>
Till: tycho-user@xxxxxxxxxxx
Skickat: fredag, 4 okt 2013 18:13:16
Ämne: [tycho-user] Failed to execute goal "publish-products"

Hello,

I’m using tycho to build an eclipse product.

I get this error while proceeding with “eclipse-repository” packaging type.

Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:018.1:publish-products (default-publish-products)

I don’t understand the cause of this error. Below you find the “pom.xml” I used for my product.

Any help is so welcome !

Thanks in advance,

Maherzia

 

This is the pom.xml of my product.

###########################

   <artifactId>com.st.stworkbench.platform</artifactId>

  <packaging>eclipse-repository</packaging>

 

  <properties>

    <tycho-version>0.18.1</tycho-version>

  </properties>

 

  <build>

    <plugins>

               

                               <plugin>

            <groupId>org.eclipse.tycho</groupId>

                                               <artifactId>tycho-maven-plugin</artifactId>

                                               <version>${tycho-version}</version>

            <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>

 

 

               

                               <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>

  <!-- (optional) customize the root folder name of the product zip -->

                                               <configuration>

                                                               <products>

                                                               <product>

        <!-- This id needs to match your id in your .product file -->

                                                               <id>com.st.stworkbench.platform.product</id>

                                                               <rootFolder>STWorkbench</rootFolder>

                                                               </product>

                                                               </products>

                                               </configuration>

                               </plugin>

                </plugins>

  </build>

###########################

 

 


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


Back to the top