Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Could not find goal 'materialize-products'

This is the content of my C:\git{removedName}Repo\sites\{removedName}.site\target



On 5/3/2016 10:45 AM, Benjamin Scott wrote:

What do you have in your target directory of your repository project after the build?   

 

Based on my .product file my products directory and RCP zip get built in the target directory. I also have a target project with a .target file for referencing my p2 sites.  Also, are you using features?  If so you will need to make sure your product file references your feature.  I think the issue is a matter of configuration between the product file, the manifest, target file and your feature.

 

Short of knowing your setup I am only giving you a generalization.

 

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of paul
Sent: Tuesday, May 03, 2016 10:29 AM
To: Tycho user list
Subject: Re: [tycho-user] Could not find goal 'materialize-products'

 

Thanks Benjamin.  That got rid of the error at build.  But now I don't have the standalone RCP zip or a products directory.  I searched the workspace and the git repo.



On 5/3/2016 9:56 AM, Benjamin Scott wrote:

You may be better served using the tycho-p2-director-pluigin with materialized-products goal.

 

https://eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-director-plugin/plugin-info.html

 

 

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

</plugin>

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of paul
Sent: Tuesday, May 03, 2016 9:42 AM
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] Could not find goal 'materialize-products'

 

Windows 7 SP1
Mars 2

Mars 3.3.9

Tycho 0.24.0
JavaFX with FXML RCP

Could not find goal 'materialize-products'

 

As per this (https://wiki.eclipse.org/Tycho/Demo_Projects/RCP_Application) wiki page 'materialize-products' should exist as a available goal.

 

====================================================================================================================================

 

[ERROR] Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository -> [Help 1]

org.apache.maven.plugin.MojoNotFoundException: Could not find goal 'materialize-products' in plugin org.eclipse.tycho:tycho-p2-repository-plugin:0.24.0 among available goals archive-repository, assemble-repository, verify-repository

       at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getMojoDescriptor(DefaultMavenPluginManager.java:290)

       at org.apache.maven.plugin.DefaultBuildPluginManager.getMojoDescriptor(DefaultBuildPluginManager.java:241)

       at org.apache.maven.lifecycle.internal.DefaultLifecycleMappingDelegate.calculateLifecycleMappings(DefaultLifecycleMappingDelegate.java:110)

       at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateLifecycleMappings(DefaultLifecycleExecutionPlanCalculator.java:266)

       at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateMojoExecutions(DefaultLifecycleExecutionPlanCalculator.java:217)

       at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:127)

       at org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:145)

       at org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:96)

       at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)

       at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)

       at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

       at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)

       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)

       at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)

       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)

       at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)

       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)

       at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)

       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

       at java.lang.reflect.Method.invoke(Method.java:497)

       at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

       at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

       at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

       at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

[ERROR]

[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/MojoNotFoundException

 

====================================================================================================================================


<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.myApp</groupId>
    <artifactId>com.myApp.site</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <packaging>eclipse-repository</packaging>
    <parent>
        <groupId>com.myApp</groupId>
        <artifactId>com.myApp.releng.parent</artifactId>
        <version>0.0.1-SNAPSHOT</version>
        <relativePath>../../releng/com.myApp.releng.parent/pom.xml</relativePath>
    </parent>
    <build>
        <plugins>
            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-p2-repository-plugin</artifactId>
                <version>${tycho-version}</version>
                <configuration>
                    <repositoryName>Usque</repositoryName>
                </configuration>
                <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>
            </plugin>
        </plugins>
    </build>
</project>




_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user

 

--
“Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate heart that could dare such a deed against the Teacher.” - Unknown



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


--
“Consider, you who love money, the one who hanged himself for the sake of it. Shun the insatiate heart that could dare such a deed against the Teacher.” - Unknown

Back to the top