简体   繁体   中英

How to build SonarLint source code using Maven?

I am trying to build sonar lint for eclipse for development purpose and adding a new language. I made some changes but I am not able to generate a zip file which I can locally install in eclipse as a plugin.

I have tried

mvn clean package : Not working clean install : Not working mvn compile : Not working

I have even tried opening plugin.xml and clicked the green play button which showed at the right corner of the screen as written in github. But it still does not work.

I am not finding any documentation related to this, how can we generate plugin to install it in eclipse.

As I have understood your question, you want to build sonarlint eclipse plugin source code using Maven. Here is the command.

mvn clean package

Once build is successful, go to the following directory.

org.sonarlint.eclipse.site\\target

You will find the zip file of your plugin ie. org.sonarlint.eclipse.site-4.2.0-SNAPSHOT.zip

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM