Build a relase with custom plugins

33 views
Skip to first unread message

Thibaut Démare

unread,
Sep 20, 2018, 5:41:58 AM9/20/18
to GAMA
Hello everyone,

I tried to build my own release of GAMA so I followed your tutorial (https://github.com/gama-platform/gama/wiki/CreatingAReleaseOfGama), install Maven and launch the "build.sh" script (I am working on Windows but the script is compatible with PowerShell).

My problem is that I created my own plugins (they are not located in the same directory as the "gama" repository). So I get the following error :

[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: ummisco.gama.application.runtime.product 1.7.0.qualifier
[ERROR]   Missing requirement: ummisco.gama.application.runtime.product 1.7.0.qualifier requires 'analyse.network.feature.feature.group [1.0.0,1.0.1)' but it could not be found
[ERROR]
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: ummisco.gama:ummisco.gama.product:1.7.0-SNAPSHOT @ C:\Users\Thibaut\Desktop\GAMA\SourceGAMA\gama\ummisco.gama.product\pom.xml: See log for details -> [Help 1]
[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/MavenExecutionException


I am not familiar with Maven, so I am not sure about how to resolve this.

I tried to manually create some pom.xml in the plugins and features + add some "<module>...</module>" in the pom.xml of msi.gama.parent but I get this :

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.25.0:validate-version (default-validate-version) on project analyse-network: Unqualified OSGi version 1.0.0.qualifier must match unqualified Maven version 1.7.0-SNAPSHOT for SNAPSHOT builds -> [Help 1]
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :analyse-network


I probably miss something but don't know what and where.
Any help?

Huynh Quang Nghi 002628

unread,
Sep 20, 2018, 7:16:37 AM9/20/18
to gama-p...@googlegroups.com
Hi,
Your 1st error tell that your feature is not found, hard to tell where without your pom. And you did not mentioned that just gama build is ok or not?
Your 2nd tell that version in your plugin.xml is 1.0.0 bit in pom.xml is 1.70.qualifier. so just make them similar, 1.p or 1.7 both.
Cheers.


--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.

Thibaut Démare

unread,
Sep 20, 2018, 8:22:29 AM9/20/18
to GAMA

Thank you very much ! You were right. I succeed the build thanks to you!

Cheers
Reply all
Reply to author
Forward
0 new messages