[Lift] Re: Error mvn install on lift-actor
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 rand...@gmail.com 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...@gmail.com 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...@getintheloop.eu 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...@gmail.com wrote: There's something just wrong about this On Sun, Nov 1, 2009 at 10:06 AM, David Pollak feeder.of.the.be...@gmail.com feeder.of.the.be...@gmail.com 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...@gmail.com naftoli...@gmail.com 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...@gmail.comjoshua.suer...@gmail.com 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...@gmail.com naftoli...@gmail.comwrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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]
[Lift] Re: Error mvn install on lift-actor
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...@gmail.com wrote: There's something just wrong about this On Sun, Nov 1, 2009 at 10:06 AM, David Pollak feeder.of.the.be...@gmail.com 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...@gmail.com 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 Suerethjoshua.suer...@gmail.com 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...@gmail.com wrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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)
[Lift] Re: Error mvn install on lift-actor
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...@getintheloop.euwrote: 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...@gmail.com wrote: There's something just wrong about this On Sun, Nov 1, 2009 at 10:06 AM, David Pollak feeder.of.the.be...@gmail.com feeder.of.the.be...@gmail.com 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...@gmail.com naftoli...@gmail.com 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...@gmail.comjoshua.suer...@gmail.com 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...@gmail.com naftoli...@gmail.comwrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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
[Lift] Re: Error mvn install on lift-actor
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...@gmail.com 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...@getintheloop.euwrote: 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...@gmail.com wrote: There's something just wrong about this On Sun, Nov 1, 2009 at 10:06 AM, David Pollak feeder.of.the.be...@gmail.com feeder.of.the.be...@gmail.com 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...@gmail.com naftoli...@gmail.com 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...@gmail.comjoshua.suer...@gmail.com 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...@gmail.com naftoli...@gmail.comwrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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]
[Lift] Re: Error mvn install on lift-actor
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-actormvn -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)
[Lift] Re: Error mvn install on lift-actor
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...@gmail.comwrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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
[Lift] Re: Error mvn install on lift-actor
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 naftoli...@gmail.com mailto:naftoli...@gmail.com wrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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
[Lift] Re: Error mvn install on lift-actor
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 Suerethjoshua.suer...@gmail.com 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...@gmail.comwrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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
[Lift] Re: Error mvn install on lift-actor
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...@gmail.comwrote: 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 Suerethjoshua.suer...@gmail.com 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...@gmail.com wrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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
[Lift] Re: Error mvn install on lift-actor
There's something just wrong about this On Sun, Nov 1, 2009 at 10:06 AM, David Pollak feeder.of.the.be...@gmail.com 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...@gmail.comwrote: 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 Suerethjoshua.suer...@gmail.com 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...@gmail.com wrote: What could be wrong? C:\dev\gitrepo\liftweb\lift-base\lift-actormvn -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