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 <[email protected]>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 <[email protected]> wrote:
>
> There's something just wrong about this....
>
> On Sun, Nov 1, 2009 at 10:06 AM, David Pollak <<[email protected]>
> [email protected]> 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 <<[email protected]>
>> [email protected]> 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< <[email protected]>[email protected]> 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 <<[email protected]>
>>> [email protected]>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>
>> http://liftweb.net
>> Beginning Scala <http://www.apress.com/book/view/1430219890>
>> http://www.apress.com/book/view/1430219890
>> Follow me: <http://twitter.com/dpp>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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to