Error mvn install on lift-actor

View: New views
11 Messages — Rating Filter:   Alert me  

Error mvn install on lift-actor

by Naftoli Gugenheim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What could be wrong?


C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift Actor
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
[INFO] [scala:compile {execution: scala-compile}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[INFO] Compiling 0 source files to C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
[INFO] Nothing to compile - all classes are up to date
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
[INFO] [scala:testCompile {execution: scala-testCompile}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[WARNING] No source files found.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
[INFO] [source:jar-no-fork {execution: default}]
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [install:install]
[INFO] Installing C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar to C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata

only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata
        at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
        ... 16 more
Caused by: org.apache.maven.artifact.installer.ArtifactInstallationException: Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata
        at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
        at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
        ... 18 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException: Error installing metadata: Error updating group repository metadata
        at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
        at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
        ... 19 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException: Error updating group
repository metadata
        at org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
        at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
        ... 20 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
        at hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
        at hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
        at hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
        at org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
        at org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
        at org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
        ... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
[INFO] Final Memory: 40M/357M
[INFO] ------------------------------------------------------------------------

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


Re: Error mvn install on lift-actor

by Indrajit Raychaudhuri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Parser failing for sure.
Hope your local repo isn't corrupt by some chance.

/IRC

On 01/11/09 9:24 AM, Naftoli Gugenheim wrote:

> What could be wrong?
>
>
> C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Lift Actor
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
> [INFO] [scala:compile {execution: scala-compile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] Compiling 0 source files to
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
> [INFO] [scala:testCompile {execution: scala-testCompile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [WARNING] No source files found.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
> -------------------------------------------------------
>   T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> [INFO] [source:jar-no-fork {execution: default}]
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [install:install]
> [INFO] Installing
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> to
> C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error installing artifact's metadata: Error installing metadata:
> Error updating group repository metadata
>
> only whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>          at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>          at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>          at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>          at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>          at java.lang.reflect.Method.invoke(Method.java:597)
>          at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>          at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>          at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>          at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> installing artifact's metadata: Error installing metadata: Error
> updating group repository metadata
>          at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
>          at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>          at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>          ... 16 more
> Caused by:
> org.apache.maven.artifact.installer.ArtifactInstallationException: Error
> installing artifact's metadata: Error installing metadata: Error
> updating group repository metadata
>          at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
>          at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
>          ... 18 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
> Error installing metadata: Error updating group repository metadata
>          at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
>          at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
>          ... 19 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
> Error updating group
> repository metadata
>          at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
>          at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
>          ... 20 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> only whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
>          at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
>          at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
>          at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
>          at
> org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
>          at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
>          at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
>          ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13 seconds
> [INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
> [INFO] Final Memory: 40M/357M
> [INFO]
> ------------------------------------------------------------------------
>
> >

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


Re: Error mvn install on lift-actor

by Josh Suereth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It looks like the pom is in a different encoding then maven expects.  That's a fun issue!  I would check maven's JIRA to see if someone else has reported this issue and has a workaround.

Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or UTF-16 encoding?   In either case, I would check the pom.xml for lift-actors in your local repo.  Pull it up in a text editor that will show you all characters and switch encodings.


- Josh

On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim <naftoligug@...> wrote:
What could be wrong?


C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
WAGON_VERSION: 1.0-beta-2
[INFO] ------------------------------------------------------------------------
[INFO] Building Lift Actor
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
[INFO] [scala:compile {execution: scala-compile}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[INFO] Compiling 0 source files to C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
[INFO] Nothing to compile - all classes are up to date
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
[INFO] [scala:testCompile {execution: scala-testCompile}]
[INFO] Checking for multiple versions of scala
[INFO] includes = [**/*.scala,**/*.java,]
[INFO] excludes = []
[WARNING] No source files found.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
[INFO] [source:jar-no-fork {execution: default}]
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [install:install]
[INFO] Installing C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar to C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata

only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata
        at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
        ... 16 more
Caused by: org.apache.maven.artifact.installer.ArtifactInstallationException: Error installing artifact's metadata: Error installing metadata: Error updating group repository metadata
        at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
        at org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
        ... 18 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException: Error installing metadata: Error updating group repository metadata
        at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
        at org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
        ... 19 more
Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException: Error updating group
repository metadata
        at org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
        at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
        ... 20 more
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only whitespace content allowed before start tag and not \u0 (position: START_DOCUMENT seen \u0... @1:1)
        at hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
        at hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
        at hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
        at org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
        at org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
        at org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
        ... 21 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13 seconds
[INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
[INFO] Final Memory: 40M/357M
[INFO] ------------------------------------------------------------------------




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


Re: Error mvn install on lift-actor

by Indrajit Raychaudhuri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Josh,

Of late, I have deploying/configuring Lift's POM files.
Have been using UTF-8 all along.

I have encountered this earlier while parsing XMLs (unrelated to Lift,
Maven). Don't recall how it got fixed :(

In this case, probably causes could be:
- different encoding of pom
- different line-ending (those pesky ^M)
- local repo corruption (can happen with failed/incomplete download of
dependencies)

Cheers, Indrajit


On 01/11/09 7:04 PM, Josh Suereth wrote:

> It looks like the pom is in a different encoding then maven expects.
> That's a fun issue!  I would check maven's JIRA to see if someone else
> has reported this issue and has a workaround.
>
> Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or
> UTF-16 encoding?   In either case, I would check the pom.xml for
> lift-actors in your local repo.  Pull it up in a text editor that will
> show you all characters and switch encodings.
>
>
> - Josh
>
> On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim
> <naftoligug@... <mailto:naftoligug@...>> wrote:
>
>     What could be wrong?
>
>
>     C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
>     + Error stacktraces are turned on.
>     [INFO] Scanning for projects...
>     WAGON_VERSION: 1.0-beta-2
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO] Building Lift Actor
>     [INFO]    task-segment: [install]
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO] [resources:resources]
>     [INFO] Using 'UTF-8' encoding to copy filtered resources.
>     [INFO] skip non existing resourceDirectory
>     C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
>     [INFO] [scala:compile {execution: scala-compile}]
>     [INFO] Checking for multiple versions of scala
>     [INFO] includes = [**/*.scala,**/*.java,]
>     [INFO] excludes = []
>     [INFO] Compiling 0 source files to
>     C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
>     [INFO] Nothing to compile - all classes are up to date
>     [INFO] [compiler:compile]
>     [INFO] Nothing to compile - all classes are up to date
>     [INFO] [resources:testResources]
>     [INFO] Using 'UTF-8' encoding to copy filtered resources.
>     [INFO] skip non existing resourceDirectory
>     C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
>     [INFO] [scala:testCompile {execution: scala-testCompile}]
>     [INFO] Checking for multiple versions of scala
>     [INFO] includes = [**/*.scala,**/*.java,]
>     [INFO] excludes = []
>     [WARNING] No source files found.
>     [INFO] [compiler:testCompile]
>     [INFO] No sources to compile
>     [INFO] [surefire:test]
>     [INFO] Surefire report directory:
>     C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
>     -------------------------------------------------------
>       T E S T S
>     -------------------------------------------------------
>     There are no tests to run.
>
>     Results :
>
>     Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
>     [INFO] [jar:jar]
>     [INFO] Building jar:
>     C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
>     [INFO] [source:jar-no-fork {execution: default}]
>     [INFO] [bundle:bundle {execution: default-bundle}]
>     [INFO] [install:install]
>     [INFO] Installing
>     C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
>     to
>     C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
>     [INFO]
>     ------------------------------------------------------------------------
>     [ERROR] BUILD ERROR
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO] Error installing artifact's metadata: Error installing
>     metadata: Error updating group repository metadata
>
>     only whitespace content allowed before start tag and not \u0
>     (position: START_DOCUMENT seen \u0... @1:1)
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO] Trace
>     org.apache.maven.lifecycle.LifecycleExecutionException: Error
>     installing artifact's metadata: Error installing metadata: Error
>     updating group repository metadata
>              at
>     org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>              at
>     org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>              at
>     org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>              at
>     org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>              at
>     org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>              at
>     org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>              at
>     org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>              at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>              at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>              at
>     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>              at
>     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>              at java.lang.reflect.Method.invoke(Method.java:597)
>              at
>     org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>              at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>              at
>     org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>              at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>     Caused by: org.apache.maven.plugin.MojoExecutionException: Error
>     installing artifact's metadata: Error installing metadata: Error
>     updating group repository metadata
>              at
>     org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
>              at
>     org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>              at
>     org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>              ... 16 more
>     Caused by:
>     org.apache.maven.artifact.installer.ArtifactInstallationException:
>     Error installing artifact's metadata: Error installing metadata:
>     Error updating group repository metadata
>              at
>     org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
>              at
>     org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
>              ... 18 more
>     Caused by:
>     org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
>     Error installing metadata: Error updating group repository metadata
>              at
>     org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
>              at
>     org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
>              ... 19 more
>     Caused by:
>     org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
>     Error updating group
>     repository metadata
>              at
>     org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
>              at
>     org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
>              ... 20 more
>     Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
>     only whitespace content allowed before start tag and not \u0
>     (position: START_DOCUMENT seen \u0... @1:1)
>              at
>     hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
>              at
>     hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
>              at
>     hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
>              at
>     org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
>              at
>     org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
>              at
>     org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
>              ... 21 more
>     [INFO]
>     ------------------------------------------------------------------------
>     [INFO] Total time: 13 seconds
>     [INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
>     [INFO] Final Memory: 40M/357M
>     [INFO]
>     ------------------------------------------------------------------------
>
>
>
>
> >

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


Parent Message unknown Re: Error mvn install on lift-actor

by Naftoli Gugenheim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


It can't be the POM -- it built it. It just couldn't install it. I wonder if it's related to the new structure. I emptied .m2/repository/new/liftweb and it seems to be working now.
Thanks.

-------------------------------------
Josh Suereth<joshua.suereth@...> wrote:

It looks like the pom is in a different encoding then maven expects.  That's
a fun issue!  I would check maven's JIRA to see if someone else has reported
this issue and has a workaround.

Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or
UTF-16 encoding?   In either case, I would check the pom.xml for lift-actors
in your local repo.  Pull it up in a text editor that will show you all
characters and switch encodings.


- Josh

On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim <naftoligug@...>wrote:

> What could be wrong?
>
>
> C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Lift Actor
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
> [INFO] [scala:compile {execution: scala-compile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] Compiling 0 source files to
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
> [INFO] [scala:testCompile {execution: scala-testCompile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [WARNING] No source files found.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> [INFO] [source:jar-no-fork {execution: default}]
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [install:install]
> [INFO] Installing
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> to
> C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error installing artifact's metadata: Error installing metadata:
> Error updating group repository metadata
>
> only whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by:
> org.apache.maven.artifact.installer.ArtifactInstallationException: Error
> installing artifact's metadata: Error installing metadata: Error updating
> group repository metadata
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
>         ... 18 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
> Error installing metadata: Error updating group repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
>         ... 19 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
> Error updating group
> repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
>         ... 20 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only
> whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
>         at
> org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
>         ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13 seconds
> [INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
> [INFO] Final Memory: 40M/357M
> [INFO]
> ------------------------------------------------------------------------
>
> >
>



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


Re: Error mvn install on lift-actor

by bearfeeder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah, I do rm -rf ~/.m2 about once a week.  Usually on Monday mornings just before I go make myself some tea.

On Sun, Nov 1, 2009 at 7:55 AM, Naftoli Gugenheim <naftoligug@...> wrote:

It can't be the POM -- it built it. It just couldn't install it. I wonder if it's related to the new structure. I emptied .m2/repository/new/liftweb and it seems to be working now.
Thanks.

-------------------------------------
Josh Suereth<joshua.suereth@...> wrote:

It looks like the pom is in a different encoding then maven expects.  That's
a fun issue!  I would check maven's JIRA to see if someone else has reported
this issue and has a workaround.

Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or
UTF-16 encoding?   In either case, I would check the pom.xml for lift-actors
in your local repo.  Pull it up in a text editor that will show you all
characters and switch encodings.


- Josh

On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim <naftoligug@...>wrote:

> What could be wrong?
>
>
> C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Lift Actor
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
> [INFO] [scala:compile {execution: scala-compile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] Compiling 0 source files to
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
> [INFO] [scala:testCompile {execution: scala-testCompile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [WARNING] No source files found.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> [INFO] [source:jar-no-fork {execution: default}]
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [install:install]
> [INFO] Installing
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> to
> C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error installing artifact's metadata: Error installing metadata:
> Error updating group repository metadata
>
> only whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by:
> org.apache.maven.artifact.installer.ArtifactInstallationException: Error
> installing artifact's metadata: Error installing metadata: Error updating
> group repository metadata
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
>         ... 18 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
> Error installing metadata: Error updating group repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
>         ... 19 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
> Error updating group
> repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
>         ... 20 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only
> whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
>         at
> org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
>         ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13 seconds
> [INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
> [INFO] Final Memory: 40M/357M
> [INFO]
> ------------------------------------------------------------------------
>
> >
>







--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

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


Re: Error mvn install on lift-actor

by Josh Suereth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There's something just wrong about this....

On Sun, Nov 1, 2009 at 10:06 AM, David Pollak <feeder.of.the.bears@...> wrote:
Yeah, I do rm -rf ~/.m2 about once a week.  Usually on Monday mornings just before I go make myself some tea.


On Sun, Nov 1, 2009 at 7:55 AM, Naftoli Gugenheim <naftoligug@...> wrote:

It can't be the POM -- it built it. It just couldn't install it. I wonder if it's related to the new structure. I emptied .m2/repository/new/liftweb and it seems to be working now.
Thanks.

-------------------------------------
Josh Suereth<joshua.suereth@...> wrote:

It looks like the pom is in a different encoding then maven expects.  That's
a fun issue!  I would check maven's JIRA to see if someone else has reported
this issue and has a workaround.

Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or
UTF-16 encoding?   In either case, I would check the pom.xml for lift-actors
in your local repo.  Pull it up in a text editor that will show you all
characters and switch encodings.


- Josh

On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim <naftoligug@...>wrote:

> What could be wrong?
>
>
> C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Lift Actor
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
> [INFO] [scala:compile {execution: scala-compile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] Compiling 0 source files to
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
> [INFO] [scala:testCompile {execution: scala-testCompile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [WARNING] No source files found.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> [INFO] [source:jar-no-fork {execution: default}]
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [install:install]
> [INFO] Installing
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> to
> C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error installing artifact's metadata: Error installing metadata:
> Error updating group repository metadata
>
> only whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by:
> org.apache.maven.artifact.installer.ArtifactInstallationException: Error
> installing artifact's metadata: Error installing metadata: Error updating
> group repository metadata
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
>         ... 18 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
> Error installing metadata: Error updating group repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
>         ... 19 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
> Error updating group
> repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
>         ... 20 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only
> whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
>         at
> org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
>         ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13 seconds
> [INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
> [INFO] Final Memory: 40M/357M
> [INFO]
> ------------------------------------------------------------------------
>
> >
>







--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics




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


Re: Error mvn install on lift-actor

by Timothy Perrett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry, but +1

Maven is a funny beast that needs some controlling but in my experience a little manual repo pruneing usually yeilds results :-)

 Cheers, Tim

Sent from my iPhone

On 2 Nov 2009, at 02:18, Josh Suereth <joshua.suereth@...> wrote:

There's something just wrong about this....

On Sun, Nov 1, 2009 at 10:06 AM, David Pollak <feeder.of.the.bears@...> wrote:
Yeah, I do rm -rf ~/.m2 about once a week.  Usually on Monday mornings just before I go make myself some tea.


On Sun, Nov 1, 2009 at 7:55 AM, Naftoli Gugenheim <naftoligug@...> wrote:

It can't be the POM -- it built it. It just couldn't install it. I wonder if it's related to the new structure. I emptied .m2/repository/new/liftweb and it seems to be working now.
Thanks.

-------------------------------------
Josh Suereth<joshua.suereth@...> wrote:

It looks like the pom is in a different encoding then maven expects.  That's
a fun issue!  I would check maven's JIRA to see if someone else has reported
this issue and has a workaround.

Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or
UTF-16 encoding?   In either case, I would check the pom.xml for lift-actors
in your local repo.  Pull it up in a text editor that will show you all
characters and switch encodings.


- Josh

On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim <naftoligug@...>wrote:

> What could be wrong?
>
>
> C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Lift Actor
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
> [INFO] [scala:compile {execution: scala-compile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] Compiling 0 source files to
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
> [INFO] [scala:testCompile {execution: scala-testCompile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [WARNING] No source files found.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> [INFO] [source:jar-no-fork {execution: default}]
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [install:install]
> [INFO] Installing
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> to
> C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error installing artifact's metadata: Error installing metadata:
> Error updating group repository metadata
>
> only whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by:
> org.apache.maven.artifact.installer.ArtifactInstallationException: Error
> installing artifact's metadata: Error installing metadata: Error updating
> group repository metadata
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
>         ... 18 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
> Error installing metadata: Error updating group repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
>         ... 19 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
> Error updating group
> repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
>         ... 20 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only
> whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
>         at
> org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
>         ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13 seconds
> [INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
> [INFO] Final Memory: 40M/357M
> [INFO]
> ------------------------------------------------------------------------
>
> >
>







--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics






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


Re: Error mvn install on lift-actor

by Josh Suereth :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

huh, perhaps if I was in active development with you guys, I'd have a better idea...

I know maven + -SNAPSHOT can cause fun for everyone ;)

Anyway, I wonder if maven has the ability to turn on checksuming now.  I know things like archiva and nexus can do that, but this might help you avoid problems in the future...

- Josh

On Mon, Nov 2, 2009 at 3:52 AM, Timothy Perrett <timothy@...> wrote:
Sorry, but +1

Maven is a funny beast that needs some controlling but in my experience a little manual repo pruneing usually yeilds results :-)

 Cheers, Tim

Sent from my iPhone

On 2 Nov 2009, at 02:18, Josh Suereth <joshua.suereth@...> wrote:

There's something just wrong about this....

On Sun, Nov 1, 2009 at 10:06 AM, David Pollak <feeder.of.the.bears@...feeder.of.the.bears@...> wrote:
Yeah, I do rm -rf ~/.m2 about once a week.  Usually on Monday mornings just before I go make myself some tea.


On Sun, Nov 1, 2009 at 7:55 AM, Naftoli Gugenheim <naftoligug@...naftoligug@...> wrote:

It can't be the POM -- it built it. It just couldn't install it. I wonder if it's related to the new structure. I emptied .m2/repository/new/liftweb and it seems to be working now.
Thanks.

-------------------------------------
Josh Suereth<joshua.suereth@...joshua.suereth@...> wrote:

It looks like the pom is in a different encoding then maven expects.  That's
a fun issue!  I would check maven's JIRA to see if someone else has reported
this issue and has a workaround.

Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or
UTF-16 encoding?   In either case, I would check the pom.xml for lift-actors
in your local repo.  Pull it up in a text editor that will show you all
characters and switch encodings.


- Josh

On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim <naftoligug@...naftoligug@...>wrote:

> What could be wrong?
>
>
> C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> WAGON_VERSION: 1.0-beta-2
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Lift Actor
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
> [INFO] [scala:compile {execution: scala-compile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [INFO] Compiling 0 source files to
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
> [INFO] [scala:testCompile {execution: scala-testCompile}]
> [INFO] Checking for multiple versions of scala
> [INFO] includes = [**/*.scala,**/*.java,]
> [INFO] excludes = []
> [WARNING] No source files found.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> There are no tests to run.
>
> Results :
>
> Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [jar:jar]
> [INFO] Building jar:
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> [INFO] [source:jar-no-fork {execution: default}]
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [install:install]
> [INFO] Installing
> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> to
> C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error installing artifact's metadata: Error installing metadata:
> Error updating group repository metadata
>
> only whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Error installing
> artifact's metadata: Error installing metadata: Error updating group
> repository metadata
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
>         ... 16 more
> Caused by:
> org.apache.maven.artifact.installer.ArtifactInstallationException: Error
> installing artifact's metadata: Error installing metadata: Error updating
> group repository metadata
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
>         at
> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
>         ... 18 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
> Error installing metadata: Error updating group repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
>         at
> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
>         ... 19 more
> Caused by:
> org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
> Error updating group
> repository metadata
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
>         at
> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
>         ... 20 more
> Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException: only
> whitespace content allowed before start tag and not \u0 (position:
> START_DOCUMENT seen \u0... @1:1)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
>         at
> hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
>         at
> org.apache.maven.artifact.repository.metadata.io.xpp3.MetadataXpp3Reader.read(MetadataXpp3Reader.java:949)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.updateRepositoryMetadata(AbstractRepositoryMetadata.java:98)
>         at
> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:68)
>         ... 21 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13 seconds
> [INFO] Finished at: Sat Oct 31 23:52:33 EDT 2009
> [INFO] Final Memory: 40M/357M
> [INFO]
> ------------------------------------------------------------------------
>
> >
>







--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics









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


Re: Error mvn install on lift-actor

by Randinn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I just had this occur as well with a basic archetype build, cleaned
out the local maven repo and still the same problem.

On Nov 2, 11:49 pm, Josh Suereth <joshua.suer...@...> wrote:

> huh, perhaps if I was in active development with you guys, I'd have a better
> idea...
>
> I know maven + -SNAPSHOT can cause fun for everyone ;)
>
> Anyway, I wonder if maven has the ability to turn on checksuming now.  I
> know things like archiva and nexus can do that, but this might help you
> avoid problems in the future...
>
> - Josh
>
> On Mon, Nov 2, 2009 at 3:52 AM, Timothy Perrett <timo...@...>wrote:
>
> > Sorry, but +1
>
> > Maven is a funny beast that needs some controlling but in my experience a
> > little manual repo pruneing usually yeilds results :-)
>
> >  Cheers, Tim
>
> > Sent from my iPhone
>
> > On 2 Nov 2009, at 02:18, Josh Suereth <joshua.suer...@...> wrote:
>
> > There's something just wrong about this....
>
> > On Sun, Nov 1, 2009 at 10:06 AM, David Pollak <<feeder.of.the.be...@...>
> > feeder.of.the.be...@...> wrote:
>
> >> Yeah, I do rm -rf ~/.m2 about once a week.  Usually on Monday mornings
> >> just before I go make myself some tea.
>
> >> On Sun, Nov 1, 2009 at 7:55 AM, Naftoli Gugenheim <<naftoli...@...>
> >> naftoli...@...> wrote:
>
> >>> It can't be the POM -- it built it. It just couldn't install it. I wonder
> >>> if it's related to the new structure. I emptied .m2/repository/new/liftweb
> >>> and it seems to be working now.
> >>> Thanks.
>
> >>> -------------------------------------
> >>> Josh Suereth< <joshua.suer...@...>joshua.suer...@...> wrote:
>
> >>> It looks like the pom is in a different encoding then maven expects.
> >>>  That's
> >>> a fun issue!  I would check maven's JIRA to see if someone else has
> >>> reported
> >>> this issue and has a workaround.
>
> >>> Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or
> >>> UTF-16 encoding?   In either case, I would check the pom.xml for
> >>> lift-actors
> >>> in your local repo.  Pull it up in a text editor that will show you all
> >>> characters and switch encodings.
>
> >>> - Josh
>
> >>> On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim <<naftoli...@...>
> >>> naftoli...@...>wrote:
>
> >>> > What could be wrong?
>
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
> >>> > + Error stacktraces are turned on.
> >>> > [INFO] Scanning for projects...
> >>> > WAGON_VERSION: 1.0-beta-2
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [INFO] Building Lift Actor
> >>> > [INFO]    task-segment: [install]
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [INFO] [resources:resources]
> >>> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >>> > [INFO] skip non existing resourceDirectory
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
> >>> > [INFO] [scala:compile {execution: scala-compile}]
> >>> > [INFO] Checking for multiple versions of scala
> >>> > [INFO] includes = [**/*.scala,**/*.java,]
> >>> > [INFO] excludes = []
> >>> > [INFO] Compiling 0 source files to
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
> >>> > [INFO] Nothing to compile - all classes are up to date
> >>> > [INFO] [compiler:compile]
> >>> > [INFO] Nothing to compile - all classes are up to date
> >>> > [INFO] [resources:testResources]
> >>> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >>> > [INFO] skip non existing resourceDirectory
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
> >>> > [INFO] [scala:testCompile {execution: scala-testCompile}]
> >>> > [INFO] Checking for multiple versions of scala
> >>> > [INFO] includes = [**/*.scala,**/*.java,]
> >>> > [INFO] excludes = []
> >>> > [WARNING] No source files found.
> >>> > [INFO] [compiler:testCompile]
> >>> > [INFO] No sources to compile
> >>> > [INFO] [surefire:test]
> >>> > [INFO] Surefire report directory:
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
> >>> > -------------------------------------------------------
> >>> >  T E S T S
> >>> > -------------------------------------------------------
> >>> > There are no tests to run.
>
> >>> > Results :
>
> >>> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> >>> > [INFO] [jar:jar]
> >>> > [INFO] Building jar:
>
> >>> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> >>> > [INFO] [source:jar-no-fork {execution: default}]
> >>> > [INFO] [bundle:bundle {execution: default-bundle}]
> >>> > [INFO] [install:install]
> >>> > [INFO] Installing
>
> >>> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> >>> > to
>
> >>> C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [ERROR] BUILD ERROR
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [INFO] Error installing artifact's metadata: Error installing metadata:
> >>> > Error updating group repository metadata
>
> >>> > only whitespace content allowed before start tag and not \u0 (position:
> >>> > START_DOCUMENT seen \u0... @1:1)
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [INFO] Trace
> >>> > org.apache.maven.lifecycle.LifecycleExecutionException: Error
> >>> installing
> >>> > artifact's metadata: Error installing metadata: Error updating group
> >>> > repository metadata
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
> >>> >         at
> >>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> >>> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> >>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
> >>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>> >         at
>
> >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>> >         at
>
> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >>> >         at
> >>> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >>> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >>> >         at
> >>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >>> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >>> > Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> >>> installing
> >>> > artifact's metadata: Error installing metadata: Error updating group
> >>> > repository metadata
> >>> >         at
>
> >>> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
> >>> >         at
>
> >>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
> >>> >         ... 16 more
> >>> > Caused by:
> >>> > org.apache.maven.artifact.installer.ArtifactInstallationException:
> >>> Error
> >>> > installing artifact's metadata: Error installing metadata: Error
> >>> updating
> >>> > group repository metadata
> >>> >         at
>
> >>> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
> >>> >         at
>
> >>> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
> >>> >         ... 18 more
> >>> > Caused by:
>
> >>> org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
> >>> > Error installing metadata: Error updating group repository metadata
> >>> >         at
>
> >>> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
> >>> >         at
>
> >>> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
> >>> >         ... 19 more
> >>> > Caused by:
>
> >>> org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
> >>> > Error updating group
> >>> > repository metadata
> >>> >         at
>
> >>> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
> >>> >         at
>
> >>> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
> >>> >         ... 20 more
> >>> > Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> >>> only
> >>> > whitespace content allowed before start tag and not \u0 (position:
> >>> > START_DOCUMENT seen \u0... @1:1)
> >>> >         at
>
> >>> hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
> >>> >         at
>
> >>> hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
> >>> >         at
>
> >>> hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
> >>> >         at
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb@...
To unsubscribe from this group, send email to liftweb+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Error mvn install on lift-actor

by Naftoli Gugenheim :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It wasn't able to read the local repository data, and deleting .m2/ didn't help?

On Tue, Nov 3, 2009 at 12:09 AM, Randinn <randinn@...> wrote:

I just had this occur as well with a basic archetype build, cleaned
out the local maven repo and still the same problem.

On Nov 2, 11:49 pm, Josh Suereth <joshua.suer...@...> wrote:
> huh, perhaps if I was in active development with you guys, I'd have a better
> idea...
>
> I know maven + -SNAPSHOT can cause fun for everyone ;)
>
> Anyway, I wonder if maven has the ability to turn on checksuming now.  I
> know things like archiva and nexus can do that, but this might help you
> avoid problems in the future...
>
> - Josh
>
> On Mon, Nov 2, 2009 at 3:52 AM, Timothy Perrett <timo...@...>wrote:
>
> > Sorry, but +1
>
> > Maven is a funny beast that needs some controlling but in my experience a
> > little manual repo pruneing usually yeilds results :-)
>
> >  Cheers, Tim
>
> > Sent from my iPhone
>
> > On 2 Nov 2009, at 02:18, Josh Suereth <joshua.suer...@...> wrote:
>
> > There's something just wrong about this....
>
> > On Sun, Nov 1, 2009 at 10:06 AM, David Pollak <<feeder.of.the.be...@...>
> > feeder.of.the.be...@...> wrote:
>
> >> Yeah, I do rm -rf ~/.m2 about once a week.  Usually on Monday mornings
> >> just before I go make myself some tea.
>
> >> On Sun, Nov 1, 2009 at 7:55 AM, Naftoli Gugenheim <<naftoli...@...>
> >> naftoli...@...> wrote:
>
> >>> It can't be the POM -- it built it. It just couldn't install it. I wonder
> >>> if it's related to the new structure. I emptied .m2/repository/new/liftweb
> >>> and it seems to be working now.
> >>> Thanks.
>
> >>> -------------------------------------
> >>> Josh Suereth< <joshua.suer...@...>joshua.suer...@...> wrote:
>
> >>> It looks like the pom is in a different encoding then maven expects.
> >>>  That's
> >>> a fun issue!  I would check maven's JIRA to see if someone else has
> >>> reported
> >>> this issue and has a workaround.
>
> >>> Who is deploying/configuring Lift's POM files?   Are you using UTF-8 or
> >>> UTF-16 encoding?   In either case, I would check the pom.xml for
> >>> lift-actors
> >>> in your local repo.  Pull it up in a text editor that will show you all
> >>> characters and switch encodings.
>
> >>> - Josh
>
> >>> On Sat, Oct 31, 2009 at 10:54 PM, Naftoli Gugenheim <<naftoli...@...>
> >>> naftoli...@...>wrote:
>
> >>> > What could be wrong?
>
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor>mvn -e install
> >>> > + Error stacktraces are turned on.
> >>> > [INFO] Scanning for projects...
> >>> > WAGON_VERSION: 1.0-beta-2
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [INFO] Building Lift Actor
> >>> > [INFO]    task-segment: [install]
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [INFO] [resources:resources]
> >>> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >>> > [INFO] skip non existing resourceDirectory
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\main\resources
> >>> > [INFO] [scala:compile {execution: scala-compile}]
> >>> > [INFO] Checking for multiple versions of scala
> >>> > [INFO] includes = [**/*.scala,**/*.java,]
> >>> > [INFO] excludes = []
> >>> > [INFO] Compiling 0 source files to
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\classes
> >>> > [INFO] Nothing to compile - all classes are up to date
> >>> > [INFO] [compiler:compile]
> >>> > [INFO] Nothing to compile - all classes are up to date
> >>> > [INFO] [resources:testResources]
> >>> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> >>> > [INFO] skip non existing resourceDirectory
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor\src\test\resources
> >>> > [INFO] [scala:testCompile {execution: scala-testCompile}]
> >>> > [INFO] Checking for multiple versions of scala
> >>> > [INFO] includes = [**/*.scala,**/*.java,]
> >>> > [INFO] excludes = []
> >>> > [WARNING] No source files found.
> >>> > [INFO] [compiler:testCompile]
> >>> > [INFO] No sources to compile
> >>> > [INFO] [surefire:test]
> >>> > [INFO] Surefire report directory:
> >>> > C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\surefire-reports
>
> >>> > -------------------------------------------------------
> >>> >  T E S T S
> >>> > -------------------------------------------------------
> >>> > There are no tests to run.
>
> >>> > Results :
>
> >>> > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
>
> >>> > [INFO] [jar:jar]
> >>> > [INFO] Building jar:
>
> >>> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> >>> > [INFO] [source:jar-no-fork {execution: default}]
> >>> > [INFO] [bundle:bundle {execution: default-bundle}]
> >>> > [INFO] [install:install]
> >>> > [INFO] Installing
>
> >>> C:\dev\gitrepo\liftweb\lift-base\lift-actor\target\lift-actor-1.1-SNAPSHOT.jar
> >>> > to
>
> >>> C:\Users\Naftoli\.m2\repository\net\liftweb\lift-actor\1.1-SNAPSHOT\lift-actor-1.1-SNAPSHOT.jar
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [ERROR] BUILD ERROR
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [INFO] Error installing artifact's metadata: Error installing metadata:
> >>> > Error updating group repository metadata
>
> >>> > only whitespace content allowed before start tag and not \u0 (position:
> >>> > START_DOCUMENT seen \u0... @1:1)
> >>> > [INFO]
>
> >>> ------------------------------------------------------------------------
> >>> > [INFO] Trace
> >>> > org.apache.maven.lifecycle.LifecycleExecutionException: Error
> >>> installing
> >>> > artifact's metadata: Error installing metadata: Error updating group
> >>> > repository metadata
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:519)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
> >>> >         at
> >>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
> >>> >         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
> >>> >         at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
> >>> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >>> >         at
>
> >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> >>> >         at
>
> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> >>> >         at java.lang.reflect.Method.invoke(Method.java:597)
> >>> >         at
> >>> > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> >>> >         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> >>> >         at
> >>> > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >>> >         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >>> > Caused by: org.apache.maven.plugin.MojoExecutionException: Error
> >>> installing
> >>> > artifact's metadata: Error installing metadata: Error updating group
> >>> > repository metadata
> >>> >         at
>
> >>> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:143)
> >>> >         at
>
> >>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
> >>> >         at
>
> >>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
> >>> >         ... 16 more
> >>> > Caused by:
> >>> > org.apache.maven.artifact.installer.ArtifactInstallationException:
> >>> Error
> >>> > installing artifact's metadata: Error installing metadata: Error
> >>> updating
> >>> > group repository metadata
> >>> >         at
>
> >>> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:123)
> >>> >         at
>
> >>> org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:105)
> >>> >         ... 18 more
> >>> > Caused by:
>
> >>> org.apache.maven.artifact.repository.metadata.RepositoryMetadataInstallationException:
> >>> > Error installing metadata: Error updating group repository metadata
> >>> >         at
>
> >>> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:462)
> >>> >         at
>
> >>> org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:111)
> >>> >         ... 19 more
> >>> > Caused by:
>
> >>> org.apache.maven.artifact.repository.metadata.RepositoryMetadataStoreException:
> >>> > Error updating group
> >>> > repository metadata
> >>> >         at
>
> >>> org.apache.maven.artifact.repository.metadata.AbstractRepositoryMetadata.storeInLocalRepository(AbstractRepositoryMetadata.java:76)
> >>> >         at
>
> >>> org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.install(DefaultRepositoryMetadataManager.java:458)
> >>> >         ... 20 more
> >>> > Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
> >>> only
> >>> > whitespace content allowed before start tag and not \u0 (position:
> >>> > START_DOCUMENT seen \u0... @1:1)
> >>> >         at
>
> >>> hidden.org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1519)
> >>> >         at
>
> >>> hidden.org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1395)
> >>> >         at
>
> >>> hidden.org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1093)
> >>> >         at
>
> ...
>
> read more »



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