Intellij - No maven module - maven

I was trying to create a new project in intelliJ using maven module but notice that it has disappear. I tried google but can't find a solution.

Perhaps you need to enable Maven Integration in your plugins.

Related

Creating a plugin for Intelij IDEA

I'm trying to create a plugin for intelij that benefits from the already existing Maven plugin.
What i'm trying to do is creating a new Module Type so i can create a project based on an archetype. I know that intelij already does it but i'm having dificulties on finding the extension point that could help me with this. I Found the list of extension points and the Maven Artifact Builder seems to be what i'm looking for but when i click on it says there is no plugin.
Any ideia how can i use the existing maven plugin to generate my archetype on my Module Type?

eclipse 4.13.0 - dependency repository

I recently downloaded eclipse ee so I can learn more about Java Spring Framework. I am certain that I installed the correct Spring IDE plugin and a Maven Integration plugin is already pre-installed, I double checked. I ran into the issue when I began a new Maven project and I tried adding Spring Dependencies in the pom.xml file. It seems as if eclipse is not looking in the Global Repository because it cannot find any dependencies from the Spring Framework.
I've tried looking online for a solution. Most posts say to check the preferences on Maven and make sure to select the 'Download repository index updates on starup'. I tried that but still no luck.
If anyone has a solution please let me know
pom.xml screenshot

create gradle multimodule project for AEM using lazybones templates

I had heard of lazybones, which is a command line tool for project creation and it is more interactive or customizable than Maven Archetypes. Thus, I created a maven multimodule aem project using lazybones.
The Command and template for AEM multimodule project is:
lazybones create aem-multimodule-project <target-folder>
This creates a maven multimodule project for AEM. Then, I tried to find the same for Gradle, but I didn't find any template regarding that.
Can anyone give me any direction how can I achieve the same.
Please consider using gradle aem plugin. It has a lot of features and might be good for your case
https://github.com/Cognifide/gradle-aem-plugin

Using custom maven plugin in gradle project

I developed custom maven plugin using java 5 annotations and I want to use that plugin in gradle project but I am not getting any useful stuff on internet even after lots of googling could you please let me know how to use custom maven plugin in project build with gradle?
Thanks and Regards,
Mahendra Tonape.

Add a remote Archetype Catalog in IntelliJ

I am new to IntelliJ but coming from Eclipse I expected Maven support to be far better. It really is but I could not find how to define a remote archetype catalog in IntelliJ (14.1).
All I could find was a way to add a Archetype manually but that is not what I need. I would like to point to a XML file on a remote server that contains the list of all archetypes available.
In Eclipse, it looks like this :
Maybe you would like to try an Intellij Plugin that I wrote yesterday. It enables you to add remote archetype catalogs to Idea: Maven Archetype Catalog plugin
To make my answer more clear: I had the same issue that it struggles me that you can add Maven Archetype Catalog files in Eclipse, but not in IntelliJ IDEA. So I tried to write a plugin for IntelliJ IDEA, so that you can actually define URLs to archetype-catalog.xml.
The plugin just parses those URLs and provides the Maven Archetypes to the list of available Archetypes in IntelliJ IDEA.
After installing the Plugin you can find a new entry in the Settings menu at File - Settings - Build, Execution and Deployment - Build tools.
I know this is kinda old thread, but in the future if some one will look for it.
This Maven Archetype Catalogs is a plugin for intellij that allows import external archetypes from a URL.
It solved my problem on Linux, haven't tried it on Windows.
To add this plugin go to File->Settings->Plugins->Browse repositories
in the search bar type "Maven Archetype Catalogs". Install and restart.
To use it go to File -> Settings -> Build, Execution, Deployment -> Build Tools -> Maven Archetype Catalogs. click the '+' and add the archetype-catalog
It seems that there is a plugin to do this - Maven Archetypes. The reviews are not favourable, and I have never used it though so cannot comment to its effectiveness.
You could also (assuming Windows/IntelliJ 14), edit C:\Users\<username>\.IntelliJIdea14\system\Maven\Indices\UserArchetypes.xml and add the archetypes manually. Not ideal, but still workable.
Screenshots are made in IDEA 14, I've also checked IDEA 13, it's also true for it.
If this is what you need
Then it's in the Preferences:

Resources