[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Problem with Version format for builded jars.
|
It isn't an OSGi standard to use _, it's just what Eclipse uses. There should be no reason why you can't use the format that Maven generates.
Alex
On 17 May 2011, at 10:59, vincent bonnier wrote:
> Hello Tycho users !
> I'm still working on an OSGI project using RAP.
> I use Tycho in order to build my project. The compilation works fine.
> However I can't use the standard packaging goals provided by tycho
> since we are using RAP and we would like to build a war from the
> warpduct file format defined by libra project.
>
> So we tried to build the war manually by parsing the warproduct file
> and by picking the jar files from the tycho build process target
> folders.
> The problem is that the bundle jar names format in those folders are:
> bundlename-<major>.<minor>.<micro>-<qualifier>.jar when osgi standard
> expects bundlename_<major>.<minor>.<micro>.<qualifier>.jar
>
> I can't figure out how to force the names of my bundle jars I tried
> using the following in my pom but it doesn't seem to change a thing:
>
> <plugin>
> <groupId>org.sonatype.tycho</groupId>
> <artifactId>maven-osgi-packaging-plugin</artifactId>
> <version>0.11.0</version>
> <configuration>
> <format>'v'yyyyMMdd-HHmm</format>
> <archiveSite>true</archiveSite>
> </configuration>
> </plugin>
>
> I tried many times with differents format string beetween <format> and
> </format> but nothing change.
> What is the classic way to manage the versions in tycho environment ??
>
> Maybe I'm not running the packaging phase ? that's the only lead I
> have, but I don't really believe in it.
> Further the command i use to build with tycho :
>
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> \ mvn clean integration-test -fae install /
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
>
> Hope somebody could help me.
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user