https://bugzilla.redhat.com/show_bug.cgi?id=1226926
--- Comment #9 from gil cattaneo <puntogil(a)libero.it> ---
(In reply to Sopot Cela from comment #7)
(In reply to gil cattaneo from comment #6)
> (In reply to Sopot Cela from comment #5)
> > Thank you for the prompt suggestoins.
> >
> > (In reply to gil cattaneo from comment #3)
> > > (In reply to gil cattaneo from comment #1)
> > > Seem you have duplicate tycho-maven-plugin entries in the main pom file
...
> > > is not a good idea ...
> >
> > Fixed:
> >
https://sopotc.fedorapeople.org/eclipse-e4-importer/eclipse-e4-importer.spec
> Sorry but you maybe use '${tycho-version}' (with single quotation mark)
> otherwise you must use ${tycho-version} as global variable, because the
> version of this plugin maybe remain empty
I tried initially as you suggested with single quotation marks but I got:
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.eclipse.e4.ui:e4-ui-aggregator:0.17.0-SNAPSHOT
(/home/rtest/rpmbuild/BUILD/org.eclipse.e4.ui-
c0957a7a7d53655ecf9ae5047a94fe20de0e5d5d/pom.xml) has 1 error
[ERROR] 'build.plugins.plugin.version' for
org.eclipse.tycho:tycho-maven-plugin must be a valid version but is
'${tycho-version}'. @ line 10, column 18
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
Shall I remove the version at all since it is optional? It builds fine like
that.
Yes is normal if in the pom file "tycho-version" is not declared
(in the
properties section)
Sorry, My fault i don't know how that is set pom file.
I have deceived your first draft of the modification on the same file.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component