You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Sean Sullivan <se...@seansullivan.com> on 2007/07/01 22:29:10 UTC

Maven build error (?)

I just updated from the trunk and now I have a Maven error.

Is anybody else having this problem?


C:\wicket>mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Wicket Parent
[INFO]   Wicket JDK 1.4 modules
[INFO]   Wicket
[INFO]   Wicket Extensions
[INFO]   Wicket IoC common code
[INFO]   Wicket Spring Integration
[INFO]   Wicket Quickstart
[INFO]   Wicket Date/Time
[INFO]   Wicket Velocity
[INFO]   Wicket JDK 1.5 modules
[INFO]   Wicket Auth Roles
[INFO]   Wicket Guice Integration
[INFO]   Wicket JMX
[INFO]   Wicket Objects Sizeof Agent
[INFO]   Wicket Spring Integration through Annotations
[INFO]   Wicket Examples
[INFO]   Wicket Quickstart Archetype
[INFO]   Wicket Thread Test
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Wicket Parent
[INFO]    task-segment: [clean, install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory C:\wicket\target
[INFO] Deleting directory C:\wicket\target\classes
[INFO] Deleting directory C:\wicket\target\test-classes
[INFO] [site:attach-descriptor]
[INFO] Preparing javadoc:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive
invocation.
[INFO] No goals needed for project - skipping
Downloading:
http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.0/slf4j-l
og4j12-1.4.0.pom
Downloading:
http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.4.0/slf4j-api-1
.4.0.pom
Downloading:
http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.4.0/slf4j-api-1
.4.0.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.slf4j:slf4j-api:jar:1.4.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.slf4j -DartifactId=slf4j-api \
          -Dversion=1.4.0 -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.slf4j -DartifactId=slf4j-api \
          -Dversion=1.4.0 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.wicket:wicket-parent:pom:1.3.0-SNAPSHOT
        2) org.slf4j:slf4j-api:jar:1.4.0

----------
1 required artifact is missing.

for artifact:
  org.apache.wicket:wicket-parent:pom:1.3.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Sun Jul 01 13:23:52 PDT 2007
[INFO] Final Memory: 8M/14M
[INFO]
------------------------------------------------------------------------

Re: Maven build error (?)

Posted by Sean Sullivan <se...@seansullivan.com>.
Nevermind.  This was a firewall issue.  My firewall was blocking access to
the remote Maven repository.

On 7/1/07, Sean Sullivan <se...@seansullivan.com> wrote:
>
>
> I just updated from the trunk and now I have a Maven error.
>
> Is anybody else having this problem?
>
>
> C:\wicket>mvn clean install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   Wicket Parent
> [INFO]   Wicket JDK 1.4 modules
> [INFO]   Wicket
> [INFO]   Wicket Extensions
> [INFO]   Wicket IoC common code
> [INFO]   Wicket Spring Integration
> [INFO]   Wicket Quickstart
> [INFO]   Wicket Date/Time
> [INFO]   Wicket Velocity
> [INFO]   Wicket JDK 1.5 modules
> [INFO]   Wicket Auth Roles
> [INFO]   Wicket Guice Integration
> [INFO]   Wicket JMX
> [INFO]   Wicket Objects Sizeof Agent
> [INFO]   Wicket Spring Integration through Annotations
> [INFO]   Wicket Examples
> [INFO]   Wicket Quickstart Archetype
> [INFO]   Wicket Thread Test
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building Wicket Parent
> [INFO]    task-segment: [clean, install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\wicket\target
> [INFO] Deleting directory C:\wicket\target\classes
> [INFO] Deleting directory C:\wicket\target\test-classes
> [INFO] [site:attach-descriptor]
> [INFO] Preparing javadoc:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive
> invocation.
> [INFO] No goals needed for project - skipping
> Downloading:
> http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.0/slf4j-l
> og4j12-1.4.0.pom
> Downloading: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.4.0/slf4j-api-1
>
> .4.0.pom
> Downloading:
> http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.4.0/slf4j-api-1
> .4.0.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.slf4j:slf4j-api:jar:1.4.0
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.slf4j -DartifactId=slf4j-api
> \
>           -Dversion=1.4.0 -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.slf4j -DartifactId=slf4j-api \
>           -Dversion=1.4.0 -Dpackaging=jar -Dfile=/path/to/file \
>            -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1) org.apache.wicket:wicket-parent:pom:1.3.0-SNAPSHOT
>         2) org.slf4j:slf4j-api:jar:1.4.0
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   org.apache.wicket:wicket-parent:pom:1.3.0-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 7 seconds
> [INFO] Finished at: Sun Jul 01 13:23:52 PDT 2007
> [INFO] Final Memory: 8M/14M
> [INFO]
> ------------------------------------------------------------------------
>
>
>