You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2014/05/11 19:08:10 UTC
[jira] (SCM-497) Please improve documentation on
http://maven.apache.org/scm/guide/usage.html
[ https://jira.codehaus.org/browse/SCM-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy updated SCM-497:
------------------------------
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:
{noformat}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{noformat}
Please improve usage doc on http://maven.apache.org/scm/guide/usage.html.
Please provide me help getting started in this direction.
Thx.
was:
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.
> Please improve documentation on http://maven.apache.org/scm/guide/usage.html
> ----------------------------------------------------------------------------
>
> Key: SCM-497
> URL: https://jira.codehaus.org/browse/SCM-497
> Project: Maven SCM
> Issue Type: Improvement
> Components: documentation
> 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
> Fix For: 1.x
>
> 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:
> {noformat}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{noformat}
> 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 was sent by Atlassian JIRA
(v6.1.6#6162)