You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Marek Pszczolka (JIRA)" <ji...@apache.org> on 2010/05/27 11:53:37 UTC

[jira] Created: (ARIES-324) System crash (windows) caused by mvn eclipse:eclipse on Aries trunk

System crash (windows) caused by mvn eclipse:eclipse on Aries trunk
-------------------------------------------------------------------

                 Key: ARIES-324
                 URL: https://issues.apache.org/jira/browse/ARIES-324
             Project: Aries
          Issue Type: Bug
          Components: Samples
    Affects Versions: Incubation
         Environment: Windows XP, Apache Maven 2.2.1
            Reporter: Marek Pszczolka
            Priority: Critical


I tried to create Eclipse project on trunk of Aries code according to tutorial instructions:
http://incubator.apache.org/aries/blueprinthelloworldtutorial.html

I've got blue screen.
After restart, second attempts ended with:

[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Aries Blueprint HelloWorld Assembly
[INFO]    task-segment: [eclipse:eclipse]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing eclipse:eclipse
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Unable to read local copy of metadata: Cannot read metadata from '[myhome]\.m2\repository\org\apache\aries\samples\blueprint\helloworld\org.apache.aries.samples.blueprint.helloworld.client\0.2-incubating-SNAPSHOT\maven-metadata-codehaus.snapshots.xml': only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
  org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.client:jar:0.2-incubating-SNAPSHOT


Path to dependency:
        1) org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.assembly:pom:0.2-incubating-SNAPSHO
T
        2) org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.client:jar:0.2-incubating-SNAPSHOT



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40 seconds
[INFO] Finished at: Thu May 27 09:25:46 CEST 2010
[INFO] Final Memory: 89M/160M
[INFO] ------------------------------------------------------------------------


After removing folder '[myhome]\.m2\repository\org\apache\aries\samples\ and run mvn eclipse:eclipse again - bluescreen again.

My colleague is getting the same result. Hard blue screen and PC restart.

I cannot attach a file causing problems I found in my local repo (I believe it is beeing downloaded from apache repo) '[myhome]\.m2\repository\org\apache\aries\samples\blueprint\helloworld\org.apache.aries.samples.blueprint.helloworld.client\0.2-incubating-SNAPSHOT\maven-metadata-codehaus.snapshots.xml'

Regards,
Marek

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ARIES-324) System crash (windows) caused by mvn eclipse:eclipse on Aries trunk

Posted by "Bartosz Kowalewski (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ARIES-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12872167#action_12872167 ] 

Bartosz Kowalewski commented on ARIES-324:
------------------------------------------

Hi,

It's a problem with maximum path length under Windows (~260 characters) :(. I observed this issue and got rid of it by moving my local Maven repo to a different location (a location with a shorter path).

I'm not sure why this causes such serious issues and why Maven is unable to handle this situation properly (i.e. print a warning). I haven't had time to dig into Maven internals yet. 

However, I feel that if these Aries artifacts were called differently (not org.apache.aries.samples.blueprint.helloworld.xxx), this problem would not be observed :).

Thanks,
  Bartek

> System crash (windows) caused by mvn eclipse:eclipse on Aries trunk
> -------------------------------------------------------------------
>
>                 Key: ARIES-324
>                 URL: https://issues.apache.org/jira/browse/ARIES-324
>             Project: Aries
>          Issue Type: Bug
>          Components: Samples
>    Affects Versions: Incubation
>         Environment: Windows XP, Apache Maven 2.2.1
>            Reporter: Marek Pszczolka
>            Priority: Critical
>
> I tried to create Eclipse project on trunk of Aries code according to tutorial instructions:
> http://incubator.apache.org/aries/blueprinthelloworldtutorial.html
> I've got blue screen.
> After restart, second attempts ended with:
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Aries Blueprint HelloWorld Assembly
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO] ------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Unable to read local copy of metadata: Cannot read metadata from '[myhome]\.m2\repository\org\apache\aries\samples\blueprint\helloworld\org.apache.aries.samples.blueprint.helloworld.client\0.2-incubating-SNAPSHOT\maven-metadata-codehaus.snapshots.xml': only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
>   org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.client:jar:0.2-incubating-SNAPSHOT
> Path to dependency:
>         1) org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.assembly:pom:0.2-incubating-SNAPSHO
> T
>         2) org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.client:jar:0.2-incubating-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 40 seconds
> [INFO] Finished at: Thu May 27 09:25:46 CEST 2010
> [INFO] Final Memory: 89M/160M
> [INFO] ------------------------------------------------------------------------
> After removing folder '[myhome]\.m2\repository\org\apache\aries\samples\ and run mvn eclipse:eclipse again - bluescreen again.
> My colleague is getting the same result. Hard blue screen and PC restart.
> I cannot attach a file causing problems I found in my local repo (I believe it is beeing downloaded from apache repo) '[myhome]\.m2\repository\org\apache\aries\samples\blueprint\helloworld\org.apache.aries.samples.blueprint.helloworld.client\0.2-incubating-SNAPSHOT\maven-metadata-codehaus.snapshots.xml'
> Regards,
> Marek

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (ARIES-324) System crash (windows) caused by mvn eclipse:eclipse on Aries trunk

Posted by "Marek Pszczolka (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marek Pszczolka closed ARIES-324.
---------------------------------

    Fix Version/s: Incubation
       Resolution: Fixed

Yes, shortening the path helped. I was confused by error message about path with only 211 chars, but other in that package were much longer.

Good point about changing the artifact name for shorter one.

Regards,
Marek

> System crash (windows) caused by mvn eclipse:eclipse on Aries trunk
> -------------------------------------------------------------------
>
>                 Key: ARIES-324
>                 URL: https://issues.apache.org/jira/browse/ARIES-324
>             Project: Aries
>          Issue Type: Bug
>          Components: Samples
>    Affects Versions: Incubation
>         Environment: Windows XP, Apache Maven 2.2.1
>            Reporter: Marek Pszczolka
>            Priority: Critical
>             Fix For: Incubation
>
>
> I tried to create Eclipse project on trunk of Aries code according to tutorial instructions:
> http://incubator.apache.org/aries/blueprinthelloworldtutorial.html
> I've got blue screen.
> After restart, second attempts ended with:
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Aries Blueprint HelloWorld Assembly
> [INFO]    task-segment: [eclipse:eclipse]
> [INFO] ------------------------------------------------------------------------
> [INFO] Preparing eclipse:eclipse
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Unable to read local copy of metadata: Cannot read metadata from '[myhome]\.m2\repository\org\apache\aries\samples\blueprint\helloworld\org.apache.aries.samples.blueprint.helloworld.client\0.2-incubating-SNAPSHOT\maven-metadata-codehaus.snapshots.xml': only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
>   org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.client:jar:0.2-incubating-SNAPSHOT
> Path to dependency:
>         1) org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.assembly:pom:0.2-incubating-SNAPSHO
> T
>         2) org.apache.aries.samples.blueprint.helloworld:org.apache.aries.samples.blueprint.helloworld.client:jar:0.2-incubating-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 40 seconds
> [INFO] Finished at: Thu May 27 09:25:46 CEST 2010
> [INFO] Final Memory: 89M/160M
> [INFO] ------------------------------------------------------------------------
> After removing folder '[myhome]\.m2\repository\org\apache\aries\samples\ and run mvn eclipse:eclipse again - bluescreen again.
> My colleague is getting the same result. Hard blue screen and PC restart.
> I cannot attach a file causing problems I found in my local repo (I believe it is beeing downloaded from apache repo) '[myhome]\.m2\repository\org\apache\aries\samples\blueprint\helloworld\org.apache.aries.samples.blueprint.helloworld.client\0.2-incubating-SNAPSHOT\maven-metadata-codehaus.snapshots.xml'
> Regards,
> Marek

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.