Created
February 10, 2012 14:49
-
-
Save tgs/1789999 to your computer and use it in GitHub Desktop.
Demo of a bug in Tycho staged 0.14.0, version checking is stricter than auto version updating
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source.. = src/ | |
| output.. = target/classes/ | |
| bin.includes = META-INF/,\ | |
| . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Manifest-Version: 1.0 | |
| Bundle-ManifestVersion: 2 | |
| Bundle-Name: manifest-version-bug | |
| Bundle-SymbolicName: manifest-version-bug | |
| Bundle-Version: 1 | |
| Bundle-RequiredExecutionEnvironment: JavaSE-1.6 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>net.resc.tycho.demo</groupId> | |
| <artifactId>manifest-version-bug</artifactId> | |
| <version>1</version> | |
| <packaging>eclipse-plugin</packaging> | |
| <properties> | |
| <tychoVersion>0.14.0</tychoVersion> | |
| </properties> | |
| <pluginRepositories> | |
| <pluginRepository> | |
| <id>tycho-0.14.0-staged</id> | |
| <url>https://oss.sonatype.org/content/repositories/orgeclipsetycho-004/</url> | |
| </pluginRepository> | |
| </pluginRepositories> | |
| <build> | |
| <plugins> | |
| <plugin> | |
| <groupId>org.eclipse.tycho</groupId> | |
| <artifactId>tycho-maven-plugin</artifactId> | |
| <version>${tychoVersion}</version> | |
| <extensions>true</extensions> | |
| </plugin> | |
| <plugin> | |
| <groupId>org.eclipse.tycho</groupId> | |
| <artifactId>tycho-compiler-plugin</artifactId> | |
| <version>${tychoVersion}</version> | |
| <configuration> | |
| <source>1.6</source> | |
| <target>1.6</target> | |
| </configuration> | |
| </plugin> | |
| </plugins> | |
| </build> | |
| </project> |
Author
Author
The bug:
mvn install
fails because it wants the pom to have 1.0.0 to "match" the MANIFEST's Bundle-Version: 1
But,
mvn org.eclipse.tycho:tycho-versions-plugin:0.14.0:update-pom
doesn't set the pom version to 1.0.0.
Is there a bugzilla entry for this bug? We track the Tycho bugs here: https://bugs.eclipse.org/bugs/query.cgi?format=specific;product=Tycho
Author
Thanks Tobias, bug submitted at https://bugs.eclipse.org/bugs/show_bug.cgi?id=371384
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Of course, MANIFEST.MF should go in the META-INF directory, but gists can't have subdirectories :-(