Thanks Gilberto. I need to update the pom.xml file definition, but I'm waiting for Click to become an Apache Top-Level Project and use the 'regular' release and repository.
Cheers, Freddy On Tue, 5 Jan 2010 17:32:13 -0300, "Gilberto C. Andrade" <[email protected]> said: > After editing the clickbook-examples/clickpollapp/pom.xml file, > including: > <repositories> > <repository> > <id>Apache Snapshots Repo</id> > <url> > https://repository.apache.org/content/repositories/snapshots/</url> > </repository> > </repositories> > > and changing > <dependency> > <groupId>org.apache.click</groupId> > <artifactId>click</artifactId> > <version>2.1.0-SNAPSHOT</version> > </dependency> > <dependency> > <groupId>org.apache.click</groupId> > <artifactId>click-extras</artifactId> > <version>2.1.0-SNAPSHOT</version> > </dependency> > > to > > <dependency> > <groupId>org.apache.click</groupId> > <artifactId>click</artifactId> > <version>2.1.0-RC1-incubating</version> > </dependency> > <dependency> > <groupId>org.apache.click</groupId> > <artifactId>click-extras</artifactId> > <version>2.1.0-RC1-incubating</version> > </dependency> > > It works. > > Gilberto > > > On Tue, Jan 5, 2010 at 5:07 PM, Gilberto C. Andrade > <[email protected]>wrote: > > > Sorry, of course I'm studying the code example! > > > > Gilberto > > > > > > > > On Tue, Jan 5, 2010 at 5:05 PM, Gilberto C. Andrade > > <[email protected]>wrote: > > > >> Congratulations! > >> While my copy not arrive ... I'm getting these errors on mvn tomcat:run > >> > >> [INFO] > >> ------------------------------------------------------------------------ > >> [ERROR] BUILD ERROR > >> [INFO] > >> ------------------------------------------------------------------------ > >> [INFO] Failed to resolve artifact. > >> > >> Missing: > >> ---------- > >> 1) org.apache.shiro:shiro-core:jar:1.0-incubating-SNAPSHOT > >> > >> Try downloading the file manually from the project website. > >> > >> Then, install it using the command: > >> mvn install:install-file -DgroupId=org.apache.shiro > >> -DartifactId=shiro-core -Dversion=1.0-incubating-SNAPSHOT -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.apache.shiro > >> -DartifactId=shiro-core -Dversion=1.0-incubating-SNAPSHOT -Dpackaging=jar > >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > >> > >> Path to dependency: > >> 1) clickbook:clickpollapp:war:1.0-SNAPSHOT > >> 2) org.apache.shiro:shiro-core:jar:1.0-incubating-SNAPSHOT > >> > >> 2) org.apache.shiro:shiro-web:jar:1.0-incubating-SNAPSHOT > >> > >> Try downloading the file manually from the project website. > >> > >> Then, install it using the command: > >> mvn install:install-file -DgroupId=org.apache.shiro > >> -DartifactId=shiro-web -Dversion=1.0-incubating-SNAPSHOT -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.apache.shiro > >> -DartifactId=shiro-web -Dversion=1.0-incubating-SNAPSHOT -Dpackaging=jar > >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > >> > >> Path to dependency: > >> 1) clickbook:clickpollapp:war:1.0-SNAPSHOT > >> 2) org.apache.shiro:shiro-web:jar:1.0-incubating-SNAPSHOT > >> > >> > >> Thanks, > >> > >> Gilberto > >> > >> > >> > >> On Mon, Jan 4, 2010 at 11:33 PM, Freddy Daoud <[email protected]> wrote: > >> > >>> Dear friends, > >>> > >>> I've written a book about Click, entitled "Getting Started With Apache > >>> Click". > >>> > >>> You can find more details here: > >>> > >>> http://www.fdaoud.com/clickbook > >>> > >>> And you can find it for purchase here (paper, download): > >>> > >>> > >>> > >>> http://www.lulu.com/content/paperback-book/getting-started-with-apache-click/8155428 > >>> > >>> I hope you like it! > >>> > >>> Cheers, > >>> Freddy > >>> > >>> > >>> > >> > >
