How to install Griffon plugin behind proxy - griffon

I am trying to install some plugin into Griffon by issuing this command
griffon install-plugin miglayout
But I get error:
Welcome to Griffon 1.0.0 - http://griffon-framework.org/ Licensed
under Apache Standard License 2.0 Griffon home is set to:
/usr/local/share/Griffon-1.0.0
Base Directory: /home/biske/Griffon examples/form Running script
/usr/local/share/Griffon-1.0.0/scripts/InstallPlugin_.groovy Resolving
dependencies... Dependencies resolved in 304ms. Environment set to
development Failed to install plugin miglayout [offline: false]
I am using Griffon Griffon 1.0.0.
It fails because network has proxy. Is there a way to install plugin if there is proxy enabled in network?

Did you try using the add-proxy / set-proxy commands?
http://griffon.codehaus.org/guide/latest/ref/Command%20Line/add-proxy.html
http://griffon.codehaus.org/guide/latest/ref/Command%20Line/set-proxy.html
http://griffon.codehaus.org/guide/latest/ref/Command%20Line/clear-proxy.html
http://griffon.codehaus.org/guide/latest/ref/Command%20Line/remove-proxy.html

Related

OWASP security issue with jackson-databind-2.9.8 jar

I have a maven web project(RESTful, Spring Rest/data) running in Java 8(tomcat 8.5.5) and using 'jackson-databind-2.9.8.jar'. When the Dependency Check Tool(Checks vulnerable jar version and generates report) is run against the libraries the project is using, it showed 'jackson-databind-2.9.8.jar' as Vulnerable(Reference- https://nvd.nist.gov/vuln/search/results?form_type=Advanced&results_type=overview&search_type=all&cpe_vendor=cpe%3A%2F%3Afasterxml&cpe_product=cpe%3A%2F%3Afasterxml%3Ajackson-databind&cpe_version=cpe%3A%2F%3Afasterxml%3Ajackson-databind%3A2.9.8)
Problem:- Changing to 'jackson-databind-2.10.0.jar' version fixes OWASP security issue(running Dependency Check Tool) but, when project is build and run it throws error since 2.10.0 uses jdk9+ complaint classes(Reference- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.10)
What should be done to resolve the issue, can we make the project compile in Java 8 and run in JDK11(since JDK9 is out of support) or something else should be done? Please suggest.
Thanks in advance!
CVE-2019-12086 is fixed in jackson-databind-2.9.9.jar .
See the report: https://nvd.nist.gov/vuln/detail/CVE-2019-12086
Maven repo for 2.9.9 : https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind/2.9.9

Remote Node.js Interpreter PhpStorm

I followed the instructions given here to install Remote Node.js Interpreter, even after installing and enabling the plugin the Remote Interpreter option is still not available
https://www.jetbrains.com/help/phpstorm/configure-node-js-remote-interpreter-dialog.html
Do I need to download the Ultimate edition and then install PHP and Node.js plugin or am I missing something here?
From the article:
This menu item is available only when you open the Node.js
Interpreters Dialog from the Run/Debug Configuration: Node.js.
Please use Run > Edit run/debug configurations... > Add Node.Js configuration - there will be an option to add remote interpreter

Bluemix essentials Eclipse Neon Enide.p2f NodeEclipse 1.0.1 / 1.0.2 Unhandled event loop HTTP Server Unknown code 499 404 compositeContent.xml

I'm trying to do IBM Bluemix essential course.
As per the course instructions, I installed Eclipse (I initially got latest Eclipse version Neon instead of Mars but tried both Mars and Neon as of now for installing NodeEclipse .17, 1.0.1 or 1.0.2 or Enide.p2f file using both File import and Eclipse marketplace for installing Enide.p2f Node eclipse plugin in Eclipse).
One of the instruction (after installing IBM Bluemix plugin for eclipse) says, I need to install "Enide.p2f Eclipse NodeJS plugin" https://marketplace.eclipse.org/content/enidep2f-eclipse-nodejs-ide
I tried Eclipse Marketplace to install this. Searched "node eclipse" and selected the top listing entry for "Nodeeclipse 1.0.2 Nodeeclipse Core & Node.js (nodeeclipse-1)" or even "Enide.p2f for Nodeeclipse 1.0.1" version and clicked installed.
A couple of times, if failed during the resolution process to list the plugin components and Eclipse error log showed that the update site / repository server was not available.
Another method was to install the .p2f file directly File > Import > Install > Install from a file and selected the downloaded .p2f file which I got from here: https://raw.github.com/Nodeclipse/eclipse-node-ide/master/ENodeIDE.p2f
or
http://marketplace.eclipse.org/content/enide-eclipse-nodejs-ide/click
Using the import > install via file method, I'm getting "Unhandled event loop exception" error message as per Eclipse Error logs and it didn't install anything.
Using the market place method, I'm getting the following error mesg (per the screen shot):
For Nodeeclipse 1.0.1
https://i.imgsafe.org/1b1bf4f0fb.jpg
https://i.imgsafe.org/1b1be1c00a.jpg
https://i.imgsafe.org/1b1bc75cfc.jpg
For Nodeeclipse 1.0.2.
https://i.imgsafe.org/1afbf9bf56.jpg
https://i.imgsafe.org/1afa90e4f1.jpg
https://i.imgsafe.org/1af372340c.jpg
Error message:
HTTP Server Unknown HTTP Response Code (499):http://nodeeclipse.org/updates/compositeContext.xml
HttpComponents connection error response code 499.
OR
it shows the Enide.p2f .17, 1.0.1 or 1.0.2 (Whichever you select from the list) to install the plugin:
The following solutions are not available: Nodeclipse 1.0.2
(id=markdown.editor.feature.feature.group,
org.nodeclipse.pluginslist.feature.feature.group,
gitaddon.feature.feature.group,
de.bastiankrol.startexplorer.feature.feature.group,
com.eclipsesource.jshint.feature.feature.group,
org.nodeclipse.feature.group,
org.nodeclipse.enide.editors.jade.feature.feature.group,
org.chromium.sdk.feature.group, net.mihai-nita.ansicon.feature.group,
org.chromium.debug.feature.group,
pm.eclipse.editbox.feature.feature.group,
site=http://www.nodeclipse.org/updates/)
With Eclipse Mars, I'm getting the same behavior. More info on this can be found here as well: https://www.ibm.com/developerworks/community/forums/html/topic?id=76a96fa4-1086-41a7-94a6-4326f79dfacb&ps=#repliesPg=0
Did anybody else face this similar issue and what should i do to resolve it.
"https://marketplace.eclipse.org/content/enidep2f-eclipse-nodejs-ide"looks like an update site so I tried the Help->Install New Software... I then entered the address as a new update site but it failed as well...

Installing WAS 7 on Linux using command line

I am trying to install WAS7 using command line via putty and I am getting the following error:
[root#TVMSLD tools]# ./imcl install com.ibm.rational.was.v70.extension_1.0.0.20080911_1339 -repositories /home/admin/Softwares/WAS7.0/WAS70 -installationDirectory /opt/IBM/WebSphere/AppServer/V70/BASE -sharedResourcesDirectory /opt/IBM/InstallationManager/IMShared -acceptLicense -showProgress
25% 50% 75% 100%
------------------|------------------|------------------|------------------|
............................................................................
ERROR: The installation package 'IBM® WebSphere® Application Server Version 7.0 Test Environment' requires components supplied by other packages.
The required components might be supplied by the specified features of the following installation packages:
Package: Rational Application Developer 7.5.0 -- Features: Tools for WebSphere® Application Server, version 7.0
I tried the command with repository path like /home/admin/Softwares/WAS7.0/WAS70/disk1 and also /home/admin/Softwares/WAS7.0/WAS70/disk1/diskTag.inf
But I am getting the same error. Can anyone help please?
This is not standalone server, but test environment provided with Rational Application Developer. It can only be installed via RAD installation together with RAD.
See more info about the standalone developers version here.

How to install Maven 2 plugin for Eclipse on 64-bit linux?

I have Fedora 11 (x86 64) installed with Eclipse. I need a Maven plugin, preferrably m2eclipse, but I cannot find out how to install it. I've tried going through yum, but to no avail (I can't even find any maven plugins).
On my other laptop, I've tried installing the plugin using yum on a 32 bit install of Fedora 11, and while the package shows as being installed, I still don't see it in Eclipse. I've even tried starting eclipse with the clean flag.
Could anyone provide me with help? I've got maven 2.0.4 installed. Thanks in advance!
I was able to install the core components of the m2eclipse plugin after I first installed the ganymede packages from their update site:
http://download.eclipse.org/releases/ganymede/
Apparently "Fedora Eclipse" is not a flavor of the ganymede build.
Use the following update site: http://m2eclipse.sonatype.org/update/
It's typically under Help -> Software Updates… and then you can add a new update site. Use the one above and you should have the option to install the plugin.
Goto Eclipse->Help->Install New Software...
Add the following update site in Eclipse
http://m2eclipse.sonatype.org/sites/m2e
and enable the repository for your release of eclipse under "Available Software Sites" as well (which is disabled in Fedora by default).
Afterwards the installation in Eclipse should work without any missing dependencies.
I was hitting the same problem; evlipse installs it but the plugin isn't visible in the list nor are any of the features it should offer (such as a maven import wizard).
java 6, ubuntu, eclipse downloaded from the official site.
I removed ~/.eclipse/org.eclipse.platform_3.5.0_1020258342
Started eclipse again
added the EMF update site
added the IAM site
installed eclipse IAM core, said no to resarting the workspace, quit eclipse
started eclipse
and its working.

Resources