Missing maven package from idea.jar

Answered

I wanted to match width for MavenView

(as in my last post https://intellij-support.jetbrains.com/hc/en-us/community/posts/360002399299-Project-view-list-of-files-packages)

I've found some interesting classes on intellij github repository that may help me, but it looks like my idea.jar is missing this package.

1. Is there a way to include this package?

2. Or is there another way to access Maven View(read its content and change it's width)?

0
4 comments
Official comment

You'll need to add Maven plugin itself to your IntelliJ SDK to access its classes http://www.jetbrains.org/intellij/sdk/docs/basics/plugin_structure/plugin_dependencies.html

I got: 

After both trying:

I have added maven.jar in project structure, sdk:

 

I can view the MavenProjectsManager source code in intellij.

I have only one maven.jar on my computer 

The screens are from Ubuntu, but I have got the same error on my Mac.

Any advice ?

 

Edit:

My bad I didn't read your link carefully and I was missing:

<depends>org.jetbrains.idea.maven</depends>

:D 

0

It seems <depends> with Maven Plugin ID wasn't added in your plugin's plugin.xml?

0

Yea I realized it. Thanks!

0

Please sign in to leave a comment.