MVN

org.apache.maven.archetypes : maven-archetype-mojo

Maven & Gradle

Dec 03, 2006

Maven Mojo Archetype · An archetype which contains a sample a sample Maven plugin.

<dependency>
    <groupId>org.apache.maven.archetypes</groupId>
    <artifactId>maven-archetype-mojo</artifactId>
    <version>1.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.apache.maven.archetypes : maven-archetype-mojo to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0
  • Latest Alpha: 1.0-alpha-4

All Versions

Choose a version of org.apache.maven.archetypes : maven-archetype-mojo to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0
maven-archetype-mojo-1.0
maven-archetype-mojo-1.0-alpha-4
maven-archetype-mojo-1.0-alpha-3
maven-archetype-mojo-1.0-alpha-2
maven-archetype-mojo-1.0-alpha-1

How to add a dependency to Maven

Add the following org.apache.maven.archetypes : maven-archetype-mojo maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.apache.maven.archetypes</groupId>
    <artifactId>maven-archetype-mojo</artifactId>
    <version>1.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.apache.maven.archetypes : maven-archetype-mojo gradle dependency to your build.gradle file:

implementation 'org.apache.maven.archetypes:maven-archetype-mojo:1.0'

Gradle Kotlin DSL: Add the following org.apache.maven.archetypes : maven-archetype-mojo gradle kotlin dependency to your build.gradle.kts file:

implementation("org.apache.maven.archetypes:maven-archetype-mojo:1.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.apache.maven.archetypes : maven-archetype-mojo sbt scala dependency to your build.sbt file:

libraryDependencies += "org.apache.maven.archetypes" % "maven-archetype-mojo" % "1.0"