A robust starter web application to ease Java webapp development.

Home | Tutorials | Demos | Issues

Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org

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

Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org

by Thiebaud, Christophe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

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}

----------

Looking at
http://oss.sonatype.org/content/repositories/appfuse-snapshots/org/appfu
se/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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is likely because there hasn't been a recent deployment to oss.sonatype.org. I'll get one done today and respond to this message after it's complete.

Matt

On Mon, Jun 8, 2009 at 4:43 AM, Thiebaud, Christophe <christophe.thiebaud@...> wrote:
Hi all,

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}

----------

Looking at
http://oss.sonatype.org/content/repositories/appfuse-snapshots/org/appfu
se/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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...



Re: Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Should be fixed now. Let me know if it still doesn't work for you.

Thanks,

Matt

On Mon, Jun 8, 2009 at 8:53 AM, Matt Raible <matt@...> wrote:
This is likely because there hasn't been a recent deployment to oss.sonatype.org. I'll get one done today and respond to this message after it's complete.

Matt


On Mon, Jun 8, 2009 at 4:43 AM, Thiebaud, Christophe <christophe.thiebaud@...> wrote:
Hi all,

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}

----------

Looking at
http://oss.sonatype.org/content/repositories/appfuse-snapshots/org/appfu
se/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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...




Re: Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org

by Irshad Buchh :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Thiebaud,
We try this:
mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-spring-archetype -DarchetypeVersion=2.1-SNAPSHOT -DgroupId=org.appfuse -DartifactId=test -DpackageName=org.appfuse -DarchetypeRepository=http://oss.sonatype.org/content/groups/appfuse/

We get errors:

[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] The desired archetype does not exist (org.appfuse.archetypes:appfuse-spring-archetype:2.1-SNAPSHOT)
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: The desired archetype does not exist (org.appfuse.archetypes:appfuse-spring-archetype:2.1-SNAPSHOT)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)

Are we missing somethig.

--Ir
Thiebaud, Christophe wrote:
Hi all,

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}

----------

Looking at
http://oss.sonatype.org/content/repositories/appfuse-snapshots/org/appfu
se/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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@appfuse.dev.java.net
For additional commands, e-mail: users-help@appfuse.dev.java.net

Re: Build error with appfuse 2.1-SNAPSHOT from http://oss.sonatype.org

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The archetype name has changed to appfuse-basic-spring-archetype. The following should work:

mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes \
-DarchetypeArtifactId=appfuse-basic-spring-archetype \
-DarchetypeVersion=2.1-SNAPSHOT -DgroupId=org.appfuse -DartifactId=test \
-DpackageName=org.appfuse \
-DarchetypeRepository=http://oss.sonatype.org/content/groups/appfuse/

Matt

On Sat, Jun 13, 2009 at 5:36 AM, Irshad Buchh <ibuchh@...> wrote:

Hi Thiebaud,
We try this:
mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes
-DarchetypeArtifactId=appfuse-spring-archetype
-DarchetypeVersion=2.1-SNAPSHOT -DgroupId=org.appfuse -DartifactId=test
-DpackageName=org.appfuse
-DarchetypeRepository=http://oss.sonatype.org/content/groups/appfuse/

We get errors:

[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] The desired archetype does not exist
(org.appfuse.archetypes:appfuse-spring-archetype:2.1-SNAPSHOT)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: The desired archetype does not exist
(org.appfuse.archetypes:appfuse-spring-archetype:2.1-SNAPSHOT)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:699)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)

Are we missing somethig.

--Ir

Thiebaud, Christophe wrote:
>
> Hi all,
>
> 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}
>
> ----------
>
> Looking at
> http://oss.sonatype.org/content/repositories/appfuse-snapshots/org/appfu
> se/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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>
>

--
View this message in context: http://www.nabble.com/Build-error-with-appfuse-2.1-SNAPSHOT-from-http%3A--oss.sonatype.org-tp23925448s2369p24011698.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...