Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] tycho-p2-director-plugin:0.15.0:materialize-products Product id '...' not found

I'm getting this error

Failed to execute goal
org.eclipse.tycho:tycho-p2-director-plugin:0.15.0:materialize-products
(materialize-products) on project XXX: Product id 'YYY.product' not
found

This seems to be happening indeterminately.

Looking at the tycho code, it is failing because there is no
target/product/<id>.product directory being created for me when I
specify a configuration/products/product/id field, which I need if I
want to set rootFolder.

  <packaging>eclipse-repository</packaging>
  ...
      <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-p2-director-plugin</artifactId>
        <executions>
          <execution>
            <id>materialize-products</id>
            <goals>
              <goal>materialize-products</goal>
            </goals>
            <configuration>
              <products>
                <product>
                  <id>YYY.product</id>
                  <rootFolder>myRootFolder</rootFolder>
                </product>
              </products>
            </configuration>
          </execution>
          <execution>
            <id>archive-products</id>
            <goals>
              <goal>archive-products</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

My YYY.product file lives in the top level project directory, which
seems to be allowed as per the demo projects.

I haven't had enough time to investigate why this works sometimes but
not others.

Is anyone else experiencing this?
(I'm always running mvn clean before each run to check, and the
eclipse-repository packaging type seems to blow away the target
directory anyway)


Back to the top