https://github.com/contrast-security-oss/contrast-eclipse-plugin
https://github.com/contrast-security-oss/contrast-eclipse-plugin
application-security code-analysis eclipse-plugin java security security-audit security-scanner security-tools security-vulnerability
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/contrast-security-oss/contrast-eclipse-plugin
- Owner: Contrast-Security-OSS
- License: gpl-3.0
- Created: 2017-03-08T00:21:34.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2022-09-09T17:10:11.000Z (almost 4 years ago)
- Last Synced: 2025-03-16T03:45:00.278Z (over 1 year ago)
- Topics: application-security, code-analysis, eclipse-plugin, java, security, security-audit, security-scanner, security-tools, security-vulnerability
- Language: Java
- Size: 11.7 MB
- Stars: 0
- Watchers: 20
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/Contrast-Security-OSS/ide-plugin-eclipse2)
# IDE plugin connecting to REST API
### Getting Started
#### Build Plugin
- Install Java JDK (minimal version 8) and maven 3.3.x
- clone repository
- `cd ide-plugin-eclipse`
- `cd targets && mvn clean install`
- `cd .. && mvn clean install -Djarsigner.skip=true -DskipTests`
#### Install Plugin
- open Eclipse
- select Help>Install New Software>Add
- click Archive...
- select updatesite/target/contrastide.updatesite-(version)-SNAPSHOT.zip
- select Contrast IDE
- restart Eclipse
## Testing
Project is currently configured to run tests with maven from project source using maven goal **integration-test**. This will
run unit and integration tests together. In order to run successfully integration tests, it is required to pass some values as
maven parameters:
- username
- apiKey
- serviceKey
- restApiUrl
- organizationId
Example command:
mvn clean integration-test -Dusername=someone -DapiKey=youApiKeyForOrganization -DserviceKey=yourServiceKey -DrestApiUrl=tsApiUrl -DorganizationId=orgId1
### Development
Requirements: Eclipse SDK Mars 4.5 or higher, recommended m2e and EGit
- import all "Existing Projects"
- create an Eclipse PDE Run/Debug configuration with included com.contrastsecurity.ide\* plugins
### Signing
Plugin build makes use of [Apache Maven Jarsigner Plugin](http://maven.apache.org/plugins/maven-jarsigner-plugin/) to sign automatically during package phase.
Sign required parameters are passed as maven build parameters as follow:
- keystore.path : Path location of the keystore file (.jks).
- keystore.storepass : Keystore password.
- keystore.alias : Key alias.
- keystore.keypass : Key password.
Example maven command:
mvn clean install -Dkeystore.path=/path/to/keystore -Dkeystore.storepass=keystorePass -Dkeystore.alias=alias -Dkeystore.keypass=keyPass
To disable this behavior add this line at the end of your maven build command:
mvn ... -Djarsigner.skip=true
### License
GPL version 3