Intellij IDEA on top of Maven

Figure 48. Intellij IDEA Maven support Slide presentation Create comment in forum

Figure 49. Intellij IDEA Maven archetype catalog plugin Slide presentation Create comment in forum
Intellij IDEA Maven archetype catalog plugin

Figure 50. Intellij IDEA MI archetype repository configuration Slide presentation Create comment in forum

Figure 51. New MI archetype project Slide presentation Create comment in forum
New MI archetype project

Figure 52. Selecting an archetype Slide presentation Create comment in forum
Selecting an archetype

Intellij IDEA project type Maven.

Tick Create from archetype option.

Choose archetypeGroupId: de.hdm-stuttgart.mi.

Within given archetypeGroupId choose archetype identified by its unique values:

  • archetypeArtifactId: mi-maven-archetype-helloworld

  • archetypeVersion: 1.3

Note

Multiple archetypes of different versions may show up here.


Figure 53. Providing project identifier Slide presentation Create comment in forum
Providing project identifier

GroupID: Typically your organisation's (e.g. company's) reverse domain name.

Note

This avoids name clashes between different organisations.

ArtifactID: Your project's name being unique within your organisation e.g. musicarchiver.

Note

This avoids name clashes within your organisation.

Version: Your project's version.

Note

With respect to professional software development you may want to ship (and sell!) different versions to your customers. This property allows for distinguishing respective software version states.


Figure 54. Your project's root Slide presentation Create comment in forum
Your project's root

Your project's name. Should resemble your Maven ArtifactID value.

Your project's physical location within your workstation's local file storage.

Tip

You may want to work on your projects at different systems (e.g. MI pool, your laptop) and / or share your code with others. Options:


Figure 55. pom.xml content change policy Slide presentation Create comment in forum
pom.xml content change policy
  • Your Maven project depends on its pom.xml file.

  • Selecting Enable Auto-import allows for automated re-reading of your pom.xml's changed content by Intellij IDEA.


Figure 56. Idea Maven goal execution Slide presentation