Haven't used Hardy, but most Linux distros still ship with GNU Java as the
default, and it has numerous problems (such as parsing XML files). Run java
-version, if you get something like: gij (GNU libgcj) version 4.1.1 20070105,
loosely follow for example these instructions:
http://daveshields.wordpress.com/2007/09/14/how-to-install-a-specific-version-of-java-on-ubuntu/to
get Sun's Java or just get the tar from
java.sun.com and install manually.

Kalle


On 12/30/07, Immanuel Normann <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have just installed maven on my Linux (Ubuntu Hardy) machine:
>
> $ mvn -version
> Maven version: 2.0.8
> Java version: 1.4.2
> OS name: "linux" version: "2.6.20-15-generic" arch: "i386" Family:
> "unix"
>
> and I have followed the "maven in 5 minutes tutorial"
>
> (http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
> )
> trying to create a project with
> $ mvn archetype:create -DgroupId=maven-test -DartifactId=maven-test
>
> but maven hangs with
> [INFO] Scanning for projects...
>
> I have searched this mailing list for this problem and already found
> some related mails, but nothing that actually solves my problem.
>
> Any idea why maven hangs? After "maven in 5 hours" ;-) I have no clue
> where to look at. May be it would be helpful to know how maven scans for
> projects in order to understand how it possibly runs into cycles.
>
> Thanks,
> Normann
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to