Project

General

Profile

Tigase 8 Build issue

Rohit Kumar
Added about 2 months ago

Hello everyone
i am facing issue in importing Tigase 8 in eclipse, when i import it eclipse shows gmaven plugin issue
please Suggest any solutions

Thank You


Replies (1)

Added by Wojciech Kapcia TigaseTeam about 2 months ago

I'm not sure why Eclipse would want to find anything in it's marketplace as gmaven is just a maven plugin and is completely independent of any IDE.

I just imported tigase-server to eclipse via maven integration - it complained about the gmaven but it can be skipped and you can build Tigase XMPP Server just fine:

[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------< tigase:tigase-server >------------------------
[INFO] Building Tigase XMPP Server 8.0.0-SNAPSHOT
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ tigase-server ---
[INFO] Deleting /Users/wojtek/dev/tigase/tigase-server/target
[INFO] 
[INFO] --- buildnumber-maven-plugin:1.4:create (default) @ tigase-server ---
[INFO] ShortRevision tag detected. The value is '8'.
[INFO] Executing: /bin/sh -c cd '/Users/wojtek/dev/tigase/tigase-server' && 'git' 'rev-parse' '--verify' '--short=8' 'HEAD'
[INFO] Working directory: /Users/wojtek/dev/tigase/tigase-server
[INFO] Storing buildNumber: 4867f319 at timestamp: 25-feb-2019 21:38:46
[INFO] Storing buildScmBranch: master
[INFO] 
[INFO] --- gmaven-plugin:1.5:execute (gitver) @ tigase-server ---
[INFO] setting revision to: 5340
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:copy-resources (copy-resources) @ tigase-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/wojtek/dev/tigase/tigase-server/src/non-packaged-resources
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ tigase-server ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 73 resources to database
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ tigase-server ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 706 source files to /Users/wojtek/dev/tigase/tigase-server/target/classes
…
[INFO] 
[INFO] --- maven-bundle-plugin:2.4.0:install (default-install) @ tigase-server ---
[INFO] Installing tigase/tigase-server/8.0.0-SNAPSHOT/tigase-server-8.0.0-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31.702 s
[INFO] Finished at: 2019-02-25T21:39:16-03:00
[INFO] ------------------------------------------------------------------------

(if you are using JDK11 you may receive warning about "illegal reflective access operation" but this is due to Groovy support for Java11 and can be ignored)

    (1-1/1)