Download maven-glassfish-extension JAR file with all dependencies
maven-glassfish-extension from group org.glassfish.build (version 3.0-Prelude-Embedded-m2)
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.
Artifact maven-glassfish-extension
Group org.glassfish.build
Version 3.0-Prelude-Embedded-m2
Last update 24. December 2008
Tags: maven manager cause apache glassfish enough extensions plugin info handlers prolem after doesn avoid over errors hack component lifecycle depends custom these problems moving unable functioning definitions available like registering goal mojo properly that failure simply doing executing areas several load components this early series plugins made tried resolution through build turns execution because critical problematic during dependencies mappings marking apparently debugging internal find circumbent module resolve definition error obviously into true extension integrated artifact which originally confuses necessary also
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies maven-core,
There are maybe transitive dependencies!
Group org.glassfish.build
Version 3.0-Prelude-Embedded-m2
Last update 24. December 2008
Tags: maven manager cause apache glassfish enough extensions plugin info handlers prolem after doesn avoid over errors hack component lifecycle depends custom these problems moving unable functioning definitions available like registering goal mojo properly that failure simply doing executing areas several load components this early series plugins made tried resolution through build turns execution because critical problematic during dependencies mappings marking apparently debugging internal find circumbent module resolve definition error obviously into true extension integrated artifact which originally confuses necessary also
Organization not specified
URL Not specified
License not specified
Dependencies amount 1
Dependencies maven-core,
There are maybe transitive dependencies!
Page 1 from 1 (items total 1)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy