Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] tycho-buildtimestamp-jgit - doesn't work

Hi Marco,

Thanks. No it seems to work. However the format option is ignored

<format>'v'yyyyMMdd-HHmm</format>

Expected: my.bundle-v20120728-2130
Actual: my.bundle-20120728.2130

And the qualifier is only created correctly during the "deploy" phase.
If i just "mvn clean package", there is just a "-SNAPSHOT" at the end.


I tried to set the build-qualifier directly in the package phase for testing,
but it doesn't work. Here is what I tried:

    <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-packaging-plugin</artifactId>
        <version>${tycho.version}</version>

        <executions>
                <execution>
                    <phase>package</phase>
                    <goals>
                        <goal>build-qualifier</goal>
                    </goals>
                    <configuration>
                        <qualifier>RELEASE</qualifier>
                    </configuration>
                </execution>
        </executions>


cheers,
Muki

Am 28.07.2012 19:32, schrieb Marco Lehmann-Mörz:
Hi Nepomuk,

please use -SNAPSHOT in your POM rather than .qualifier.

pom.xml: -SNAPSHOT
MANIFEST.MF: .qualifier

HTH,
Marco

2012/7/28 Nepomuk Seiler <nepomuk.seiler@xxxxxxxxx>
Hi,

I'm not able to get the tycho-buildtimestamp-jgit running. My code is hosted
here:
https://github.com/muuki88/weka-osgi

A very simple project
+ plugin
+ feature (containing the plugin)
+ update-site (containing the feature)

However the result of my build is always ".qualifier" for my plugin.

I used the pom from here:
https://github.com/mlehmannm/mlm-eclipse-ide-jsbuilder/blob/master/pom.xml

cheers,
Muki
--
Nepomuk Seiler
Java/Scala Developer
Email: nepomuk.seiler@xxxxxxxx
Homepage: www.mukis.de
Github: github/muuki88
Twitter: twitter/muuki88

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




--
Tschö Marco



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


Back to the top