Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] 377359 breaks generating p2metadata for non tycho osgi bundles with jar packaging.

But it can be re-enabled by configuring the p2-metadata mojo

Notice the <param>jar</param> below, works a treat.  Thought it might
be helpful to others who used to rely on generating p2 metadata for
jar generated osgi

 <plugin>
				    <groupId>org.eclipse.tycho</groupId>
				    <artifactId>tycho-p2-plugin</artifactId>
				    <version>${tycho.version}</version>
				    <executions>
					    <execution>
							<configuration>
								<supportedProjectTypes>
									<param>eclipse-plugin</param>
									<param>eclipse-feature</param>
									<param>jar</param>
								</supportedProjectTypes>
							</configuration>

						    <id>default-p2-metadata</id>
						    <phase>package</phase>
						    <goals>
							    <goal>p2-metadata</goal>
						    </goals>
					    </execution>
				    </executions>
			    </plugin>


Back to the top