Skip to content

Instantly share code, notes, and snippets.

@ashigeru
Created May 23, 2011 09:37
Show Gist options
  • Save ashigeru/986472 to your computer and use it in GitHub Desktop.
Save ashigeru/986472 to your computer and use it in GitHub Desktop.
JJUG CCC 2011 Spring Demo

プロジェクトの作成

mvn archetype:generate -DarchetypeCatalog=http://asakusafw.s3.amazonaws.com/maven/archetype-catalog.xml
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom >>>
[INFO] 
[INFO] <<< maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom <<<
[INFO] 
[INFO] --- maven-archetype-plugin:2.0:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: http://asakusafw.s3.amazonaws.com/maven/archetype-catalog.xml -> asakusa-archetype-batchapp (-)
Choose a number: : 1
Choose version: 
1: 0.1.0
2: 0.1.1-SNAPSHOT
3: 0.2.0-SNAPSHOT
Choose a number: 3: 
(snip)
Define value for property 'groupId': : com.asakusafw.example
Define value for property 'artifactId': : demo-20110524
Define value for property 'version':  1.0-SNAPSHOT: : 1.0-SNAPSHOT
Define value for property 'package':  com.asakusafw.example: : com.asakusafw.example
Confirm properties configuration:
groupId: com.asakusafw.example
artifactId: demo-20110524
version: 1.0-SNAPSHOT
package: com.asakusafw.example
 Y: : Y
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
(snip)
cd demo-20110524
mvn eclipse:eclipse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment