JFrog Eclipse plugin adds JFrog Xray scanning of Maven, Gradle and Npm project dependencies to your Eclipse.
To build the plugin sources, please follow these steps:
- Clone ide-plugins-common.
- CD to ide-plugins-common.
- Install ide-plugins-common dependency by running:
./gradlew clean install
- Clone the code from git.
- CD to jfrog-eclipse-plugin directory.
- 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
- If you'd like run the jfrog-eclipse-plugin integration tests, run the following command:
mvn clean verify
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:
- From Eclipse, open all projects under jfrog-eclipse-plugin.
- From Eclipse, open jfrog-eclipse-plugin/pom.xml. Here you'll see error on missing m2e connectors. Install them, as suggested.
- 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.
- Select all projects in the Package Explorer and click on refresh (F5).
- Right click on bundle project, Maven --> Update Project. In the opened Update Maven Projects form, select all Maven projects and click ok.
- Open the problems view and make sure absence of errors. If there are errors, repeat steps 3-5.
- 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.
- To run the Sandbox, click on run under Run Configurations or Run --> Run as --> YOUR_CONFIGURATION_NAME.
We welcome community contribution through pull requests.
To learn how to use JFrog Eclipse plugin, please visit the JFrog Eclipse Plugin User Guide.
The release notes are available in RELEASE.md.