Hi pico If you are asking me, I would say Spring Boot should be removed from the quick start archetype. But you are probably asking Thiago.
If you are updating the Getting Started page https://tapestry.apache.org/getting-started.html, I notice that the command mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org is no longer supported in current versions of maven-archetype-plugin. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.0:generate (default-cli) on project standalone-pom: archetypeCatalog 'http://tapestry.apache.org' is not supported anymore. Please read the plugin documentation for details. The following from https://maven.apache.org/archetype/maven-archetype-plugin/generate-mojo.html*:* *archetypeCatalog* The archetype catalogs to use to build a list and let the user choose from. It is a comma separated list of catalogs. Catalogs use the following schemes: * 'local' which is the shortcut to the local repository * 'remote' which is the shortcut for Maven Central repository or its mirror * 'internal' which is an internal catalog If you want the catalogs to come from a different repository, please add the following to your settings.xml <repository> <id>archetype</id> <url>https://repository.domain.com/path/to/repo/</url> </repository> <!-- in case of a repository with authentication --> <server> <id>archetype</id> <username>user.name</username> <password>s3cr3t</password> </server> If Maven Central repository catalog file is empty, internal catalog is used instead. * *Type*: java.lang.String * *Required*: No * *User Property*: archetypeCatalog * *Default*: remote,local Cheers Tim PS: It took me a while to work out how to update my maven-archetype-plugin. I eventually put the following in a pom.xml from one of my projects <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-archetype-plugin</artifactId> </plugin> and typed mvn versions:display-plugin-updates and maven updated the archetype plugin for me to 3.2.0 (from 2.2). On 1/5/21 17:17, pico.dev wrote: > Hi! > > Sorry for the inconvenience. > > If Spring Boot is not desired in the app generated by quickstart, I could > try to provide a new patch to remove it if you wish, I hope as soon as I > can, just confirm me and I start doing the changes. > > Regards, > > El vie, 30 abr 2021 a las 22:43, Thiago H. de Paula Figueiredo (< > thiag...@gmail.com>) escribió: > >> Hello! >> >> Thank you very much for spotting and warning us about these issues. >> >> You shouldn't need to use Spring Boot. The archetype needs to be fixed. >> >> On Sat, Apr 24, 2021 at 9:00 PM D Tim Cummings <t...@triptera.com.au.invalid >> wrote: >> >>> I have tried the instructions at >>> https://tapestry.apache.org/getting-started.html using Tapestry 5.7.2 >>> archetype. >>> >>> 1. The code produced by 5.7.2 archetype uses 5.6 packages >>> org.apache.tapestry5.services.Request, RequestFilter, RequestHandler, >>> Response so it won't compile. >>> >>> As there were only four to be fixed I manually changed them in >>> com.example.newapp.services.AppModule.java to >>> >>> import org.apache.tapestry5.http.services.Request; >>> import org.apache.tapestry5.http.services.RequestFilter; >>> import org.apache.tapestry5.http.services.RequestHandler; >>> import org.apache.tapestry5.http.services.Response; >>> >>> 2. Instructions say use 'mvn jetty:run' but there is no jetty plugin >>> defined in the pom so this doesn't work despite the nice screen shot >>> showing it working with 5.7.2. >>> >>> 3. I ran 'mvn spring-boot:run' and this ran successfully. However, one >>> of the reasons I was trying the archetype was because I was getting a >>> lot of duplicate jar warnings in the project I was migrating to 5.7.2. >>> Maybe spring-boot solves this problem by not copying duplicates into its >>> uber jar. Do I need to convert my existing project to include >>> spring-boot for building a war? >>> >>> Thanks >>> >>> Tim >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> For additional commands, e-mail: users-h...@tapestry.apache.org >>> >>> >> -- >> Thiago >> -- Triptera Pty Ltd D Tim Cummings 0418778422 t...@triptera.com.au
OpenPGP_signature
Description: OpenPGP digital signature