Maven2 was unable to find
http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom

In short, your artifact with :
groupId com.ocpsoft
artifactId ocpsoft-base
version 1.0.0

doesn't exist in maven's public repository (if you try accessing the
URL in the error message, you'll get 404 errors.

BUT, you can download the jar file manually from here :
http://prettyfaces.googlecode.com/files/ocpsoft-pretty-faces-1.0.0.jar

save it on your disk, then install it manually by running :
mvn install:install-file -DgroupId=com.ocpsoft
-DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
-Dfile=/path/to/file

Should now compile.

Hope this helps.

Yves




2009/2/7 Lincoln Baxter, III <[email protected]>:
> Hi All,
>
> I am trying to run a build without installing my workspace dependencies
> into the local repository, however, I get this exception, and the build
> fails:
> How can I fix this? All projects required are in my workspace.
>
> I'm using Eclipse 3.4.
>
> Thanks,
> Lincoln
>
>
>
>
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Hibernate Data Base Package
> [INFO]
> [INFO] Id: com.ocpsoft:ocpsoft-data:jar:1.0.0
> [INFO] task-segment: [package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> url = http://repo1.maven.org/maven2
> Downloading:
> http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
> url = http://repo1.maven.org/maven2
> Downloading:
> http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom
> url = http://repo1.maven.org/maven2
> Downloading:
> http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.jar
> [ERROR]
>
> Transitive dependency resolution for scope: compile has failed for your
> project.
>
>
>
> Error message: Missing:
> ----------
> 1) com.ocpsoft:ocpsoft-base:jar:1.0.0
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=com.ocpsoft
> -DartifactId=ocpsoft-base -Dversion=1.0.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=com.ocpsoft
> -DartifactId=ocpsoft-base -Dversion=1.0.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.ocpsoft:ocpsoft-data:jar:1.0.0
>        2) com.ocpsoft:ocpsoft-base:jar:1.0.0
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  com.ocpsoft:ocpsoft-data:jar:1.0.0
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
> Group-Id: com.ocpsoft
> Artifact-Id: ocpsoft-data
> Version: 1.0.0
> >From file: /gentoo/home/lb3/Projects/ocpsoft-data/pom.xml
>
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run with the -e flag
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Sat Feb 07 16:48:04 EST 2009
> [INFO] Final Memory: 5M/80M
> [INFO]
> ------------------------------------------------------------------------
>

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

Reply via email to