missing artifact (was: CAS 3.2.1 Released)

Scott Battaglia scott.battaglia at gmail.com
Wed Apr 16 11:13:00 EDT 2008


Pat,

If you just type mvn package it will always try and retrieve them from the
repository first if they don't exist in the local repository. Its the way
maven works.  It doesn't differentiate between  what is in the zip or not.

I neglected to put the JARs in the repository so that's why you have a
problem.  You can just execute "mvn package install" at the parent directory
and it will execute all of the sub modules and install the jars. I'll be
posting the jars as soon as I can.

-Scott

On Wed, Apr 16, 2008 at 11:02 AM, Pat Hennessy <lists-cas at dtcc.edu> wrote:

>
> Scott,
>
> I got an error while trying to build the new version.  I'm wondering if
> I'm going about this the wrong way.  I downloaded the source, cd to
> cas-server-webapp, and run "mvn package".  It then proceeds to download
> a bunch of stuff.  I can understand downloading Spring stuff, but why
> would mvn download all these CAS jar files if I already downloaded the
> source.
>
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.jasig.cas:cas-server-core:jar:3.2.1
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.jasig.cas
> -DartifactId=cas-server-core \
>           -Dversion=3.2.1 -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.jasig.cas
> -DartifactId=cas-server-core \
>           -Dversion=3.2.1 -Dpackaging=jar -Dfile=/path/to/file \
>            -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1) org.jasig.cas:cas-server-webapp:war:3.2.1
>         2) org.jasig.cas:cas-server-core:jar:3.2.1
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>   org.jasig.cas:cas-server-webapp:war:3.2.1
>
> from the specified remote repositories:
>   jboss-maven2 (http://repository.jboss.com/maven2),
>   jasig-repository (http://developer.ja-sig.org/maven2),
>   jasig-snapshot (http://developer.ja-sig.org/maven2-snapshot),
>   central (http://repo1.maven.org/maven2)
>
>
>
> Thanks,
>
> Pat
>
> On 4/16/2008 8:17 AM, Scott Battaglia wrote:
> > Dear CAS Community,
> >
> > We're pleased to announce that CAS 3.2.1 has been released.  It fixes a
> > number of minor issues with the initial 3.2 release and offers a few
> > enhancements.  Please see the changelog here:
> >
> http://www.ja-sig.org/issues/secure/ReleaseNote.jspa?projectId=10007&styleName=Html&version=10512
> > <
> http://www.ja-sig.org/issues/secure/ReleaseNote.jspa?projectId=10007&styleName=Html&version=10512
> >
> >
> > You can download it from the usual spot:
> > http://www.jasig.org/products/cas/downloads/
> >
> > Thanks!
> > -Scott
> >
> > --
> > -Scott Battaglia
> > PGP Public Key Id: 0x383733AA
> > LinkedIn: http://www.linkedin.com/in/scottbattaglia
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Yale CAS mailing list
> > cas at tp.its.yale.edu
> > http://tp.its.yale.edu/mailman/listinfo/cas
>
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Pat Hennessy, RHCE                        (path at dtcc.edu)
>
> Senior Systems Specialist
> Division of Information and Educational Technology
> Delaware Technical and Community College
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>



-- 
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080416/67a576fc/attachment.html 


More information about the cas mailing list