All Projects → dmarks2 → maven-archetypes-catalog-plugin

dmarks2 / maven-archetypes-catalog-plugin

Licence: other
A plugin to enable IntelliJ IDEA to fetch external Maven Archetype Catalog files

Programming Languages

java
68154 projects - #9 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to maven-archetypes-catalog-plugin

Ok Gradle
IntelliJ/Android Studio plugin for searching artifacts ids of popular Java libraries.
Stars: ✭ 664 (+3394.74%)
Mutual labels:  maven, intellij-plugin
Mvnrunner
IntelliJ plugin for maven, building and run unit testing or main method, by mvn.
Stars: ✭ 7 (-63.16%)
Mutual labels:  maven, intellij-plugin
intellij-quarkus
IntelliJ Quarkus Tools
Stars: ✭ 83 (+336.84%)
Mutual labels:  maven, intellij-plugin
spring-cloud-stream-kafka-elasticsearch
The goal of this project is to implement a "News" processing pipeline composed of five Spring Boot applications: producer-api, categorizer-service, collector-service, publisher-api and news-client.
Stars: ✭ 44 (+131.58%)
Mutual labels:  maven
wagon-maven-plugin
www.mojohaus.org/wagon-maven-plugin/
Stars: ✭ 23 (+21.05%)
Mutual labels:  maven
interstellar
Dark editor theme for JetBrains IDEs
Stars: ✭ 26 (+36.84%)
Mutual labels:  intellij-plugin
dummytext-plugin
"Dummy Text Generator" plugin for Jetbrains IDEs
Stars: ✭ 31 (+63.16%)
Mutual labels:  intellij-plugin
nexus-repository-import-scripts
A few scripts for importing artifacts into Nexus Repository
Stars: ✭ 142 (+647.37%)
Mutual labels:  maven
intellij-ui-test-robot
The library allows you to write and execute UI tests among IntelliJ IDEA. You can test your Plugin.
Stars: ✭ 60 (+215.79%)
Mutual labels:  intellij-plugin
cas-management-overlay
WAR overlay for Apereo CAS Management web application
Stars: ✭ 120 (+531.58%)
Mutual labels:  maven
jcenter-config
Painlessly publish your library/project to jcenter() with these simple scripts.
Stars: ✭ 13 (-31.58%)
Mutual labels:  maven
basepom
All the base POMs in the world.
Stars: ✭ 35 (+84.21%)
Mutual labels:  maven
maven-apache-parent
Apache Software Foundation Parent POM
Stars: ✭ 21 (+10.53%)
Mutual labels:  maven
identicon
Original Identicon java and canvas implementations
Stars: ✭ 64 (+236.84%)
Mutual labels:  maven
IntelliJ-IDEA-Translate2Chinese
Chinese ​(Simplified)​ Language Pack EAP v201.15 魔改进行中...
Stars: ✭ 14 (-26.32%)
Mutual labels:  intellij-plugin
gradle-git-versioning-plugin
This extension will set project version, based on current Git branch or tag.
Stars: ✭ 44 (+131.58%)
Mutual labels:  maven
LocaleLib
Show translated names of items, entities & more in client's language
Stars: ✭ 34 (+78.95%)
Mutual labels:  maven
NyanTrayIntelliJPlugin
A little plugin for IntelliJ (and Android Studio, and other IntelliJ based IDEs) to let you know when work is ongoing.
Stars: ✭ 24 (+26.32%)
Mutual labels:  intellij-plugin
eksi
Eksi sözlük crawl,stat , api calismalari
Stars: ✭ 25 (+31.58%)
Mutual labels:  maven
GIdeaBrowser
A Browser embedded in your IDE
Stars: ✭ 27 (+42.11%)
Mutual labels:  intellij-plugin

Maven Archetypes Catalog Plugin for IntelliJ IDEA

IntelliJ IDEA is not able to fetch external Maven Archetype Catalog files (archetype-catalog.xml). To use custom Maven Archetypes, you had to add external Maven Archetypes manually.

This plugin for IntelliJ IDEA allows you to define a list of external Maven Archetype Catalog files. Those files are fetched and the containing Maven Archetypes are made available in IntelliJ IDEA when creating new Maven projects.

Note: Functionality to manage Archetypes has been integrated in IntelliJ 2022. So this plugin is no longer needed for IntelliJ 2022 and above!

Usage

Install the plugin.

It adds a new entry Maven Archetype Catalogs to the Settings menu at File - Settings - Build, Execution and Deployment - Build tools.

Here you can add additional URLs or choose local files pointing to archetype-catalog.xml files. If you need to authenticate to a reposistory, use an URL like 'http://[username]:[password]@[url]'. After adding those Catalog files the Archetypes present in these files will be available when creating new Maven projects or Maven modules.

When you define a property archetypeCatalog in your pom.xml or declare a configuration for the org.apache.maven.plugins:maven-archetype-plugin in your pom.xml, these settings will be automatically imported. The property archetypeCatalog supports local, remote, file- or http(s)-based URLs. See http://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html#archetypeCatalog for additional information.

By checking the option Skip Repository Definition you can suppress the parameter -DarchetypeRepository when creating new projects. Be sure to define required repositories in your settings.xml. Setting this option may help if you are affected by Maven Archetype / ARCHETYPE-519 - archetype:generate with specified remote archetypeCatalog falls back to internal catalog.

Development

The project is build up using Maven. The IntelliJ IDEA libraries are not present in the global Maven repository, so they need to be installed in your local repository or in your company repository.

You can install the required libraries using the install.cmd script file. Otherwise you can see the paths and the required maven instructions to install the artifacts in the pom.xml.

To be able to debug the plugin, you need to install an additional IDEA plugin Intellij plugin development with Maven. This plugin tells IntelliJ IDEA to handle the module as a plugin module instead of a java module.

Additionally you have to manually configure the path to the plugin.xml in the module settings. Best practice would be to point to target/classes.

At last, you have to create an IntelliJ IDEA SDK and provide the name of the SDK in the property intellij.idea.sdk.name (probably in a maven profile).

Extensions

This plugin provides an extension point archetypeCatalogDefinition in the namespace de.dm.intellij.maven-archetypes-catalog-plugin. Here you can add your custom Archetype Catalog files required for your IntelliJ plugins.

The Interface is available in a JFrog Bintray repository. To use it, add the following repository to your pom.xml:

            <dependencies>
                <dependency>
                  <groupId>de.dm.intellij</groupId>
                  <artifactId>maven-archetypes-catalog-openapi</artifactId>
                  <version>1.4.0</version>
                </dependency>
            </dependencies>
            ...
            <repositories>
                <repository>
                    <snapshots>
                        <enabled>false</enabled>
                    </snapshots>
                    <id>bintray-dmarks-maven</id>
                    <name>bintray</name>
                    <url>http://dl.bintray.com/dmarks/maven</url>
                </repository>
            </repositories>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].