Giter VIP home page Giter VIP logo

jfrog-eclipse-plugin's Introduction

JFrog Eclipse Plugin

JFrog Extension Marketplace Installs

Marketplace Build status

JFrog Eclipse plugin adds JFrog Xray scanning of Maven, Gradle and Npm project dependencies to your Eclipse.

Building and Testing the Sources

To build the plugin sources, please follow these steps:

  1. Clone ide-plugins-common.
  2. CD to ide-plugins-common.
  3. Install ide-plugins-common dependency by running:
./gradlew clean install
  1. Clone the code from git.
  2. CD to jfrog-eclipse-plugin directory.
  3. Build and create the Eclipse plugin zip file by running the following maven command. After the build finishes, you'll find the zip file in the releng/update-site/target/com.jfrog.ide.eclipse.releng.update-site-x.y.x.zip directory, located under the jfrog-eclipse-plugin directory. The zip file can be loaded into Eclipse.
mvn clean package
  1. If you'd like run the jfrog-eclipse-plugin integration tests, run the following command:
mvn clean verify

Developing the Plugin Code

If you'd like to help us develop and enhance the plugin, this section is for you. To build and run the plugin following your code changes, follow these steps:

  1. From Eclipse, open all projects under jfrog-eclipse-plugin.
  2. From Eclipse, open jfrog-eclipse-plugin/pom.xml. Here you'll see error on missing m2e connectors. Install them, as suggested.
  3. After restart, open jfrog-eclipse-plugin/releng/jfrog-target/com.jfrog.ide.eclipse.relen.jfrog-target.target. Click on "Set as active target platform" and wait until all dependencies resolved.
  4. Select all projects in the Package Explorer and click on refresh (F5).
  5. Right click on bundle project, Maven --> Update Project. In the opened Update Maven Projects form, select all Maven projects and click ok.
  6. Open the problems view and make sure absence of errors. If there are errors, repeat steps 3-5.
  7. Click on Run --> Run Configurations and create a new Eclipse Application configuration. A. Under Main --> Workspace Data check clear. B. Under Configuration --> Configuration Data check Clear the configuration area before launching.
  8. To run the Sandbox, click on run under Run Configurations or Run --> Run as --> YOUR_CONFIGURATION_NAME.

Code Contributions

We welcome community contribution through pull requests.

Using JFrog Eclipse plugin

To learn how to use JFrog Eclipse plugin, please visit the JFrog Eclipse Plugin User Guide.

Release Notes

The release notes are available in RELEASE.md.

jfrog-eclipse-plugin's People

Contributors

dependabot[bot] avatar eyalbe4 avatar robinino avatar sverdlov93 avatar yahavi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jfrog-eclipse-plugin's Issues

Allow configuring the Gradle executable source

Issue
Currently the plugin use GradleConnector to download Gradle.
The workflow is:
First priority - Use Gradle wrapper.
Second priority - Use the Gradle Tooling hard-coded version (5.5).

Suggested Solution
Gradle plugin allows to configure the source of the Gradle in the configuration:
image

Reading the user preference from this configuration allow us to choose the Gradle executable source.

Xray CVSS Scoring System

Hi, does this plugin still uses the old scoring system? the highest Severity only seems to be high

The JFrog Plugin in Eclipse return could not execute gradle build because cann't get the Gradle distribution when click the refresh button

Describe the bug
Scan the Gradle projects in the v4.20 version of Eclipse, and use the JFrog Plugin. When the refresh button is clicked, it returns "Could not execute build using connection to Gradle distribution" error.
image
image

More notes:

  1. Eclipse is running in the Windows system and the system network is offline
  2. The Eclipse version is v4.20 and v4.29
  3. Change the Gradle distribution Settings to the Artifactory and it also returns the same error
  4. Re-test it in the higher version Gradle it also returns the same error

To Reproduce
In the network offline Windows system eclipse install the eclipse and scan the example Android project

Expected behavior
Can normally use the JFrog Plugin to scan Gradle Projects on Eclipse and on Windows systems where the network is offline

Versions

  • Eclipse version: v4.20 and v4.29
  • JFrog Plugin version: 1.1.2
  • Xray version: 3.x

Conan support

Does this plugin have conan dependency scanning support, it's not listed in the release notes.

Plugin usage

Please update with getting started documentation.

Missing Xray View in Eclipse 4.20

The security View and Xray option are missing in Eclipse after installing the plugin. Xray appears in the preferences window and can be configured to connect to our instance (and tested successfully), but then does not show in the 'Show View' panel when attempting to be used.

I attempted this with the below version of Eclipse, with a colleague and JFrog support also encountering the same issue when they tried the plugin. Windows 10 was used by myself and my colleague, with JFrog support using their Mac.

Version: 2021-06 (4.20.0)
Build id: 20210612-2011

Missing Security View

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.