Akka (Scala, Typesafe, Maven) changes are breaking my local maven REPO and driving me crazy - please help

160 views
Skip to first unread message

Nick Kasvosve

unread,
May 21, 2011, 3:09:32 AM5/21/11
to akka...@googlegroups.com
Ever single day I get this maven error related to my Akka, Scala and TypeSafe:

Reason: Error getting POM for 'org.scala-tools:time' from the repository: Unable to read local copy of metadata: Cannot read metadata from 'C:\Users\compaq\.m2\
repository\org\scala-tools\time\2.8.0-0.2-SNAPSHOT\maven-metadata-Akka.xml': attribute value must start with quotation or apostrophe not f (position: START_DOCU
MENT seen <font color=f... @1:13)  org.scala-tools:time:pom:2.8.0-0.2-SNAPSHOT

and the file refered to in my maven repositoy has this content: (maven-metadata-Akka.xml')


<font color=ff0000>
Warning: main(/usr/local/pem/sysvhosts/domain_parking/configurations//sp_configs/5/header.html/akka/repository/org/scala-tools/time/2.8.0-0.2-SNAPSHOT/maven-metadata.xml): failed to open stream: Not a directory in /usr/local/pem/sysvhosts/domain_parking/index.php on line 49
</font><font color=ff0000>
Warning: main(): Failed opening '/usr/local/pem/sysvhosts/domain_parking/configurations//sp_configs/5/header.html/akka/repository/org/scala-tools/time/2.8.0-0.2-SNAPSHOT/maven-metadata.xml' for inclusion (include_path='.:/php/includes') in /usr/local/pem/sysvhosts/domain_parking/index.php on line 49
</font><!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Scalable Solutions</title>

        <link rel="stylesheet" type="text/css" media="screen" href="http://www.typesafe.com/public/stylesheets/scalasolutions.css">
    <script type="text/javascript" src="./typesafe_files/sf_conduit.jsp"></script><script type="text/javascript" src="./typesafe_files/sf_conduit.js"></script><script type="text/javascript" src="./typesafe_files/dojo.xd.js"></script><script type="text/javascript" charset="utf-8" src="./typesafe_files/script.xd.js"></script><script type="text/javascript" charset="utf-8" src="./typesafe_files/window.xd.js"></script><script type="text/javascript" src="./typesafe_files/getSupportedSitesJSON.action" id="sufioIoScript1" charset="utf-8"></script></head>
    <body>
      <div id="scalasolutions">
        <div id="container">

        <h1>  Welcome to Scalable Solutions, now a part of Typesafe.</h1>
<p>We are excited to tell you that the Scalable Solutions team has joined with Martin Odersky's group from Scala Solutions and several other leaders from the Scala and Akka communities to form a new, larger and stronger company called Typesafe, Inc. <a href="http://typesafe.com/company">Find out about the new company</a>.</p>

<p>Typesafe will continue to provide the range of products and services that we have previously provided as Scalable Solutions. At Typesafe we are expanding that range to include an open source software stack with Akka, Scala and associated developer tools. Typesafe will offer support and maintenance subscriptions, training and consulting services.</p>

<p>Scala and Akka are growing rapidly and you can expect to see many more products and services made available through Typesafe in the future.</p>
            <h1><a href="http://typesafe.com/"><img src="http://www.typesafe.com/public/images/logo.png"></a></h1>

            <a class="button" href="http://typesafe.com/">Go to home</a>
        </div>
        </div>


<sfmsg id="sfMsgId" data="{&quot;imageCount&quot;:0,&quot;ip&quot;:&quot;90.225.105.184&quot;}"></sfmsg></body></html>

√iktor Ҡlang

unread,
May 21, 2011, 4:19:54 AM5/21/11
to akka...@googlegroups.com
On Sat, May 21, 2011 at 9:09 AM, Nick Kasvosve <nkas...@gmail.com> wrote:
Ever single day I get this maven error related to my Akka, Scala and TypeSafe:

Reason: Error getting POM for 'org.scala-tools:time' from the repository: Unable to read local copy of metadata: Cannot read metadata from 'C:\Users\compaq\.m2\
repository\org\scala-tools\time\2.8.0-0.2-SNAPSHOT\maven-metadata-Akka.xml': attribute value must start with quotation or apostrophe not f (position: START_DOCU
MENT seen <font color=f... @1:13)  org.scala-tools:time:pom:2.8.0-0.2-SNAPSHOT


Have you've tried wiping the .../time folder?
 

and the file refered to in my maven repositoy has this content: (maven-metadata-Akka.xml')


<font color=ff0000>
Warning: main(/usr/local/pem/sysvhosts/domain_parking/configurations//sp_configs/5/header.html/akka/repository/org/scala-tools/time/2.8.0-0.2-SNAPSHOT/maven-metadata.xml): failed to open stream: Not a directory in /usr/local/pem/sysvhosts/domain_parking/index.php on line 49
</font><font color=ff0000>
Warning: main(): Failed opening '/usr/local/pem/sysvhosts/domain_parking/configurations//sp_configs/5/header.html/akka/repository/org/scala-tools/time/2.8.0-0.2-SNAPSHOT/maven-metadata.xml' for inclusion (include_path='.:/php/includes') in /usr/local/pem/sysvhosts/domain_parking/index.php on line 49
</font><!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Scalable Solutions</title>

        <link rel="stylesheet" type="text/css" media="screen" href="http://www.typesafe.com/public/stylesheets/scalasolutions.css">
    <script type="text/javascript" src="./typesafe_files/sf_conduit.jsp"></script><script type="text/javascript" src="./typesafe_files/sf_conduit.js"></script><script type="text/javascript" src="./typesafe_files/dojo.xd.js"></script><script type="text/javascript" charset="utf-8" src="./typesafe_files/script.xd.js"></script><script type="text/javascript" charset="utf-8" src="./typesafe_files/window.xd.js"></script><script type="text/javascript" src="./typesafe_files/getSupportedSitesJSON.action" id="sufioIoScript1" charset="utf-8"></script></head>
    <body>
      <div id="scalasolutions">
        <div id="container">

        <h1>  Welcome to Scalable Solutions, now a part of Typesafe.</h1>
<p>We are excited to tell you that the Scalable Solutions team has joined with Martin Odersky's group from Scala Solutions and several other leaders from the Scala and Akka communities to form a new, larger and stronger company called Typesafe, Inc. <a href="http://typesafe.com/company">Find out about the new company</a>.</p>

<p>Typesafe will continue to provide the range of products and services that we have previously provided as Scalable Solutions. At Typesafe we are expanding that range to include an open source software stack with Akka, Scala and associated developer tools. Typesafe will offer support and maintenance subscriptions, training and consulting services.</p>

<p>Scala and Akka are growing rapidly and you can expect to see many more products and services made available through Typesafe in the future.</p>
            <h1><a href="http://typesafe.com/"><img src="http://www.typesafe.com/public/images/logo.png"></a></h1>

            <a class="button" href="http://typesafe.com/">Go to home</a>
        </div>
        </div>


<sfmsg id="sfMsgId" data="{&quot;imageCount&quot;:0,&quot;ip&quot;:&quot;90.225.105.184&quot;}"></sfmsg></body></html>

--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.



--
Viktor Klang

Akka Tech Lead
Typesafe - Enterprise-Grade Scala from the Experts

Twitter: @viktorklang

Nick Kasvosve

unread,
May 21, 2011, 5:08:07 AM5/21/11
to akka...@googlegroups.com
I did. it staill happens in every project that refers to Akka

2011/5/21 √iktor Ҡlang <viktor...@gmail.com>

Nick Kasvosve

unread,
May 21, 2011, 5:17:47 AM5/21/11
to akka...@googlegroups.com

√iktor Ҡlang

unread,
May 21, 2011, 5:43:13 AM5/21/11
to akka...@googlegroups.com

Are you using the old scalablesolutions.se repository or the akka.io repository?

On May 21, 2011 11:17 AM, "Nick Kasvosve" <nkas...@gmail.com> wrote:
> On Sat, May 21, 2011 at 10:08 AM, Nick Kasvosve <nkas...@gmail.com> wrote:
>
>> I did. it staill happens in every project that refers to Akka
>>
>>
>> 2011/5/21 √iktor Ҡlang <viktor...@gmail.com>
>>
>>>
>>>
>>> On Sat, May 21, 2011 at 9:09 AM, Nick Kasvosve <nkas...@gmail.com>wrote:
>>>
>>>> *Ever single day I get this maven error related to my Akka, Scala and
>>>> TypeSafe:*

>>>>
>>>> Reason: Error getting POM for 'org.scala-tools:time' from the repository:
>>>> Unable to read local copy of metadata: Cannot read metadata from
>>>> 'C:\Users\compaq\.m2\
>>>> repository\org\scala-tools\time\2.8.0-0.2-SNAPSHOT\maven-metadata-Akka.xml':
>>>> attribute value must start with quotation or apostrophe not f (position:
>>>> START_DOCU
>>>> MENT seen <font color=f... @1:13)
>>>> org.scala-tools:time:pom:2.8.0-0.2-SNAPSHOT
>>>>
>>>
>>>
>>> Have you've tried wiping the .../time folder?
>>>
>>>
>>>>
>>>> *and the file refered to in my maven repositoy has this content: (*
>>> Typesafe <http://www.typesafe.com/> - Enterprise-Grade Scala from the

>>> Experts
>>>
>>> Twitter: @viktorklang
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Akka User List" group.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> akka-user+...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/akka-user?hl=en.
>>>
>>
>>
>

Peter Vlugter

unread,
May 21, 2011, 5:44:22 AM5/21/11
to akka...@googlegroups.com
Can you post the relevant parts of your pom.xml?

Has it just started since the scalablesolutions.se redirect was put in place?

Do you reference scalablesolutions.se/akka/repository in your pom?

Nick Kasvosve

unread,
May 21, 2011, 5:48:30 AM5/21/11
to akka...@googlegroups.com
I do. I do


        <dependency>
            <groupId>se.scalablesolutions.akka</groupId>
            <artifactId>akka-actor</artifactId>       
            <version>1.0-RC2</version>
            <exclusions>           
                        <exclusion>
                            <groupId>org.slf4j</groupId>
                            <artifactId>slf4j-api</artifactId>
                        </exclusion>                       
            </exclusions>                       
        </dependency>       
        <dependency>
          <groupId>se.scalablesolutions.akka</groupId>
            <artifactId>akka-persistence-redis</artifactId>       
            <version>1.0-RC2</version>
            <exclusions>           
                        <exclusion>
                            <groupId>org.slf4j</groupId>
                            <artifactId>slf4j-api</artifactId>
                        </exclusion>                       
            </exclusions>                       
        </dependency>               

       
<repositories>
        <repository>
            <id>Akka</id>
            <name>Akka Maven2 Repository</name>
            <url>http://www.scalablesolutions.se/akka/repository/ </url>
        </repository>
        ....
        ...
</repositories>

Peter Vlugter

unread,
May 21, 2011, 5:51:44 AM5/21/11
to akka...@googlegroups.com
Try using the http://akka.io/repository instead.

And you may want to update to version 1.0, or later on to 1.1

Let us know if that works.

Nick Kasvosve

unread,
May 21, 2011, 6:03:02 AM5/21/11
to akka...@googlegroups.com
Seems to work. Thanks a lot.
Reply all
Reply to author
Forward
0 new messages