Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Consume P2-artifact-SNAPSHOTS with Nexus Unzip Plugin

thanks for letting us know, I fixed it in [1]

BTW we will port the plugin to nexus 2.3 hopefully soon and then we plan do a first milestone release.

Regards,
Jan

[1] http://wiki.eclipse.org/Tycho/Nexus_Unzip_Plugin#Configuring_a_group_as_master_for_the_unzip_repository 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Timo Lange
Sent: Mittwoch, 30. Januar 2013 10:44
To: Tycho user list
Subject: Re: [tycho-user] Consume P2-artifact-SNAPSHOTS with Nexus Unzip Plugin

Hi Jan Sievers,

i found my missing part. 

Just as hint: It was necessary to change <useVirtualVersion> in ${nexus}/conf/nexus.xml from false to true.
Maybe you want to add this to your tutorial, because it's never mentioned anywhere.

best regards,
Timo Lange


On 01/28/2013 02:16 PM, Timo Lange wrote: 
I thought so, but it don't work.

I'm using Nexus 2.1 OSS and Unzip Plugin 0.10.0-SNAPSHOT.

When i replace the timestamp with SNAPSHOT i get: 404 - NOT FOUND.


p2repository/1.0.0-SNAPSHOT/p2repository-1.0.0-20130128.125822-1.zip-unzip/ -> is working
p2repository/1.0.0-SNAPSHOT/p2repository-1.0.0-SNAPSHOT.zip-unzip/ -> 404 - not found

I followed your unzip-plugin guide but just skipped the " Configuring a group as master for the unzip repository" passage,
because i don't thin it's necessary. So any idea what could be wrong?




On 01/28/2013 01:46 PM, Sievers, Jan wrote: 
How do i achieve, that i can speficy only "../p2.repository/1.0.0-SNAPSHOT/p2.repository-1.0.0-SNAPSHOT.zip-unzip/"
and tycho will automatically get the latest version?
this is exactly how it should work.
Even if you can't see a -SNAPSHOT version in the dir listing in a browser, the unzip plugin should map -SNAPSHOT to the latest available SNAPSHOT timestamp, just try the URL in a browser.

Regards
Jan


From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Timo Lange
Sent: Freitag, 25. Januar 2013 09:46
To: Tycho user list
Subject: [tycho-user] Consume P2-artifact-SNAPSHOTS with Nexus Unzip Plugin

Hi,

i could use help again.
I'm installed Nexus OSS, Nexus Unzip Plugin + Tycho 0.16.0.

I've deployed my p2-repository into Nexus, which contains SNAPSHOT in his version-definition.

So the p2-repository is available at the URI: "../p2.repository/1.0.0-SNAPSHOT/p2.repository-1.0.0-20130123.155510-1.zip-unzip/"

And i'm using the package-type eclipse-target-definition, so i need to write extactly these URI above into the *.target-file.
How do i achieve, that i can speficy only "../p2.repository/1.0.0-SNAPSHOT/p2.repository-1.0.0-SNAPSHOT.zip-unzip/"
and tycho will automatically get the latest version?

When i look into the example of the nexus-unzip-plugin i just see: 

http://<NEXUS_HOST>/nexus/content/repositories/public.unzip/org/example/demo/org.example.demo.repository/0.1.0/org.example.demo.repository-0.1.0.zip-unzip
So just the version 0.1.0. But how to do that, when i'm still in development? 
I can't set version to 0.1.0 and deploy it into the SNAPSHOT-Repository.

And it's the same with the unit-element in the *.target-file. There is a exactly qualifier specified, too.
I want just deploy my p2-repos and tycho will always consume the newest version. 

Sorry when this a rookie-question but i'm relatively new to all technologies (maven, p2, nexus, tycho)
and searched alot, but found nothing. I need to get my build-stuff done.

(btw. thanks Jan for your help last time)

Thanks and best regards,
Timo 



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



-- 
Mit freundlichen Gruessen / Best regards

Timo Lange
Software-Engineer
Basic Design, Ship Theory and Development 

Flensburger Schiffbau-Gesellschaft
Dept. TFE
Tel.   : +49 461 4940-579
Fax   : +49 461 4940-217
E-Mail: lange@xxxxxxxxxxx

Web: http://www.fsg-ship.de 
-- 

============================================================================
FLENSBURGER SCHIFFBAU-GESELLSCHAFT mbH & Co. KG
Batteriestrasse 52, 24939 Flensburg

Sitz der Gesellschaft / Place of business : Flensburg
Geschaeftsfuehrer / CEO : Peter Sierk
Handelregister / Commercial register : Amtsgericht Flensburg, HRA 3140
Steuer Nr. / Tax number: 1528040009
USt.-Id-Nr. / VAT no : DE 134633705
Amtsgericht / District court : Flensburg HRB 2036
============================================================================

The information contained in this email message may be privileged and
confidential. If you have received this communication in error, please
notify the sender immediately by telephoning (+49-461-49400) and return this
message to the above address. Thank you.



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



-- 
Mit freundlichen Gruessen / Best regards

Timo Lange
Software-Engineer
Basic Design, Ship Theory and Development 

Flensburger Schiffbau-Gesellschaft
Dept. TFE
Tel.   : +49 461 4940-579
Fax   : +49 461 4940-217
E-Mail: lange@xxxxxxxxxxx

Web: http://www.fsg-ship.de 
-- 

============================================================================
FLENSBURGER SCHIFFBAU-GESELLSCHAFT mbH & Co. KG
Batteriestrasse 52, 24939 Flensburg

Sitz der Gesellschaft / Place of business : Flensburg
Geschaeftsfuehrer / CEO : Peter Sierk
Handelregister / Commercial register : Amtsgericht Flensburg, HRA 3140
Steuer Nr. / Tax number: 1528040009
USt.-Id-Nr. / VAT no : DE 134633705
Amtsgericht / District court : Flensburg HRB 2036
============================================================================

The information contained in this email message may be privileged and
confidential. If you have received this communication in error, please
notify the sender immediately by telephoning (+49-461-49400) and return this
message to the above address. Thank you.



Back to the top