Advertisement
ravana

Untitled

Jun 29th, 2011
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. Questions:
  2.  
  3. ** Why does there are two maven_home's for root and system? as far as I know there should be only one maven_home we generally pointed by $M2_HOME variable.
  4.  
  5. It's only the m2 repository that will be different from user to user afaik. in this case there should two repos for system(portage) and root. It can be .m2_system, and .m2_root under /usr/share/maven-2.2, yeah? OR ideally, root .m2 should be located at /root/.m2/repository.
  6.  
  7. * replacing plexus-core with another name makes it work. But probably this isn't the correct approach since I see that "plexus.core" String is used when creating the ClassWorld instance in org.apache.maven.cli.compat.CompatibleMain. That class is the entry point mentioned in m2.conf file.
  8. With another name, there's this error that I haven't tracked down yet. any clues? http://pastebin.com/zkbLqkyn
  9.  
  10. * and, why is there a separate plugins folder in maven_system_home? It's set as "${JAVA_MAVEN_SYSTEM_HOME}/plugins" and JAVA_MAVEN_ROOT_PLUGINS="${JAVA_MAVEN_ROOT_HOME}/plugins"
  11.  
  12. Afaik, plugins are installed just like other jars. For example, maven-compile-plugin is at /home/kasun/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/2.0.2/maven-compiler-plugin-2.0.2.jar
  13.  
  14. * What's the reason to put maven-core at first. 01_maven-core.jar and 01_maven-settings.jar which are located under lib/ directory? The ideal path for M2_HOME is /usr/share/maven-${SLOT}!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement