Sounds great! I've been having trouble getting off the ground with a
maven embedder project myself. (The old 2.0.4 embedder jar made lot's of
things easy, and I've not found something like it).
I pulled down the source, but I'm getting the error below. Is there a
jar I need to manually install?
Dan
mvn clean package site
[INFO] Scanning for projects...
[WARNING] The POM for com.google.code.atinject:atinject:jar:1.0.0-rev3
is missing, no dependency information available
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project
org.commonjava.emb.integration:nexus-autonx-plugin:0.6-SNAPSHOT
(/home/dan/javadev/mavenAppEngine/EMB/integration/nexus-autonx-plugin/pom.xml)
has 2 errors
[ERROR] Unresolveable build extension: Plugin
org.sonatype.plugins:app-lifecycle-maven-plugin:1.2 or one of its
dependencies could not be resolved: Failure to find
com.google.code.atinject:atinject:jar:1.0.0-rev3 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced -> [Help 2]
[ERROR] Unknown packaging: nexus-plugin @ line 31, column 14
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
On 01/-10/-28163 02:59 PM, John Casey wrote:
Hey everyone,
I have some code I've been working on for about a year now, on and
off. The point is to make it easier to embed Maven inside an
application, including giving access to Maven components via injection.
I'd like to donate it to the Maven project, but I wanted to know if
anyone has concerns with me simply pushing it into the sandbox (in
anticipation of a vote to promote it out of the sandbox).
The code is available in the EMB project I'm working on out on Github:
http://github.com/jdcasey/EMB
...but I should mention that only a slice of that codebase would
eventually make it into the Maven App Engine (Mae):
- api/
- booter/
- apps/app/
- infrastructure/plexus-guice/
...the last of which contains a few slightly modified versions of some
plexus-guice classes, to enable the "extrusion" of maven components
from the app engine once it starts, again using injection annotations.
Of course, the code needs cleaning up, particularly to make it
"branded" as a Maven project. But I can say that, unless otherwise
noted in the license headers, I'm the only author of the code (code I
didn't write will not have the same license header, and should have
some comment as to what's been changed).
This code is important for some tooling I've written around Maven for
work, and I'd love it if it became more widely available for others to
make use of.
WDYT?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]