[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] eclipse-update-site "obsolete" ?
|
Thanks. Basically I just want to create a p2 site and not a product.
So far this seems to do the job:
<artifactId>repository</artifactId>
<packaging>eclipse-repository</packaging>
<name>My Repository</name>
<version>1.0.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/repository</outputDirectory>
<resources>
<resource>
<directory>.</directory>
<includes>
<include>index.html</include>
<include>web/*</include>
</includes>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
On Wed, May 25, 2011 at 8:58 PM, Cristiano Gavião <cvgaviao@xxxxxxxxx> wrote:
> Hi,
> You can take a look on ITP04 tycho demo...:
> https://docs.sonatype.org/display/TYCHO/ITP04+-+Demo+RCP+Application+and+P2+Updateable+Eclipse+Product
> But be aware that there is a bug (tycho-570) where maven dependencies is not
> being copied to created repository...
> cheers
> Cristiano
>
> 2011/5/25 motes motes <mort.motes@xxxxxxxxx>
>>
>> Ok thanks for the info. Is there an updated example using the
>> eclipse-repository? Currently I get:
>>
>> [WARNING]
>> [WARNING] Some problems were encountered while building the effective
>> model for my:repository:eclipse-repository:1.0.0-SNAPSHOT
>> [WARNING] 'build.plugins.plugin.version' for
>> org.apache.maven.plugins:maven-resources-plugin is missing. @ line 32,
>> column 15
>> [WARNING]
>> [WARNING] It is highly recommended to fix these problems because they
>> threaten the stability of your build.
>> [WARNING]
>>
>> indicating that the version of the maven-resources-plugin should be
>> specified in eg. a pluginManagement tag. And maybe there are other
>> such details that needs to be in order when using this package type?
>>
>>
>>
>> On Wed, May 25, 2011 at 7:13 PM, Greg Amerson
>> <gregory.amerson@xxxxxxxxxxx> wrote:
>> > I have asked the same thing in a previous post. However, one issue I'm
>> > currently having is how to get additional reference update-site URLs to
>> > be
>> > packaged in the content.xml that is generated in the eclipse repository.
>> > This traditionally has been made possible by using site.xml and
>> > specifying
>> > an associateSitesURL attribute. The eclipse-update-site plugin comes
>> > very
>> > close to supporting this and it is actually working for me if you apply
>> > the
>> > patch posted here [1]. However, if eclipse-repository is the future
>> > perhaps
>> > it would be better to add this functionality to this plugin instead.
>> > [1]: https://bugs.eclipse.org/bugs/show_bug.cgi?id=346926
>> >
>> > On Wed, May 25, 2011 at 12:08 PM, motes motes <mort.motes@xxxxxxxxx>
>> > wrote:
>> >>
>> >> From this post:
>> >>
>> >>
>> >>
>> >> http://software.2206966.n2.nabble.com/eclipse-repository-vs-eclipse-update-site-td5875357.html
>> >>
>> >> I get the impression that eclipse-update-site is more or less replaced
>> >> by eclipse-repository. Is this correct or does eclipse-update-site
>> >> still offer something not included in eclipse-repository?
>> >> _______________________________________________
>> >> tycho-user mailing list
>> >> tycho-user@xxxxxxxxxxx
>> >> https://dev.eclipse.org/mailman/listinfo/tycho-user
>> >
>> >
>> >
>> > --
>> > Greg Amerson (@greg_amerson)
>> > Liferay, Inc. (#liferay)
>> >
>> > _______________________________________________
>> > tycho-user mailing list
>> > tycho-user@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/tycho-user
>> >
>> >
>> _______________________________________________
>> tycho-user mailing list
>> tycho-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>
>
> --
> "Tudo vale a pena se a alma não é pequena..."
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user
>
>