MVN

org.glassfish.build : maven-glassfishbuild-extension

Maven & Gradle

Sep 14, 2011

Maven extension for building GlassFish · GlassFish build depends on properly functioning several custom lifecycle mappings and artifact handlers. Because these are necessary to resolve dependencies and to run "gf:run" goal and etc., it is critical that these extensions be made available to Maven early on during Maven execution. This definition was originally in maven-glassfish-plugin, which was integrated into Maven POM through <plugin>/<extensions>true marking, but after a series of debugging to resolve artifact resolution failure problems, it turns out that that doesn't cause Maven to load components early enough. I tried to circumbent the prolem by also registering the maven-glassfish-plugin as an extension module (via <build>/<extensions/<extension>), but that apparently confuses Maven to no end --- I get build errors like this: [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-jar-plugin:2.1:jar': Unable to find the mojo 'org.apache.maven.plugins:maven-jar-plugin:2.1:jar' in the plugin 'org.apache.maven.plugins:maven-jar-plugin' This is obviously one of the problematic areas of Maven, so to avoid doing hack over hack, I'm simply moving the component definitions to its own module.

<dependency>
    <groupId>org.glassfish.build</groupId>
    <artifactId>maven-glassfishbuild-extension</artifactId>
    <version>3.2.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of org.glassfish.build : maven-glassfishbuild-extension to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 3.2.2

All Versions

Choose a version of org.glassfish.build : maven-glassfishbuild-extension to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.2.x
maven-glassfishbuild-extension-3.2.2
maven-glassfishbuild-extension-3.2.1
3.2
maven-glassfishbuild-extension-3.2-b06
maven-glassfishbuild-extension-3.2-b05
maven-glassfishbuild-extension-3.2-b04
maven-glassfishbuild-extension-3.2-b03
maven-glassfishbuild-extension-3.2-b02
maven-glassfishbuild-extension-3.2-b01
3.1.x
maven-glassfishbuild-extension-3.1.1
maven-glassfishbuild-extension-3.1.1-b11
maven-glassfishbuild-extension-3.1.1-b10
maven-glassfishbuild-extension-3.1.1-b09
maven-glassfishbuild-extension-3.1.1-b08
maven-glassfishbuild-extension-3.1.1-b07
maven-glassfishbuild-extension-3.1.1-b06
maven-glassfishbuild-extension-3.1.1-b05
maven-glassfishbuild-extension-3.1.1-b04
maven-glassfishbuild-extension-3.1.1-b03
maven-glassfishbuild-extension-3.1.1-b02
maven-glassfishbuild-extension-3.1.1-b01
3.1
maven-glassfishbuild-extension-3.1
maven-glassfishbuild-extension-3.1-b41
maven-glassfishbuild-extension-3.1-b40
maven-glassfishbuild-extension-3.1-b39
maven-glassfishbuild-extension-3.1-b38
maven-glassfishbuild-extension-3.1-b37
maven-glassfishbuild-extension-3.1-b36
maven-glassfishbuild-extension-3.1-b35
maven-glassfishbuild-extension-3.1-b34
maven-glassfishbuild-extension-3.1-b33
maven-glassfishbuild-extension-3.1-b32
maven-glassfishbuild-extension-3.1-b31
maven-glassfishbuild-extension-3.1-b30
maven-glassfishbuild-extension-3.1-b28
maven-glassfishbuild-extension-3.1-b27
maven-glassfishbuild-extension-3.1-b26
maven-glassfishbuild-extension-3.1-b25
maven-glassfishbuild-extension-3.1-b24
maven-glassfishbuild-extension-3.1-b23
maven-glassfishbuild-extension-3.1-b22
maven-glassfishbuild-extension-3.1-b21
maven-glassfishbuild-extension-3.1-b20
maven-glassfishbuild-extension-3.1-b19
maven-glassfishbuild-extension-3.1-b18
maven-glassfishbuild-extension-3.1-b17
maven-glassfishbuild-extension-3.1-b16
maven-glassfishbuild-extension-3.1-b15
maven-glassfishbuild-extension-3.1-b14
maven-glassfishbuild-extension-3.1-b13
maven-glassfishbuild-extension-3.1-b12
maven-glassfishbuild-extension-3.1-b11
maven-glassfishbuild-extension-3.1-b10
maven-glassfishbuild-extension-3.1-b09
maven-glassfishbuild-extension-3.1-b08
maven-glassfishbuild-extension-3.1-b07
maven-glassfishbuild-extension-3.1-b06
maven-glassfishbuild-extension-3.1-b05
maven-glassfishbuild-extension-3.1-b04
maven-glassfishbuild-extension-3.1-b03
maven-glassfishbuild-extension-3.1-b02
maven-glassfishbuild-extension-3.1-b01
3.0.x
maven-glassfishbuild-extension-3.0.1
maven-glassfishbuild-extension-3.0.1-b20
maven-glassfishbuild-extension-3.0.1-b19
maven-glassfishbuild-extension-3.0.1-b18
maven-glassfishbuild-extension-3.0.1-b17
maven-glassfishbuild-extension-3.0.1-b16
maven-glassfishbuild-extension-3.0.1-b15
maven-glassfishbuild-extension-3.0.1-b14
maven-glassfishbuild-extension-3.0.1-b12
maven-glassfishbuild-extension-3.0.1-b11
maven-glassfishbuild-extension-3.0.1-b10
maven-glassfishbuild-extension-3.0.1-b09
maven-glassfishbuild-extension-3.0.1-b08
maven-glassfishbuild-extension-3.0.1-b07
maven-glassfishbuild-extension-3.0.1-b06
maven-glassfishbuild-extension-3.0.1-b05
maven-glassfishbuild-extension-3.0.1-b04
maven-glassfishbuild-extension-3.0.1-b03
maven-glassfishbuild-extension-3.0.1-b02
maven-glassfishbuild-extension-3.0.1-b01
3.0
maven-glassfishbuild-extension-3.0
maven-glassfishbuild-extension-3.0-b74b
maven-glassfishbuild-extension-3.0-b74a
maven-glassfishbuild-extension-3.0-b74
maven-glassfishbuild-extension-3.0-b73
maven-glassfishbuild-extension-3.0-b72
maven-glassfishbuild-extension-3.0-b71
maven-glassfishbuild-extension-3.0-b70
maven-glassfishbuild-extension-3.0-b69
maven-glassfishbuild-extension-3.0-b68
maven-glassfishbuild-extension-3.0-b67
maven-glassfishbuild-extension-3.0-b66
maven-glassfishbuild-extension-3.0-b65
maven-glassfishbuild-extension-3.0-b64
maven-glassfishbuild-extension-3.0-b63
maven-glassfishbuild-extension-3.0-b62
maven-glassfishbuild-extension-3.0-b61
maven-glassfishbuild-extension-3.0-b60
maven-glassfishbuild-extension-3.0-b59
maven-glassfishbuild-extension-3.0-b58
maven-glassfishbuild-extension-3.0-b57
maven-glassfishbuild-extension-3.0-b56
maven-glassfishbuild-extension-3.0-b55
maven-glassfishbuild-extension-3.0-b54
maven-glassfishbuild-extension-3.0-b53
maven-glassfishbuild-extension-3.0-b52
maven-glassfishbuild-extension-3.0-b51
maven-glassfishbuild-extension-3.0-b50
maven-glassfishbuild-extension-3.0-b49
maven-glassfishbuild-extension-3.0-Preview
maven-glassfishbuild-extension-3.0-b48
maven-glassfishbuild-extension-3.0-Preview-b47c
maven-glassfishbuild-extension-3.0-Preview-b47b
maven-glassfishbuild-extension-3.0-Preview-b47a
maven-glassfishbuild-extension-3.0-b47
maven-glassfishbuild-extension-3.0-b46
maven-glassfishbuild-extension-3.0-b45
maven-glassfishbuild-extension-3.0-b44
maven-glassfishbuild-extension-3.0-b43
maven-glassfishbuild-extension-3.0-b42
maven-glassfishbuild-extension-3.0-b41
maven-glassfishbuild-extension-3.0-b40
maven-glassfishbuild-extension-3.0-b39

How to add a dependency to Maven

Add the following org.glassfish.build : maven-glassfishbuild-extension maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>org.glassfish.build</groupId>
    <artifactId>maven-glassfishbuild-extension</artifactId>
    <version>3.2.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following org.glassfish.build : maven-glassfishbuild-extension gradle dependency to your build.gradle file:

implementation 'org.glassfish.build:maven-glassfishbuild-extension:3.2.2'

Gradle Kotlin DSL: Add the following org.glassfish.build : maven-glassfishbuild-extension gradle kotlin dependency to your build.gradle.kts file:

implementation("org.glassfish.build:maven-glassfishbuild-extension:3.2.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following org.glassfish.build : maven-glassfishbuild-extension sbt scala dependency to your build.sbt file:

libraryDependencies += "org.glassfish.build" % "maven-glassfishbuild-extension" % "3.2.2"