I think I still don't get the source of issue. I had had never problems with downloading the trinidad dependencies via maven.
-Matthias On Nov 19, 2007 5:12 PM, David Heffelfinger <[EMAIL PROTECTED]> wrote: > FWIW, I was able to work around the issue by downloading the source for > Trinidad 1.2.3 and building it locally. > > An "mvn install" later, I had the 1.2.3 libraries in my local repository. > > David > > > > > On Nov 16, 2007 9:45 AM, David Heffelfinger <[EMAIL PROTECTED]> > wrote: > > Hello, > > > > I've been reading about Trinidad and it looks like a very nice component > library. I would like to give it a try. > > > > I would like to use the 1.2.x branch since I am using a server that > supports JSF 1.2 . > > > > Unfortunately, adding a dependency of trinidad 1.2 or later to my Maven 2 > pom.xml fails to retrieve the correct JARs from the maven repository. > > > > Here is the dependency declaration in my pom.xml: > > > > <dependencies> > > <dependency> > > <groupId>org.apache.myfaces.trinidad</groupId> > > <artifactId>trinidad</artifactId> > > <version>[1.2,)</version> > > </dependency> > > > > Here is the error message I get after mvn package: > > > > [ERROR] BUILD ERROR > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Failed to resolve artifact. > > > > Couldn't find a version in [ 1.0.4] to match range [1.2,) > > org.apache.myfaces.trinidad:trinidad:jar:null > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2 ) > > > > I looked at the maven-metadata.xml in the repository and it looks like > this: > > > > <?xml version="1.0" encoding="UTF-8"?><metadata > > > > > <groupId>org.apache.myfaces.trinidad</groupId> > > <artifactId>trinidad</ > > artifactId> > > <version>1.0.4</version> > > <versioning> > > <versions > > > > > <version>1.0.4</version> > > > > </versions> > > < > > lastUpdated>20071109100147</lastUpdated> > > </versioning> > > </metadata> > > It looks like the 1.2.x versions are not listed in this file, and I assume > this is why Maven is not able to retrieve them, even though they are in the > repository. > > > > Is there anything I can do so that Maven can pull the latest 1.2 version > from the Maven repository? > > > > Thanks, > > David R. Heffelfinger > > > > > > > > -- > > http://ensode.net - A Guide to Java, Linux and Other Technology Topics > > http://java-ee-5-glassfish.packtpub.com/ - Java EE 5 Development Using > GlassFish Application Server > > http://jasperreportsbook.packtpub.com - JasperReports For Java Developers > > > > -- > http://ensode.net - A Guide to Java, Linux and Other Technology Topics > http://java-ee-5-glassfish.packtpub.com/ - Java EE 5 Development Using > GlassFish Application Server > http://jasperreportsbook.packtpub.com - JasperReports For Java Developers -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

