You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Herscu <bm...@fastmail.fm> on 2006/02/20 23:33:30 UTC
[m202] Hangs during the "Scanning for projects..." stage
Hi all,
I am trying to migrate my M1 projects to M2.
The first step was to run the M2 tutorial -- and I find that the tool
works as documented in the tutorial (therefore I think that my M2
installation is OK).
The second step was to migrate a M1 test project to M2.
I have copied the project.xml into pom.xml, commented out M1 tags, added
the M2 specific tags and validated the pom.xml.
The problem is when I am trying to mvn compile the project then the tool
hangs in the "Scanning for projects..." stage.
Please help,
Adrian.
Here is what I have tried:
bmf1972@super ~/My Backyard/test
$ mvn -X compile
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'D:\Documents
and Settin
gs\bmf1972\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'g:\PROGRA~1\Java\MAVE
N-~1.2\conf\plugin-registry.xml'
[INFO] Scanning for projects...
bmf1972@super ~/My Backyard/test
$ mvn -X clean
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'D:\Documents
and Settin
gs\bmf1972\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'g:\PROGRA~1\Java\MAVE
N-~1.2\conf\plugin-registry.xml'
[INFO] Scanning for projects...
Here is my pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<!-- <pomVersion>3</pomVersion> -->
<modelVersion>4.0.0</modelVersion>
<name>Test Application</name>
<artifactId>test</artifactId>
<groupId>xxxx</groupId>
<!-- <currentVersion>1.0-SNAPSHOT</currentVersion> -->
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<organization>
<name>xxxx</name>
<url>http://super.development.local</url>
</organization>
<inceptionYear>2005</inceptionYear>
<description>
The test application is aimed to provide a playground for the build system
and for the other Java development tools.
</description>
<!--
<shortDescription>
Test application for the development tools
</shortDescription>
-->
<url>${pom.organization.url}/~bmf1972/${pom.artifactId}</url>
<!--
<siteAddress>${pom.organization.url}</siteAddress>
<siteDirectory>E:/Documents/bmf1972/My
Webs/${pom.artifactId}</siteDirectory>
<distributionSite>${pom.organization.url}</distributionSite>
<distributionDirectory>E:/Documents/bmf1972/My
Webs/${pom.artifactId}</distributionDirectory>
<repository>
<connection>scm:svn:http://super.development.local/repos:${pom.artifactId}/trunk/</connection>
<developerConnection>scm:svn:http://super.development.local/repos:${pom.artifactId}/trunk/</developerConnection>
</repository>
-->
<scm>
<connection>scm:svn:http://super.development.local/repos/${pom.artifactId}/trunk/</connection>
<developerConnection>scm:svn:http://super.development.local/repos/${pom.artifactId}/trunk/</developerConnection>
<url>http://super.development.local/viewcvs/</url>
</scm>
<mailingLists/>
<developers>
<developer>
<name>Adrian Herscu</name>
<id>bmf1972</id>
<email>bmf1972@fastmail.fm</email>
<organization>xxxx</organization>
</developer>
</developers>
<licenses>
<license>
<name>JSX License</name>
<url></url>
<distribution></distribution>
</license>
</licenses>
<dependencies/>
<build>
<!--
<nagEmailAddress>bmf1972@fastmail.fm</nagEmailAddress>
<sourceDirectory>${maven.src.dir}/main/java</sourceDirectory>
<unitTestSourceDirectory>${maven.src.dir}/test/java</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/NaughtyTest.java</exclude>
</excludes>
<resources>
<resource>
<directory>${pom.build.unitTestSourceDirectory}/resources</directory>
<includes>
<include>*.properties</include>
</includes>
</resource>
</resources>
</unitTest>
<resources>
<resource>
<directory>${pom.build.sourceDirectory}/resources</directory>
<includes>
<include>*.properties</include>
</includes>
</resource>
</resources>
-->
</build>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org