easiest is to start here :

http://maven.apache.org/guides/mini/guide-creating-archetypes.html

actually, this does it all.

mvn archetype:create -DarchetypeGroupId=<archetype-groupId> 
-DarchetypeArtifactId=<archetype-artifactId> \ 
  -DarchetypeVersion=<archetype-version> -DgroupId=<my.groupid> 
-DartifactId=<my-artifactId>


On Tuesday 27 December 2005 01:32, Mark wrote:
> Hello.
>
> I'm extremely new to Maven2, therefore I strictly do everything according
> to the tutorial. Well, I came to testing where I need to test some domain
> class (User.class), which is under src/main/java/..., while my testcase
> class is under src/test/java/... .
> But maven2, running the testcase ("mvn test" command), reports an
> exception, that the code in testcase does NOT find needed domain class
> (User.class) from src/main/java/... .
> So should I copy all classes that I want to test (or use in my tests) from
> src/main/java/... to src/test/java/... or it must be configured or
> automated somhow?
>
> Thank You,
> Mark.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to