[JIRA] Commented: (APF-1155) Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org

1 message Options
Embed this post
Permalink
AppFuse - Issues mailing list

[JIRA] Commented: (APF-1155) Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org

Reply Threaded More More options
Print post
Permalink

    [ http://issues.appfuse.org/browse/APF-1155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12710 ]

Christophe Thiébaud commented on APF-1155:
------------------------------------------

It works now.

What I did :

1. rm -rf .[user.home]/m2/repository
2. mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts-archetype -DarchetypeVersion=2.1-SNAPSHOT -DgroupId=org.appfuse -DartifactId=test -DpackageName=org.appfuse -DarchetypeRepository=http://oss.sonatype.org/content/groups/appfuse 
3. cd test
4. mvn install
BUILD ERROR
5. mvn install
BUILD SUCCESSFUL

I did not change anything between 4. mvn install and 5. mvn install. Weird, but eventually it worked.

thanks
Christophe







> Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org
> ------------------------------------------------------------------
>
>                 Key: APF-1155
>                 URL: http://issues.appfuse.org/browse/APF-1155
>             Project: AppFuse
>          Issue Type: Bug
>          Components: Build, Test, or Deploy Process
>    Affects Versions: 2.1
>            Reporter: Christophe Thiébaud
>            Assignee: Matt Raible
>            Priority: Minor
>         Attachments: appfuse_test.zip
>
>
> I am building my appfuse-based app against appfuse version 2.1-SNAPSHOT from http://oss.sonatype.org
> It used to work fine but today I have a weird error.
> I have been able to reproduce the error with a fresh new project generated from an archetype.
> Generation :
> mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-struts-archetype -DarchetypeVersion=2.1-SNAPSHOT -DgroupId=org.appfuse -DartifactId=test -DpackageName=org.appfuse
> Then "mvn clean install" gives the error:
> (..)
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) org.appfuse:appfuse-web-common:jar:2.1-SNAPSHOT
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.appfuse -DartifactId=appfuse-web-common -Dversion=2.1-20090121.101246-27 -Dpackaging=jar -Dfile
> =/path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=org.appfuse -DartifactId=appfuse-web-common -Dversion=2.1-20090121.101246-27 -Dpackaging=jar -Dfile=/
> path/to/file -Durl=[url] -DrepositoryId=[id]
>   Path to dependency:
>         1) org.appfuse:web:war:1.0-SNAPSHOT
>         2) org.appfuse:appfuse-web-common:jar:2.1-SNAPSHOT
> 2) opensymphony:clickstream:jar:${clickstream.version}
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=opensymphony -DartifactId=clickstream -Dversion=${clickstream.version} -Dpackaging=jar -Dfile=/path
> /to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=opensymphony -DartifactId=clickstream -Dversion=${clickstream.version} -Dpackaging=jar -Dfile=/path/t
> o/file -Durl=[url] -DrepositoryId=[id]
>   Path to dependency:
>         1) org.appfuse:web:war:1.0-SNAPSHOT
>         2) org.appfuse:appfuse-web-common:jar:2.1-SNAPSHOT
>         3) opensymphony:clickstream:jar:${clickstream.version}
> (...)
> see attachment appfuse_test.zip
> Looking at
> http://oss.sonatype.org/content/repositories/appfuse-snapshots/org/appfuse/appfuse-web-common/2.1-SNAPSHOT/maven-metadata.xml
> I see that the <versioning><snapshot><timestamp> is old : 20090121.101246
> I think this is the issue.
> Shouldn't the timestamp be 20090512.232832, the most recents jar and pom in this repo ?
> Thanks
> Christophe

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]