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