Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Add jar "*-source" to my p2 site

hi friends,
I`ve added the next lines in my parent pom, but I don´t see the plugin ".source" in my p2 site generated.

<!-- Generate sources -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-source-feature-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>source-feature</id>
<phase>package</phase>
<goals>
<goal>source-feature</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>

In each plugin I can see in the target folder:
- plugin-1.0.0-SNAPSHOT-sources.jar
- plugin-1.0.0-SNAPSHOT.jar

In each feature I can see int the target folder
- feature-2.0.0-SNAPSHOT-sources-feature.jar
- feature-2.0.0-SNAPSHOT.jar

Why is not added in my p2 site?




2015-07-02 14:03 GMT+01:00 Jens Reimann <jens.reimann@xxxxxxxxxxxxxxx>:
See the reference card [1]

Section 11 and 12.

[1] https://wiki.eclipse.org/Tycho/Reference_Card


On 07/02/2015 02:57 PM, Nick Boldt wrote:
> How to generate source plugins & features:
>
> https://wiki.eclipse.org/Minerva#Source
>
> On 07/02/2015 08:06 AM, Juan Antonio Gonzalez Cano wrote:
>>
>> Hi,
>> I created a p2 site with tycho, but I need to add the plugin "
>> *-sources" but do not get it,
>>
>> any ideas?
>>
>>
>> _______________________________________________
>> 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
>>
>


_______________________________________________
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


Back to the top