You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jeremy Villalobos <je...@gmail.com> on 2013/06/30 22:51:00 UTC

Tapestry 5 Hotel Booking

Hello:

I downloaded the demo Tapestr5-hotel-booking to run it in my machine and
continue studying the Tapestry 5 development process.

I am running Ubuntu 12.04
Java 7
Mvn 3.0.4

Opening the project in Eclipse shows the exclamation point on the project
(dependency project) and an error on the pom.xm, but no specifics of where
the error is.

Running

mvn install

On the command line, on the project gets me the error:

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for com.tap5.hotelbooking:tapestry5-hotel-booking:war:1.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 107,
column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 141,
column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building tapestry5-hotel-booking Tapestry 5 Application 1.2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://tapestry.formos.com/maven-repository/com/google/code/kaptcha/kaptcha/2.3/kaptcha-2.3.pom
Downloading:
http://tapestry.formos.com/maven-snapshot-repository/com/google/code/kaptcha/kaptcha/2.3/kaptcha-2.3.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:08.127s
[INFO] Finished at: Sun Jun 30 16:41:29 EDT 2013
[INFO] Final Memory: 8M/360M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project tapestry5-hotel-booking: Could
not resolve dependencies for project
com.tap5.hotelbooking:tapestry5-hotel-booking:war:1.2-SNAPSHOT: Failed to
collect dependencies for [org.apache.tapestry:tapestry-core:jar:5.3.6
(compile), org.testng:testng:jar:5.13.1 (test),
org.easymock:easymock:jar:2.4 (test),
org.apache.tapestry:tapestry-hibernate:jar:5.3.6 (compile),
org.apache.tapestry:tapestry-kaptcha:jar:5.3.6 (compile),
com.h2database:h2:jar:1.2.142 (compile),
org.hibernate:hibernate-validator:jar:4.0.2.GA (compile),
org.apache.tapestry:tapestry-beanvalidator:jar:5.3.6 (compile),
org.apache.tapestry:tapestry-test:jar:5.3.6 (test),
javax.servlet:servlet-api:jar:2.5 (provided),
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final
(compile), org.slf4j:slf4j-log4j12:jar:1.5.6 (compile)]: Failed to read
artifact descriptor for com.google.code.kaptcha:kaptcha:jar:2.3: Could not
transfer artifact com.google.code.kaptcha:kaptcha:pom:2.3 from/to
tapestry360-stable (http://tapestry.formos.com/maven-repository):
Connection to http://tapestry.formos.com refused: Connection timed out ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

It looks like there are problems retrieving the kaptcha dependency.

Thanks for any help

-- 
Jeremy Villalobos
Practical Android Apps
http://www.practicalandroidapps.com/
<http://www.youtube.com/user/PdfToSpeech>
<https://plus.google.com/u/0/b/109848961267144267628/109848961267144267628/posts>

Re: Tapestry 5 Hotel Booking

Posted by Jeremy Villalobos <je...@gmail.com>.
Thanks, I updated the demo code and ran it successfully with maven and from
Eclipse.


On Mon, Jul 1, 2013 at 6:48 AM, Shing Hing Man <ma...@yahoo.com> wrote:

> Hi,
>
>  I have checked out  Tapestr5-hotel-booking from github and tried it.
>
> The maven repository at tapestry.formos.com seems to be down.
>
> In the pom.xml, I have commented out all repositories at
> http://tapestry.formos.com/ .
>
> Then it works. (The Tapestry dependencies  are  available on
> http://repo.maven.apache.org.)
>
>
> A way to run Tapestr5-hotel-booking :
>  At command prompt:   mvn jetty::run
>
> The url  is http://localhost:8080/tapestry5-hotel-booking/
>
>
> In case the tapx jar is missing, it is available at
>
>
> https://github.com/hlship/tapx
>
>
>
> Shing
>
>
>
>
>
>
> ________________________________
>  From: Jeremy Villalobos <je...@gmail.com>
> To: users@tapestry.apache.org
> Sent: Sunday, June 30, 2013 9:51 PM
> Subject: Tapestry 5 Hotel Booking
>
>
> Hello:
>
> I downloaded the demo Tapestr5-hotel-booking to run it in my machine and
> continue studying the Tapestry 5 development process.
>
> I am running Ubuntu 12.04
> Java 7
> Mvn 3.0.4
>
> Opening the project in Eclipse shows the exclamation point on the project
> (dependency project) and an error on the pom.xm, but no specifics of where
> the error is.
>
> Running
>
> mvn install
>
> On the command line, on the project gets me the error:
>
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for com.tap5.hotelbooking:tapestry5-hotel-booking:war:1.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 107,
> column 12
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 141,
> column 12
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [INFO]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building tapestry5-hotel-booking Tapestry 5 Application 1.2-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
>
> http://tapestry.formos.com/maven-repository/com/google/code/kaptcha/kaptcha/2.3/kaptcha-2.3.pom
> Downloading:
>
> http://tapestry.formos.com/maven-snapshot-repository/com/google/code/kaptcha/kaptcha/2.3/kaptcha-2.3.pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:08.127s
> [INFO] Finished at: Sun Jun 30 16:41:29 EDT 2013
> [INFO] Final Memory: 8M/360M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project tapestry5-hotel-booking: Could
> not resolve dependencies for project
> com.tap5.hotelbooking:tapestry5-hotel-booking:war:1.2-SNAPSHOT: Failed to
> collect dependencies for [org.apache.tapestry:tapestry-core:jar:5.3.6
> (compile), org.testng:testng:jar:5.13.1 (test),
> org.easymock:easymock:jar:2.4 (test),
> org.apache.tapestry:tapestry-hibernate:jar:5.3.6 (compile),
> org.apache.tapestry:tapestry-kaptcha:jar:5.3.6 (compile),
> com.h2database:h2:jar:1.2.142 (compile),
> org.hibernate:hibernate-validator:jar:4.0.2.GA (compile),
> org.apache.tapestry:tapestry-beanvalidator:jar:5.3.6 (compile),
> org.apache.tapestry:tapestry-test:jar:5.3.6 (test),
> javax.servlet:servlet-api:jar:2.5 (provided),
> org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final
> (compile), org.slf4j:slf4j-log4j12:jar:1.5.6 (compile)]: Failed to read
> artifact descriptor for com.google.code.kaptcha:kaptcha:jar:2.3: Could not
> transfer artifact com.google.code.kaptcha:kaptcha:pom:2.3 from/to
> tapestry360-stable (http://tapestry.formos.com/maven-repository):
> Connection to http://tapestry.formos.com refused: Connection timed out ->
> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
>
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>
> It looks like there are problems retrieving the kaptcha dependency.
>
> Thanks for any help
>
> --
> Jeremy Villalobos
> Practical Android Apps
> http://www.practicalandroidapps.com/
> <http://www.youtube.com/user/PdfToSpeech>
> <
> https://plus.google.com/u/0/b/109848961267144267628/109848961267144267628/posts
> >




-- 
Jeremy Villalobos
Practical Android Apps
http://www.practicalandroidapps.com/
<http://www.youtube.com/user/PdfToSpeech>
<https://plus.google.com/u/0/b/109848961267144267628/109848961267144267628/posts>

Re: Tapestry 5 Hotel Booking

Posted by Shing Hing Man <ma...@yahoo.com>.
Hi,

 I have checked out  Tapestr5-hotel-booking from github and tried it.

The maven repository at tapestry.formos.com seems to be down. 

In the pom.xml, I have commented out all repositories at http://tapestry.formos.com/ .

Then it works. (The Tapestry dependencies  are  available on  http://repo.maven.apache.org.) 


A way to run Tapestr5-hotel-booking :
 At command prompt:   mvn jetty::run

The url  is http://localhost:8080/tapestry5-hotel-booking/


In case the tapx jar is missing, it is available at 


https://github.com/hlship/tapx



Shing 

 




________________________________
 From: Jeremy Villalobos <je...@gmail.com>
To: users@tapestry.apache.org 
Sent: Sunday, June 30, 2013 9:51 PM
Subject: Tapestry 5 Hotel Booking
 

Hello:

I downloaded the demo Tapestr5-hotel-booking to run it in my machine and
continue studying the Tapestry 5 development process.

I am running Ubuntu 12.04
Java 7
Mvn 3.0.4

Opening the project in Eclipse shows the exclamation point on the project
(dependency project) and an error on the pom.xm, but no specifics of where
the error is.

Running

mvn install

On the command line, on the project gets me the error:

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for com.tap5.hotelbooking:tapestry5-hotel-booking:war:1.2-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 107,
column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 141,
column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building tapestry5-hotel-booking Tapestry 5 Application 1.2-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://tapestry.formos.com/maven-repository/com/google/code/kaptcha/kaptcha/2.3/kaptcha-2.3.pom
Downloading:
http://tapestry.formos.com/maven-snapshot-repository/com/google/code/kaptcha/kaptcha/2.3/kaptcha-2.3.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:08.127s
[INFO] Finished at: Sun Jun 30 16:41:29 EDT 2013
[INFO] Final Memory: 8M/360M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project tapestry5-hotel-booking: Could
not resolve dependencies for project
com.tap5.hotelbooking:tapestry5-hotel-booking:war:1.2-SNAPSHOT: Failed to
collect dependencies for [org.apache.tapestry:tapestry-core:jar:5.3.6
(compile), org.testng:testng:jar:5.13.1 (test),
org.easymock:easymock:jar:2.4 (test),
org.apache.tapestry:tapestry-hibernate:jar:5.3.6 (compile),
org.apache.tapestry:tapestry-kaptcha:jar:5.3.6 (compile),
com.h2database:h2:jar:1.2.142 (compile),
org.hibernate:hibernate-validator:jar:4.0.2.GA (compile),
org.apache.tapestry:tapestry-beanvalidator:jar:5.3.6 (compile),
org.apache.tapestry:tapestry-test:jar:5.3.6 (test),
javax.servlet:servlet-api:jar:2.5 (provided),
org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final
(compile), org.slf4j:slf4j-log4j12:jar:1.5.6 (compile)]: Failed to read
artifact descriptor for com.google.code.kaptcha:kaptcha:jar:2.3: Could not
transfer artifact com.google.code.kaptcha:kaptcha:pom:2.3 from/to
tapestry360-stable (http://tapestry.formos.com/maven-repository):
Connection to http://tapestry.formos.com refused: Connection timed out ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

It looks like there are problems retrieving the kaptcha dependency.

Thanks for any help

-- 
Jeremy Villalobos
Practical Android Apps
http://www.practicalandroidapps.com/
<http://www.youtube.com/user/PdfToSpeech>
<https://plus.google.com/u/0/b/109848961267144267628/109848961267144267628/posts>

Re: Tapestry 5 Hotel Booking

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Looks like that project hasn't been updated for a while. No idea how to help you further though. 
Perhaps you can make it part of your study to fix and update this project. 

On Jun 30, 2013, at 1:51 PM, Jeremy Villalobos <je...@gmail.com> wrote:

> Hello:
> 
> I downloaded the demo Tapestr5-hotel-booking to run it in my machine and
> continue studying the Tapestry 5 development process.
> 
> I am running Ubuntu 12.04
> Java 7
> Mvn 3.0.4
> 
> Opening the project in Eclipse shows the exclamation point on the project
> (dependency project) and an error on the pom.xm, but no specifics of where
> the error is.
> 
> Running
> 
> mvn install
> 
> On the command line, on the project gets me the error:
> 
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for com.tap5.hotelbooking:tapestry5-hotel-booking:war:1.2-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 107,
> column 12
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 141,
> column 12
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [INFO]
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building tapestry5-hotel-booking Tapestry 5 Application 1.2-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> Downloading:
> http://tapestry.formos.com/maven-repository/com/google/code/kaptcha/kaptcha/2.3/kaptcha-2.3.pom
> Downloading:
> http://tapestry.formos.com/maven-snapshot-repository/com/google/code/kaptcha/kaptcha/2.3/kaptcha-2.3.pom
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:08.127s
> [INFO] Finished at: Sun Jun 30 16:41:29 EDT 2013
> [INFO] Final Memory: 8M/360M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project tapestry5-hotel-booking: Could
> not resolve dependencies for project
> com.tap5.hotelbooking:tapestry5-hotel-booking:war:1.2-SNAPSHOT: Failed to
> collect dependencies for [org.apache.tapestry:tapestry-core:jar:5.3.6
> (compile), org.testng:testng:jar:5.13.1 (test),
> org.easymock:easymock:jar:2.4 (test),
> org.apache.tapestry:tapestry-hibernate:jar:5.3.6 (compile),
> org.apache.tapestry:tapestry-kaptcha:jar:5.3.6 (compile),
> com.h2database:h2:jar:1.2.142 (compile),
> org.hibernate:hibernate-validator:jar:4.0.2.GA (compile),
> org.apache.tapestry:tapestry-beanvalidator:jar:5.3.6 (compile),
> org.apache.tapestry:tapestry-test:jar:5.3.6 (test),
> javax.servlet:servlet-api:jar:2.5 (provided),
> org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar:1.0.0.Final
> (compile), org.slf4j:slf4j-log4j12:jar:1.5.6 (compile)]: Failed to read
> artifact descriptor for com.google.code.kaptcha:kaptcha:jar:2.3: Could not
> transfer artifact com.google.code.kaptcha:kaptcha:pom:2.3 from/to
> tapestry360-stable (http://tapestry.formos.com/maven-repository):
> Connection to http://tapestry.formos.com refused: Connection timed out ->
> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> 
> It looks like there are problems retrieving the kaptcha dependency.
> 
> Thanks for any help
> 
> -- 
> Jeremy Villalobos
> Practical Android Apps
> http://www.practicalandroidapps.com/
> <http://www.youtube.com/user/PdfToSpeech>
> <https://plus.google.com/u/0/b/109848961267144267628/109848961267144267628/posts>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org