Re: Update Documentation: Including install procedure
Michael Nash <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Organization | JGlobal Limited |
| Message-ID | <[email protected]> |
Max: Ok - the error is trying to say that there's a jar that refers to a copy of keel-client version 2.0. The current rev of keel-client is 2.1, so there must be an old jar file. Try this: go to your local repository (wherever you've set it with maven.repo.local), and find the "keel" sub-directory. Delete everything inside it. Then go back to the default project and try keel:maven again. I think what may have happened is that you have an out-of-date jar that is still referring to the old keel-client. If Maven thinks you've got the latest, it won't get a fresh one from the remote repository - but if you delete it, that "forces a refresh" so to speak. I suspect this was caused by my early experiments where I deployed a new copy of a jar without properly incrementing the version number - which I've now learned is a no-no :-) Mike On Tue, 2005-02-22 at 00:11, Max wrote: > Hi Mike, > > When I ran maven keel:maven the first time it downloaded a whole bunch > of dependencies. I tried running maven and it did nothing. Then maven > keel:maven again with the same error. Below is the output. > > Max > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. > > D:\Proj\JyotishApplications\AstroMatch\keel-cvs\keel-build\example-projects\default>maven > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.2 > > BUILD SUCCESSFUL > Total time: 8 seconds > Finished at: Tue Feb 22 07:07:24 CAT 2005 > > D:\Proj\JyotishApplications\AstroMatch\keel-cvs\keel-build\example-projects\default>maven > keel:maven > __ __ > | \/ |__ _Apache__ ___ > | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ > |_| |_\__,_|\_/\___|_||_| v. 1.0.2 > > build:start: > > keel:maven: > keel:check-environment: > > [java] java.lang.IllegalArgumentException: Indirect reference to > keel-client-2.0, but this file not downloaded. > [java] at KeelMavenTool.addDependencies(KeelMavenTool.java:510) > [java] at > KeelMavenTool.addDependenciesFromJar(KeelMavenTool.java:389) > [java] at KeelMavenTool.run(KeelMavenTool.java:259) > [java] at KeelMavenTool.main(KeelMavenTool.java:86) > > BUILD FAILED > File...... C:\Documents and > Settings\Franz\.maven\cache\maven-keel-plugin-1.2.0\plugin.jelly > Element... java > Line...... 144 > Column.... 58 > Java returned: 1 > Total time: 6 seconds > Finished at: Tue Feb 22 07:07:56 CAT 2005 > > >Max: > > > >Try doing just "maven" in the default project dir. This should then go > >out & d/l all dependencies, at which point the maven keel:maven should > >work OK. Not sure why it's not doing this itself... > > > >Mike > > > >On Mon, 2005-02-21 at 15:32, Max wrote: > > > > > >>Hi Mike, > >> > >>Definitely Maven 1.0.2 > >> > >>Max > >> > >> > Are you on Maven 1.0.2? (Do a "maven -v" to see). 1.0 had a bug with > >> > plugin dependencies, as far as I can see, which does exactly the below. > >>http://keelframework.org/documentation.shtml > >>Keelgroup mailing list > >>[email protected] > >>http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com > >> > >> > > > >http://keelframework.org/documentation.shtml > >Keelgroup mailing list > >[email protected] > >http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com > > > > > > > > > > > > http://keelframework.org/documentation.shtml > Keelgroup mailing list > [email protected] > http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com