Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-497

Please improve documentation on http://maven.apache.org/scm/guide/usage.html

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.2
    • None
    • documentation
    • None
    • dependencies: org.apache.maven:maven-embedder:2.0.4 and org.apache.maven.scm:maven-scm-api:1.2

    Description

      Trying to use Maven-SCM in my application I have selected the "With Plexus IOC" method as provided on http://maven.apache.org/scm/guide/usage.html.
      I have made this to a small unit test (attached to this issue), which failed as:

      Testsuite: com.jtstand.TestEmbedder
              at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:323)
              at org.codehaus.plexus.embed.Embedder.lookup(Embedder.java:78)
              at com.jtstand.TestEmbedder.<init>(TestEmbedder.java:24)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
              at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
              at junit.framework.TestSuite.createTest(TestSuite.java:54)
              at junit.framework.TestSuite.addTestMethod(TestSuite.java:280)
              at junit.framework.TestSuite.<init>(TestSuite.java:140)
              at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:481)
              at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1031)
              at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:888)
      ))
      Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.032 sec

      Please improve usage doc on http://maven.apache.org/scm/guide/usage.html.
      Please provide me help getting started in this direction.
      Thx.

      Attachments

        1. TestEmbedder.java
          0.9 kB
          Albert Kurucz

        Activity

          People

            Unassigned Unassigned
            ali65 Albert Kurucz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: