Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] plugins jar filename having bundle-version info

See http://stackoverflow.com/questions/10351177/how-to-install-renamed-tycho-product-into-maven-repository

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Massimo Rabbi
Sent: Freitag, 15. Februar 2013 13:27
To: Tycho user list
Subject: Re: [tycho-user] plugins jar filename having bundle-version info

 

Thanks Tobias,

I was able to manage it yesterday adding this:

<finalName>${project.artifactId}_${buildQualifier}</finalName>

to the configuration section.

 

This way the jars generated in the plugins target folder are correct.

But how to have in my local .m2/repository the jars with the same filename instead of *-SNAPSHOT.jar?

 

Best regards,

Massimo.

 

2013/2/15 Oberlies, Tobias <tobias.oberlies@xxxxxxx>

As common in Maven, you can control this via the project.build.finalName setting.

 

Regards

Tobias

 

From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] On Behalf Of Massimo Rabbi
Sent: Donnerstag, 14. Februar 2013 18:09
To: tycho-user@xxxxxxxxxxx
Subject: [tycho-user] plugins jar filename having bundle-version info

 

Hi all,

I started yesterday to give a look at Tycho.

My question is how can I have the jar filename produced by Tycho such as <my_bundle_symbolic_name>-<my_bundle_version>.jar ?

 

I have in my parent pom.xml this piece of information:

<plugin>
  <groupId>org.eclipse.tycho</groupId>
    <artifactId>tycho-packaging-plugin</artifactId>
    <version>${tycho-version}</version>
    <configuration>
       <format>'v'yyyyMMdd-HHmm</format>
    </configuration>
</plugin>

This produce a plugin with the expected bundle version, but the final jar filename is still myplugin-1.0.0.SNAPSHOT.jar for example.

Is there any way to have a coherent filename?

 

Thanks in advance.

Best regards,

Massimo.


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

 


Back to the top