Found the "offending" line:
<url>${pom.organization.url}/~bmf1972/${pom.artifactId}</url>
If I am replacing "${pom.organization.url}" with
"http://super.development.local"; then it suddenly works!
Very clever!

Brian E. Fox wrote:
> Hrm. My problem was related to inheritance and parent poms, which you
> don't have. I didn't see anything obvious and unfortunately the -X isn't
> showing anything. In my case it was recursively looking for a parent, so
> it was obvious from the log what the problem was. The only thing I can
> suggest is to boil it down to project,model,artifactId,groupId and
> version and start adding things back one at a time. 
> 
> -----Original Message-----
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu
> Sent: Monday, February 20, 2006 6:40 PM
> To: users@maven.apache.org
> Subject: Re: [m202] Hangs during the "Scanning for projects..." stage
> 
> Hi Brian, and thanks for your fast reply.
> I did a mvn -X the and the output is found below -- please take another
> look. The pom.xml is also included after the mvn -X output.
> 
> Brian E. Fox wrote:
>> I had this happen when I messed up a pom before. Try doing mvn -X and 
>> sending the output.
>>
>> -----Original Message-----
>> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Adrian Herscu
>> Sent: Monday, February 20, 2006 5:33 PM
>> To: users@maven.apache.org
>> Subject: [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:
>>
>> [EMAIL PROTECTED] ~/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...
>>
>> [EMAIL PROTECTED] ~/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.artifac
>> tI
>> d}/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.artifac
>> tI
>> d}/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>[EMAIL PROTECTED]</email>
>>       <organization>xxxx</organization>
>>     </developer>
>>   </developers>
>>
>>   <licenses>
>>     <license>
>>       <name>JSX License</name>
>>       <url></url>
>>       <distribution></distribution>
>>     </license>
>>   </licenses>
>>
>>   <dependencies/>
>>
>>   <build>
>>
>>     <!--
>>     <nagEmailAddress>[EMAIL PROTECTED]</nagEmailAddress>
>>     <sourceDirectory>${maven.src.dir}/main/java</sourceDirectory>
>>
>> <unitTestSourceDirectory>${maven.src.dir}/test/java</unitTestSourceDir
>> ec
>> tory>
>>
>>     <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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> 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