Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Export product

First i don't know if it's possible to put attachement in this e-mail.
 
But anyway i have put my sample project as a attachement with this e-mail.
 
three projects i have:
 
--master
--plugin
--product
 
i want to export product by mvn + tycho, but i don't know how to do this, so i just follow a guide which is:
      http://www.vogella.com/articles/EclipseTycho/article.html
 
But because i just need a plugin and then export it as a product, so i remove feature, site, and other useless project.
 
I can make the plugin project run , but product project can not.
 
i found that:
  ----failed: Tycho build extension not configured for MavenProject: peter:product:1.0.0-SNAPSHOT
 
but what is the Tycho build extension? i already have this in master pom.xml:
 
<build>
    <plugins>
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-maven-plugin</artifactId>
        <version>${tycho-version}</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>
 
 
 
This is the log i got in the consle:
 
 
 
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
[INFO] Building peter.product 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ product ---
[INFO] Deleting C:\Users\606717982\Documents\peter\test3\peter.product\target
[INFO]
[INFO] --- tycho-packaging-plugin:0.15.0:build-qualifier (default-build-qualifier) @ product ---
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean-1) @ product ---
[INFO]
[INFO] --- tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) @ product ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] master ............................................ SUCCESS [0.078s]
[INFO] peter.plugin ...................................... SUCCESS [1.982s]
[INFO] peter.product ..................................... FAILURE [0.140s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.337s
[INFO] Finished at: Fri Oct 12 18:38:39 BST 2012
[INFO] Final Memory: 11M/27M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products (default-publish-products) on projec
t product: Execution default-publish-products of goal org.eclipse.tycho:tycho-p2-publisher-plugin:0.15.0:publish-products failed: Tycho
 build extension not configured for MavenProject: peter:product:1.0.0-SNAPSHOT @ C:\Users\606717982\Documents\peter\test3\peter.product
\pom.xml -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :product
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
 
 
thanks.
 
 
 
 
 
 
 
 
 
 

Attachment: test3.7z
Description: Binary data


Back to the top