Hello all,
I've grabbed an eclipse plugin of maven-1.0.2 (the one that is available
from MevenIDE's update site) and been tweaking with it to try to run
Maven from within the Eclipse environment without requiring a system
install of maven. 

*plugin/repo issue:
The separate external maven plugins can also be defined and downloaded
within the project.xml and project.properties file that are stored with
*each project*:
Project.properties
==============
maven.repo.remote =
http://www.ibiblio.org/maven/,http://cvs.apache.org/repository/
=============
Project.xml
=============
<dependency>
      <groupId>maven-plugins</groupId>
      <artifactId>maven-cobertura-plugin</artifactId>
      <version>1.1</version>
     <type>plugin</type>
</dependency>
============ 
Default is the users homedir, which for now is fine.  MevenIDE also
defines a repo location in it's preferences.  This issue has an
acceptable solution/workaround for now.
*end plugin/repo issue


######the problem########

I've modified my local maven-1.0.2 eclipse plugin as follows:

*added forehead.conf from a standard maven install into the
plugin/org.apache.maven_1.0.2/lib dir.

*added log4j library to plugin/org.apache.maven_1.0.2/lib dir.

*added the lib/endorsed directory from a maven install with all jars to
plugin/org.apache.maven_1.0.2/lib/endorsed dir.

Now up to this point:
======================
org.apache.maven.MavenException: Maven was badly installed. Please
reinstall it.
        at
org.apache.maven.plugin.PluginManager.initialize(PluginManager.java:264)
        at
org.apache.maven.MavenSession.initializePluginManager(MavenSession.java:
204)
        at
org.apache.maven.MavenSession.initialize(MavenSession.java:171)
        at org.apache.maven.cli.App.doMain(App.java:475)
        at org.apache.maven.cli.App.main(App.java:1239)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
======================
Some searching brings up http://jira.codehaus.org/browse/MAVEN-1420 .
Tried just adding an empty ./bin dir with no results, and a /bin from an
existing maven install with no results. Setting up a Windows environment
MAVEN_HOME to this location does not change it either.  The run command
is coming from MevenIDE, but the way MevenIDE is setup is you usually
point to a system install of Maven; is there a way to make the eclipse
plugin of maven look like a system install or another option to have
Maven run with just the eclipse plugin without a system install?

Kinda stumped here, but looks like only one more hurdle to the finish
line....

-D

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to