Re: Cannot execute Maven goal to build Tapestry 5.4.x from Getting started guide nor from the example source using Maven

Andreas Ernst <[email protected]> Sun, 7 Jul 2019 15:11:57 +0200
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
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
[email protected] | www.ae-online.de
www.tachyon-online.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]