English 中文(简体)
• 如何在Maven与Tycho合编的辛迪加保留pl形和om。
原标题:How to keep plug-in manifest version and pom version in sync in Maven with Tycho

我正在利用Maven和Tycho建造一个ec片。 Tycho通过检查金矿的原木,为Maven生产 file。 现在,单体档案和om文档都有原始版本,需要手工保存。 这是因为我在所生成的om档案中做了一些定制,在我改变清单时不能不做。

我这里的问题是,是否有办法将这些版本自动地用于Tycho?

最佳回答

您似乎可以使用tycho-versions-plugin更新版本。 (此处使用 0.10.14):

www.un.org - Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version - DnewVersion=NEW_VERSION-SNAPSHOT

更新了POM、MANIFESTs和特征。

问题回答

现在,你们必须用手提的方式对待他们。 有一个开放的问题——TYCHO-214: OSGi release procedures and Best practices——应当涵盖这一点。 它目前的目标是0.90,即下一个版本。

我们的情况类似。 我们急切地改变了《宣言》和《乐施》中的版本。 但是,用ven子来改变这一版本并不是一个很好的解决办法,因为每次都举行特别晚会,对我们来说是没有解决办法的。

但是,我看到了我们融入的Tychoplugin。

    <plugin>
        <groupId>org.eclipse.tycho</groupId>
        <artifactId>tycho-versions-plugin</artifactId>
        <version>${tycho.version}</version>
        <executions>
            <execution>
                <id>versions</id>
                <phase>validate</phase>
                <goals>
                    <goal>update-pom</goal>
                </goals>
            </execution>
        </executions>
    </plugin>

这一缩略语对 p的版本进行了更新,每栋建筑都自动使用马尼费。

http://www.eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/plugin-info.html” rel=“nofollow” https://www.eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/plugin-info.html





相关问题
Two Eclispse projects -> One Eclipse Plug-in

Background I m a developer of the Vrapper project. Vrapper contains of 2 major parts Vim-emulation library (vrapper.core) Eclipse part that makes a good use of it We want vrapper.core to be ...

Error in Preview of Custom Eclipse refactoring

I am implementing an new eclipse refactoring. This will enable developers to Pull-up the preconditions statements from a child method to the parent method. This all works perfectly when I select "...

Eclipse git checkout (aka, revert)

Is it possible to do the equivalent of git checkout from within Eclipse using the EGit plugin? I have a file that s been modified. I want to discards the changes and revert the file back to what s in ...

Adding jar from Eclipse plugin runtime tab

I want to add .jar files for plugin from the Runtime tab of manifest file. When I use the Add... button, I can see only sub-directories of the plugin project. So if I want to add same .jar file to ...

BlackBerry JDE Eclipse Plugin 1.1 on Windows 7

Has anybody been able to run the new plugin beta v1.1 on Windows 7? When I run the installer, it pops up an error that states "Please select another location to extract the installer to". It ...

How to not write the DocumentRoot to the XML

I m using EMF, and I created my ecore from XSD. I notice that the XML that are being saved by the editor have the element DocumentRoot, which is not part of my original XSD. Can I somehow not ...

How do you fix loading plugins in eclipse 3.5.1 on linux?

I have two linux boxes. Both Fedora 11 x64. On one, I downloaded the eclipse-java-galileo-SR1-linux-gtk-x86_64.tar.gz. I unpacked it to /opt/eclipse-3.5.1/ and used the Install New Software... item ...

热门标签