Hi community,
nearly a decade ago I was involved in a project that was based on Apache Tapestry. It was great for an Java Web beginner to start with. After all this years, I want to go back to my roots and re-try or re-evaluate Tapestry again. ## Problem Sad to say, that I was not able to get Tapestry with the current Getting started or Hotel Booking examples running on my machine. ## Versions Java version: 1.8.0_191 Apache Maven version: 3.6.0 Operating system: Windows 10 (1903) ## Errors ### Getting started: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: org .apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: Lexical error, Encountered: "\ufffd" (65 533), after : "" at archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line 16, column 21] -> [Help 1] ### Hotel booking example [ERROR] /C:/Users/tobia/IdeaProjects/tapestry5-hotel-booking/src/main/java/com/tap5/hotelbooking/services/BasicAuthenticator.java:[87,13] try-with-resources is not supported in -source 1.5 ## StackOverflow post https://stackoverflow.com/questions/56908827/cannot-execute-maven-goal-to-build-tapestry-5-4-x-from-getting-started-guide-nor?noredirect=1#comment100377777_56908827 Thanks for all your helpful tips! It's great to see that this project is still alive! Kind regards from Germany, - Tobias |
Dude, going back to your roots... did I read that correctly? Why waste your
time on a framework that is dying a slow death? Even the founder of Tapestry, Howard Lewis Ship, has abandoned it and never came back. There are fine modern frameworks out there in the wild. I guess you are coming back to Tapestry because you are scared of Javascript, as most of the modern frameworks are dependent on. If not, then try Angular, Vue or React. Your life would be way better. Instead of coming back to this antiquated framework. Just my piece of advice to you. On Sun, Jul 7, 2019 at 11:48 AM Tobias Scholze <[hidden email]> wrote: > Hi community, > > nearly a decade ago I was involved in a project that was based on Apache > Tapestry. It was great for an Java Web beginner to start with. > After all this years, I want to go back to my roots and re-try or > re-evaluate Tapestry again. > > ## Problem > > Sad to say, that I was not able to get Tapestry with the current Getting > started or Hotel Booking examples running on my machine. > > ## Versions > > Java version: 1.8.0_191 > Apache Maven version: 3.6.0 > Operating system: Windows 10 (1903) > > ## Errors > > ### Getting started: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate > (default-cli) on project standalone-pom: org > > .apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging > velocity templates: Lexical error, Encountered: "\ufffd" (65 > 533), after : "" at > > archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line > 16, column 21] -> [Help 1] > > ### Hotel booking example > > [ERROR] > > /C:/Users/tobia/IdeaProjects/tapestry5-hotel-booking/src/main/java/com/tap5/hotelbooking/services/BasicAuthenticator.java:[87,13] > try-with-resources is not supported in -source 1.5 > > ## StackOverflow post > > > https://stackoverflow.com/questions/56908827/cannot-execute-maven-goal-to-build-tapestry-5-4-x-from-getting-started-guide-nor?noredirect=1#comment100377777_56908827 > > Thanks for all your helpful tips! It's great to see that this project is > still alive! > > Kind regards from Germany, > > - Tobias > |
In reply to this post by Tobias Scholze
Hi Tobias,
Am 07.07.19 um 11:48 schrieb Tobias Scholze: > Hi community, > > nearly a decade ago I was involved in a project that was based on Apache > Tapestry. It was great for an Java Web beginner to start with. > After all this years, I want to go back to my roots and re-try or > re-evaluate Tapestry again. > > ## Problem > > Sad to say, that I was not able to get Tapestry with the current Getting > started or Hotel Booking examples running on my machine. > > ## Versions > > Java version: 1.8.0_191 > Apache Maven version: 3.6.0 > Operating system: Windows 10 (1903) > > ## Errors > > ### Getting started: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate > (default-cli) on project standalone-pom: org > > .apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging > velocity templates: Lexical error, Encountered: "\ufffd" (65 > 533), after : "" at > archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line > 16, column 21] -> [Help 1] > > ### Hotel booking example > > [ERROR] > /C:/Users/tobia/IdeaProjects/tapestry5-hotel-booking/src/main/java/com/tap5/hotelbooking/services/BasicAuthenticator.java:[87,13] > try-with-resources is not supported in -source 1.5 check your JDK Version in the project: -source 1.5 HTH Andreas -- ae | Andreas Ernst | IT Spektrum Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484-91002 Fax: +49-6484-91003 [hidden email] | www.ae-online.de www.tachyon-online.de --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Hi Andreas,
thanks for your fast reply! Gosh, I over read the "tip" in the error message. But do this means, that Apache Tapestry _requires_ a JDK 1.5? I double checked it and I'm running 1.8. """ C:\Users\tobia>java -version java version "1.8.0_191" Java(TM) SE Runtime Environment (build 1.8.0_191-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode) """ Best wishes, - Tobi Am So., 7. Juli 2019 um 12:18 Uhr schrieb Andreas Ernst <[hidden email]>: > Hi Tobias, > > Am 07.07.19 um 11:48 schrieb Tobias Scholze: > > Hi community, > > > > nearly a decade ago I was involved in a project that was based on Apache > > Tapestry. It was great for an Java Web beginner to start with. > > After all this years, I want to go back to my roots and re-try or > > re-evaluate Tapestry again. > > > > ## Problem > > > > Sad to say, that I was not able to get Tapestry with the current Getting > > started or Hotel Booking examples running on my machine. > > > > ## Versions > > > > Java version: 1.8.0_191 > > Apache Maven version: 3.6.0 > > Operating system: Windows 10 (1903) > > > > ## Errors > > > > ### Getting started: > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate > > (default-cli) on project standalone-pom: org > > > > .apache.maven.archetype.exception.ArchetypeGenerationFailure: Error > merging > > velocity templates: Lexical error, Encountered: "\ufffd" (65 > > 533), after : "" at > > > archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line > > 16, column 21] -> [Help 1] > > > > ### Hotel booking example > > > > [ERROR] > > > /C:/Users/tobia/IdeaProjects/tapestry5-hotel-booking/src/main/java/com/tap5/hotelbooking/services/BasicAuthenticator.java:[87,13] > > try-with-resources is not supported in -source 1.5 > > check your JDK Version in the project: -source 1.5 > > HTH > Andreas > -- > ae | Andreas Ernst | IT Spektrum > Postfach 5, 65612 Beselich > Schupbacher Str. 32, 65614 Beselich, Germany > Tel: +49-6484-91002 Fax: +49-6484-91003 > [hidden email] | www.ae-online.de > www.tachyon-online.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > |
Hi Tobias,
Am 07.07.19 um 12:24 schrieb Tobias Scholze: > Hi Andreas, > thanks for your fast reply! > Gosh, I over read the "tip" in the error message. But do this means, that > Apache Tapestry _requires_ a JDK 1.5? > > I double checked it and I'm running 1.8. check your POM, i am running with JDK 1.8: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> <optimize>true</optimize> </configuration> </plugin> HTH, Andreas -- ae | Andreas Ernst | IT Spektrum Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484-91002 Fax: +49-6484-91003 [hidden email] | www.ae-online.de www.tachyon-online.de --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Thanks Andreas!
This was indeed set to 1.5. Nevertheless my next problem during the `mvn install` command is: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project hotels: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: There was an error in the forked process [ERROR] org.testng.TestNGException: [ERROR] Cannot find class in classpath: org.apache.tapestry5.test.SeleniumLauncher Maybe the example is not the best entry point to just "clone and run it"-experience. I'll try it to set it up newly from ground level. Best wishes, - Tobi Am So., 7. Juli 2019 um 12:32 Uhr schrieb Andreas Ernst <[hidden email]>: > Hi Tobias, > > Am 07.07.19 um 12:24 schrieb Tobias Scholze: > > Hi Andreas, > > thanks for your fast reply! > > Gosh, I over read the "tip" in the error message. But do this means, that > > Apache Tapestry _requires_ a JDK 1.5? > > > > I double checked it and I'm running 1.8. > > check your POM, i am running with JDK 1.8: > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <version>3.8.1</version> > <configuration> > <source>1.8</source> > <target>1.8</target> > <optimize>true</optimize> > </configuration> > </plugin> > > HTH, > Andreas > -- > ae | Andreas Ernst | IT Spektrum > Postfach 5, 65612 Beselich > Schupbacher Str. 32, 65614 Beselich, Germany > Tel: +49-6484-91002 Fax: +49-6484-91003 > [hidden email] | www.ae-online.de > www.tachyon-online.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > |
Hi Tobias,
try it this way with the maven archetype: https://tapestry.apache.org/getting-started.html HTH, Andreas Am 07.07.19 um 12:42 schrieb Tobias Scholze: > Thanks Andreas! > > This was indeed set to 1.5. > > Nevertheless my next problem during the `mvn install` command is: > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on > project hotels: Execution default-test of goal > org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: There was > an error in the forked process > [ERROR] org.testng.TestNGException: > [ERROR] Cannot find class in classpath: > org.apache.tapestry5.test.SeleniumLauncher > > Maybe the example is not the best entry point to just "clone and run > it"-experience. I'll try it to set it up newly from ground level. > > Best wishes, > > - Tobi > > > Am So., 7. Juli 2019 um 12:32 Uhr schrieb Andreas Ernst <[hidden email]>: > >> Hi Tobias, >> >> Am 07.07.19 um 12:24 schrieb Tobias Scholze: >>> Hi Andreas, >>> thanks for your fast reply! >>> Gosh, I over read the "tip" in the error message. But do this means, that >>> Apache Tapestry _requires_ a JDK 1.5? >>> >>> I double checked it and I'm running 1.8. >> >> check your POM, i am running with JDK 1.8: >> >> <plugin> >> <groupId>org.apache.maven.plugins</groupId> >> <artifactId>maven-compiler-plugin</artifactId> >> <version>3.8.1</version> >> <configuration> >> <source>1.8</source> >> <target>1.8</target> >> <optimize>true</optimize> >> </configuration> >> </plugin> >> >> HTH, >> Andreas >> -- >> ae | Andreas Ernst | IT Spektrum >> Postfach 5, 65612 Beselich >> Schupbacher Str. 32, 65614 Beselich, Germany >> Tel: +49-6484-91002 Fax: +49-6484-91003 >> [hidden email] | www.ae-online.de >> www.tachyon-online.de >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden email] >> For additional commands, e-mail: [hidden email] >> >> > -- ae | Andreas Ernst | IT Spektrum Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484-91002 Fax: +49-6484-91003 [hidden email] | www.ae-online.de www.tachyon-online.de --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Hi Andreas,
this was my first approach. After recognizing that the command on the tapestry website is outdated see JIRA: https://issues.apache.org/jira/browse/TAP5-2579) and finding some helpful comments in the issue, I'll always get the error: """ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate (default-cli) on project standalone-pom: org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error merging velocity templates: Lexical error, Encountered: "\ufffd" (65533), after : "" at archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line 16, column 21] """ It seems that I'm not the only one: https://issues.apache.org/jira/browse/TAP5-2579?focusedCommentId=16770261&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16770261 Kinds regards, Tobi Am So., 7. Juli 2019 um 13:17 Uhr schrieb Andreas Ernst <[hidden email]>: > Hi Tobias, > > try it this way with the maven archetype: > > https://tapestry.apache.org/getting-started.html > > HTH, > Andreas > > Am 07.07.19 um 12:42 schrieb Tobias Scholze: > > Thanks Andreas! > > > > This was indeed set to 1.5. > > > > Nevertheless my next problem during the `mvn install` command is: > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) > on > > project hotels: Execution default-test of goal > > org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: There > was > > an error in the forked process > > [ERROR] org.testng.TestNGException: > > [ERROR] Cannot find class in classpath: > > org.apache.tapestry5.test.SeleniumLauncher > > > > Maybe the example is not the best entry point to just "clone and run > > it"-experience. I'll try it to set it up newly from ground level. > > > > Best wishes, > > > > - Tobi > > > > > > Am So., 7. Juli 2019 um 12:32 Uhr schrieb Andreas Ernst <[hidden email] > >: > > > >> Hi Tobias, > >> > >> Am 07.07.19 um 12:24 schrieb Tobias Scholze: > >>> Hi Andreas, > >>> thanks for your fast reply! > >>> Gosh, I over read the "tip" in the error message. But do this means, > that > >>> Apache Tapestry _requires_ a JDK 1.5? > >>> > >>> I double checked it and I'm running 1.8. > >> > >> check your POM, i am running with JDK 1.8: > >> > >> <plugin> > >> <groupId>org.apache.maven.plugins</groupId> > >> <artifactId>maven-compiler-plugin</artifactId> > >> <version>3.8.1</version> > >> <configuration> > >> <source>1.8</source> > >> <target>1.8</target> > >> <optimize>true</optimize> > >> </configuration> > >> </plugin> > >> > >> HTH, > >> Andreas > >> -- > >> ae | Andreas Ernst | IT Spektrum > >> Postfach 5, 65612 Beselich > >> Schupbacher Str. 32, 65614 Beselich, Germany > >> Tel: +49-6484-91002 Fax: +49-6484-91003 > >> [hidden email] | www.ae-online.de > >> www.tachyon-online.de > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [hidden email] > >> For additional commands, e-mail: [hidden email] > >> > >> > > > > -- > ae | Andreas Ernst | IT Spektrum > Postfach 5, 65612 Beselich > Schupbacher Str. 32, 65614 Beselich, Germany > Tel: +49-6484-91002 Fax: +49-6484-91003 > [hidden email] | www.ae-online.de > www.tachyon-online.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > |
Further approaches:
I tried to use: "mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=tapestry.apache.org" to use an older maven plugin version. But this will lead to a: """ [INFO] No catalog defined. Using internal catalog [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0) Choose archetype: 1: internal -> org.apache.maven.archetypes:maven-archetype-archetype (An archetype which contains a sample archetype.) [...] """ Am So., 7. Juli 2019 um 13:31 Uhr schrieb Tobias Scholze < [hidden email]>: > Hi Andreas, > > this was my first approach. After recognizing that the command on the > tapestry website is outdated see JIRA: > https://issues.apache.org/jira/browse/TAP5-2579) and finding some helpful > comments in the issue, I'll always get the error: > > """ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate > (default-cli) on project standalone-pom: > org.apache.maven.archetype.exception.ArchetypeGenerationFailure: Error > merging velocity templates: Lexical error, Encountered: "\ufffd" (65533), > after : "" at > archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line > 16, column 21] > """ > > It seems that I'm not the only one: > https://issues.apache.org/jira/browse/TAP5-2579?focusedCommentId=16770261&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16770261 > > Kinds regards, > > Tobi > > Am So., 7. Juli 2019 um 13:17 Uhr schrieb Andreas Ernst <[hidden email]>: > >> Hi Tobias, >> >> try it this way with the maven archetype: >> >> https://tapestry.apache.org/getting-started.html >> >> HTH, >> Andreas >> >> Am 07.07.19 um 12:42 schrieb Tobias Scholze: >> > Thanks Andreas! >> > >> > This was indeed set to 1.5. >> > >> > Nevertheless my next problem during the `mvn install` command is: >> > >> > [ERROR] Failed to execute goal >> > org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) >> on >> > project hotels: Execution default-test of goal >> > org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: There >> was >> > an error in the forked process >> > [ERROR] org.testng.TestNGException: >> > [ERROR] Cannot find class in classpath: >> > org.apache.tapestry5.test.SeleniumLauncher >> > >> > Maybe the example is not the best entry point to just "clone and run >> > it"-experience. I'll try it to set it up newly from ground level. >> > >> > Best wishes, >> > >> > - Tobi >> > >> > >> > Am So., 7. Juli 2019 um 12:32 Uhr schrieb Andreas Ernst < >> [hidden email]>: >> > >> >> Hi Tobias, >> >> >> >> Am 07.07.19 um 12:24 schrieb Tobias Scholze: >> >>> Hi Andreas, >> >>> thanks for your fast reply! >> >>> Gosh, I over read the "tip" in the error message. But do this means, >> that >> >>> Apache Tapestry _requires_ a JDK 1.5? >> >>> >> >>> I double checked it and I'm running 1.8. >> >> >> >> check your POM, i am running with JDK 1.8: >> >> >> >> <plugin> >> >> <groupId>org.apache.maven.plugins</groupId> >> >> <artifactId>maven-compiler-plugin</artifactId> >> >> <version>3.8.1</version> >> >> <configuration> >> >> <source>1.8</source> >> >> <target>1.8</target> >> >> <optimize>true</optimize> >> >> </configuration> >> >> </plugin> >> >> >> >> HTH, >> >> Andreas >> >> -- >> >> ae | Andreas Ernst | IT Spektrum >> >> Postfach 5, 65612 Beselich >> >> Schupbacher Str. 32, 65614 Beselich, Germany >> >> Tel: +49-6484-91002 Fax: +49-6484-91003 >> >> [hidden email] | www.ae-online.de >> >> www.tachyon-online.de >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [hidden email] >> >> For additional commands, e-mail: [hidden email] >> >> >> >> >> > >> >> -- >> ae | Andreas Ernst | IT Spektrum >> Postfach 5, 65612 Beselich >> Schupbacher Str. 32, 65614 Beselich, Germany >> Tel: +49-6484-91002 Fax: +49-6484-91003 >> [hidden email] | www.ae-online.de >> www.tachyon-online.de >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden email] >> For additional commands, e-mail: [hidden email] >> >> |
In reply to this post by Emmanuel Sowah
I agreed to get rid of Tapestry. It seems death soon. I recommend to use
jhipster.com which would help you to generate any thing to build a robust web app. On Sun, Jul 7, 2019 at 5:06 PM Emmanuel Sowah <[hidden email]> wrote: > Dude, going back to your roots... did I read that correctly? Why waste your > time on a framework that is dying a slow death? Even the founder of > Tapestry, Howard Lewis Ship, has abandoned it and never came back. > There are fine modern frameworks out there in the wild. I guess you are > coming back to Tapestry because you are scared of Javascript, as most of > the modern frameworks are dependent on. If not, then try Angular, Vue or > React. Your life would be way better. Instead of coming back to this > antiquated framework. > Just my piece of advice to you. > > On Sun, Jul 7, 2019 at 11:48 AM Tobias Scholze <[hidden email]> > wrote: > > > Hi community, > > > > nearly a decade ago I was involved in a project that was based on Apache > > Tapestry. It was great for an Java Web beginner to start with. > > After all this years, I want to go back to my roots and re-try or > > re-evaluate Tapestry again. > > > > ## Problem > > > > Sad to say, that I was not able to get Tapestry with the current Getting > > started or Hotel Booking examples running on my machine. > > > > ## Versions > > > > Java version: 1.8.0_191 > > Apache Maven version: 3.6.0 > > Operating system: Windows 10 (1903) > > > > ## Errors > > > > ### Getting started: > > > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-archetype-plugin:3.0.1:generate > > (default-cli) on project standalone-pom: org > > > > .apache.maven.archetype.exception.ArchetypeGenerationFailure: Error > merging > > velocity templates: Lexical error, Encountered: "\ufffd" (65 > > 533), after : "" at > > > > > archetype-resources/src/main/webapp/mybootstrap/fonts/glyphicons-halflings-regular.eot[line > > 16, column 21] -> [Help 1] > > > > ### Hotel booking example > > > > [ERROR] > > > > > /C:/Users/tobia/IdeaProjects/tapestry5-hotel-booking/src/main/java/com/tap5/hotelbooking/services/BasicAuthenticator.java:[87,13] > > try-with-resources is not supported in -source 1.5 > > > > ## StackOverflow post > > > > > > > https://stackoverflow.com/questions/56908827/cannot-execute-maven-goal-to-build-tapestry-5-4-x-from-getting-started-guide-nor?noredirect=1#comment100377777_56908827 > > > > Thanks for all your helpful tips! It's great to see that this project is > > still alive! > > > > Kind regards from Germany, > > > > - Tobias > > > Chung Khanh Duy Director of Technology Formos |
In reply to this post by Tobias Scholze
I don't know, what you are doing...
I have no issues getting the quickstart running... mvn -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.4.4 -DarchetypeRepository=local -DgroupId=de.aeits.tap -DartifactId=mavenproject3 -Dversion=0.0.1-SNAPSHOT -Dpackage=de.aeits.tap.mavenproject3 -Dbasedir=/Users/andreas/Documents/NetBeansProjects -Darchetype.interactive=false --batch-mode org.apache.maven.plugins:maven-archetype-plugin:2.4:generate I am using NetBeans with JDK 12 to generate this: Maven -> Project from ArcheType. Then update the POM: -- SNIP -- <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>1.8</source> <target>1.8</target> <optimize>true</optimize> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M3</version> <configuration> <systemPropertyVariables> <tapestry.execution-mode>Qa</tapestry.execution-mode> </systemPropertyVariables> </configuration> </plugin> -- SNAP -- Adding Payara as Server, then start and have fun ;) I just tried it on the terminal with: openjdk version "1.8.0_212" OpenJDK Runtime Environment Corretto-8.212.04.2 (build 1.8.0_212-b04) OpenJDK 64-Bit Server VM Corretto-8.212.04.2 (build 25.212-b04, mixed mode) Works also. -- ae | Andreas Ernst | IT Spektrum Postfach 5, 65612 Beselich Schupbacher Str. 32, 65614 Beselich, Germany Tel: +49-6484-91002 Fax: +49-6484-91003 [hidden email] | www.ae-online.de www.tachyon-online.de --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Hi Andreas,
you are my hero of the day. The Archtype works fine, everything went well. Maybe the project lead should put your snippet as "Getting Started". :) Great to see that this community is still helpful, nevertheless it's state. I try it to use in some spare time projects. I found my old notes with the Jumpstart tutorials. Have a nice day! - Tobi Am So., 7. Juli 2019 um 15:12 Uhr schrieb Andreas Ernst <[hidden email]>: > I don't know, what you are doing... > I have no issues getting the quickstart running... > > mvn -DarchetypeGroupId=org.apache.tapestry > -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.4.4 > -DarchetypeRepository=local -DgroupId=de.aeits.tap > -DartifactId=mavenproject3 -Dversion=0.0.1-SNAPSHOT > -Dpackage=de.aeits.tap.mavenproject3 > -Dbasedir=/Users/andreas/Documents/NetBeansProjects > -Darchetype.interactive=false --batch-mode > org.apache.maven.plugins:maven-archetype-plugin:2.4:generate > > I am using NetBeans with JDK 12 to generate this: Maven -> Project from > ArcheType. > > Then update the POM: > > -- SNIP -- > > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-compiler-plugin</artifactId> > <version>3.8.1</version> > <configuration> > <source>1.8</source> > <target>1.8</target> > <optimize>true</optimize> > </configuration> > </plugin> > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-surefire-plugin</artifactId> > <version>3.0.0-M3</version> > <configuration> > <systemPropertyVariables> > > <tapestry.execution-mode>Qa</tapestry.execution-mode> > </systemPropertyVariables> > </configuration> > </plugin> > > -- SNAP -- > > Adding Payara as Server, then start and have fun ;) > > I just tried it on the terminal with: > > openjdk version "1.8.0_212" > OpenJDK Runtime Environment Corretto-8.212.04.2 (build 1.8.0_212-b04) > OpenJDK 64-Bit Server VM Corretto-8.212.04.2 (build 25.212-b04, mixed mode) > > Works also. > > -- > ae | Andreas Ernst | IT Spektrum > Postfach 5, 65612 Beselich > Schupbacher Str. 32, 65614 Beselich, Germany > Tel: +49-6484-91002 Fax: +49-6484-91003 > [hidden email] | www.ae-online.de > www.tachyon-online.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > |
It seems that my comment was removed. This should also work:
mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate -DarchetypeCatalog=https://repository.apache.org/content/repositories/staging -Dfilter=org.apache.tapestry:quickstart --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
Thanks Svein,
My problem has been solved already by Andreas. :) Now, I can start to play around - maybe I'll abandon <https://www.dict.cc/englisch-deutsch/abandon.html> it, but for now, it look just easy to get into it. Am So., 7. Juli 2019 um 18:26 Uhr schrieb Svein-Erik Løken < [hidden email]>: > It seems that my comment was removed. This should also work: > > mvn org.apache.maven.plugins:maven-archetype-plugin:2.4:generate > -DarchetypeCatalog= > https://repository.apache.org/content/repositories/staging > -Dfilter=org.apache.tapestry:quickstart > > |
Free forum by Nabble | Edit this page |