Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Modify - tycho package plugin

Assuming you have an aggregator build around your module:

Create another module. Put your modifications into the new module instead. Make your current module depend on the new module.


Ciao, Michael

Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Pavel Zahariev
Gesendet: Donnerstag, 17. September 2020 15:51
An: tycho-user@xxxxxxxxxxx
Betreff: [tycho-user] Modify - tycho package plugin


Hi All,

As part of a maven build I need to overwrite the contents of file,
for example:
bin.includes = ...\some-ref-resource-1.2.3-SNAPSHOT.jar
should be changed to 1.2.4-SNAPSHOT.jar

The problem is that tycho plugin grabs the old version of the file very early in the life-cycle and my changes (even if I push them as early as in validation phase) are not taken into account.
Below stack is obtained before the validation phase.
  Any ideas how to overcome this?





        at org.eclipse.tycho.core.osgitools.BuildPropertiesParserImpl.readProperties(
        at org.eclipse.tycho.core.osgitools.BuildPropertiesParserImpl.parse(
        at org.eclipse.tycho.core.osgitools.project.EclipsePluginProjectImpl.<init>(
        at org.eclipse.tycho.core.osgitools.OsgiBundleProject.getEclipsePluginProject(
        at org.eclipse.tycho.core.osgitools.OsgiBundleProject.readExecutionEnvironmentConfiguration(
        at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject(
        at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(
        at org.apache.maven.DefaultMaven.doExecute(
        at org.apache.maven.DefaultMaven.doExecute(
        at org.apache.maven.DefaultMaven.execute(
        at org.apache.maven.cli.MavenCli.execute(
        at org.apache.maven.cli.MavenCli.doMain(
        at org.apache.maven.cli.MavenCli.main(

Back to the top