Git Product home page Git Product logo

Comments (5)

tbroyer avatar tbroyer commented on May 31, 2024

Works for me. Which version of Maven are you using? I'm using 3.0.3, and maven-archetype-plugin:2.2:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom >>>
[INFO] 
[INFO] <<< maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom <<<
[INFO] 
[INFO] --- maven-archetype-plugin:2.2:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] Archetype repository missing. Using the one from [net.ltgt.gwt.archetypes:modular-requestfactory:1.0-SNAPSHOT] found in catalog local
Define value for property 'groupId': : a14n.test
Define value for property 'artifactId': : rf
Define value for property 'version':  1.0-SNAPSHOT: : 
Define value for property 'package':  a14n.test: : a14n.test.rf
[INFO] Using property: gwt-maven-plugin-version = 2.4.0
[INFO] Using property: gwt-version = 2.4.0
[INFO] Using property: jetty-maven-plugin-version = 8.1.3.v20120416
[INFO] Using property: module = App
Define value for property 'module-short-name':  ${module.toLowerCase()}: : 
Confirm properties configuration:
groupId: a14n.test
artifactId: rf
version: 1.0-SNAPSHOT
package: a14n.test.rf
gwt-maven-plugin-version: 2.4.0
gwt-version: 2.4.0
jetty-maven-plugin-version: 8.1.3.v20120416
module: App
module-short-name: ${module.toLowerCase()}
 Y: : 
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: modular-requestfactory:1.0-SNAPSHOT
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: a14n.test
[INFO] Parameter: artifactId, Value: rf
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: a14n.test.rf
[INFO] Parameter: packageInPathFormat, Value: a14n/test/rf
[INFO] Parameter: gwt-maven-plugin-version, Value: 2.4.0
[INFO] Parameter: module, Value: App
27 mai 2012 02:15:50 org.apache.velocity.runtime.log.JdkLogChute log
INFO: FileResourceLoader : adding path '.'
[INFO] Parameter: module-short-name, Value: app
[INFO] Parameter: groupId, Value: a14n.test
[INFO] Parameter: gwt-version, Value: 2.4.0
[INFO] Parameter: jetty-maven-plugin-version, Value: 8.1.3.v20120416
[INFO] Parameter: version, Value: 1.0-SNAPSHOT
[INFO] Parameter: package, Value: a14n.test.rf
[INFO] Parameter: artifactId, Value: rf
[INFO] Parent element not overwritten in /home/tbr/Projets/gwt/gwt-maven-archetypes/test/rf/client/pom.xml
[INFO] Parent element not overwritten in /home/tbr/Projets/gwt/gwt-maven-archetypes/test/rf/shared/pom.xml
[INFO] Parent element not overwritten in /home/tbr/Projets/gwt/gwt-maven-archetypes/test/rf/server/pom.xml
[INFO] project created from Archetype in dir: /home/tbr/Projets/gwt/gwt-maven-archetypes/test/rf
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.875s
[INFO] Finished at: Sun May 27 02:15:50 CEST 2012
[INFO] Final Memory: 9M/117M
[INFO] ------------------------------------------------------------------------

from gwt-maven-archetypes.

a14n avatar a14n commented on May 31, 2024

I'm using Maven 2.2.1 and "maven -X" shows that version 2.0 of maven-archetype-plugin is used.

[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-archetype-plugin:2.0:generate' -->

I wanted to test with version 2.2 of maven-archetype-plugin but I haven't found how (and if it is possible) to force maven-archetype-plugin version.

from gwt-maven-archetypes.

tbroyer avatar tbroyer commented on May 31, 2024

AFAICT, mvn org.apache.maven.plugins:maven-archetype-plugin:2.2:generate instead of mvn archetype:generate.

from gwt-maven-archetypes.

a14n avatar a14n commented on May 31, 2024

Shame on me, I didn't remember this way to launch plugin.

Using maven-archetype-plugin:2.2, generation works as expected and ${module.toLowerCase()} is well replaced by rf in my above test.

I also try with maven-archetype-plugin:2.1 but it don't work like with 2.0.

from gwt-maven-archetypes.

tbroyer avatar tbroyer commented on May 31, 2024

OK, will add a note in the README.

from gwt-maven-archetypes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.