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

                 Key: SCM-497
                 URL: http://jira.codehaus.org/browse/SCM-497
             Project: Maven SCM
          Issue Type: Improvement
    Affects Versions: 1.2
         Environment:         <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-embedder</artifactId>
            <version>2.0.4</version>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.scm</groupId>
            <artifactId>maven-scm-api</artifactId>
            <version>1.2</version>
            <scope>test</scope>
            <type>jar</type>
        </dependency>

            Reporter: Albert Kurucz
         Attachments: TestEmbedder.java

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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to