Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] tycho-p2-extras-plugin FeaturesAndBundlesPublisher - still no visible installable units?

I am using tycho 0.13 and the tycho-p2-extras-plugin to create a p2
site from a bunch of bundles:

			<plugin>
				<groupId>org.eclipse.tycho.extras</groupId>
				<artifactId>tycho-p2-extras-plugin</artifactId>
				<version>0.12.0</version>
				<executions>
					<execution>
						<phase>prepare-package</phase>
						<goals>
							<goal>publish-features-and-bundles</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<compress>false</compress>
				</configuration>
			</plugin>

			<plugin>
				<artifactId>maven-dependency-plugin</artifactId>
				<executions>
					<execution>
						<id>copy-bundles-for-publishing</id>
						<phase>process-resources</phase>
						<goals>
							<goal>copy</goal>
						</goals>
						<configuration>
							<artifactItems>
								<artifactItem>
									<groupId>bla</groupId>
									<artifactId>bla</artifactId>
									<version>1.0</version>
								</artifactItem>
                                                                       ...
							</artifactItems>
							<outputDirectory>${project.basedir}/target/source/plugins</outputDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>

The generated p2 repository can be consumed by tycho just fine. But it
cannot be used inside the eclipse IDE -  eg. added to a target
definition - because it has no "visible" installable units. As I
understand the category publisher needs to be executed to take of
this. One solutions is to add it as a directory but it could be nice
to refer to is as a p2 site.

Are there any plans to make bundles in the p2 repo created by the
tycho-p2-extras-plugin visible inside eclipse?


Back to the top