Build the code

  • Now that the code is checked out, let's build it
  • From command line go into the hello-web-service folder and run the Maven build command - mvn clean install
  • PS D:\works> cd .\hello-web-service                                                       
    PS D:\works\hello-web-service> mvn clean install
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building HelloWebService Maven Webapp
    [INFO] task-segment: [clean, install]
    [INFO] ------------------------------------------------------------------------
    [INFO] [clean:clean {execution: default-clean}]
    [INFO] [resources:resources {execution: default-resources}]
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build
    is platform dependent!
    [INFO] Copying 1 resource
    [INFO] [compiler:compile {execution: default-compile}]
    [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is pl
    atform dependent!
    [INFO] Compiling 5 source files to D:\works\hello-web-service\target\classes
    [INFO] [resources:testResources {execution: default-testResources}]
    [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build
    is platform dependent!
    [INFO] Copying 1 resource
    [INFO] [compiler:testCompile {execution: default-testCompile}]
    [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is pl
    atform dependent!
    [INFO] Compiling 1 source file to D:\works\hello-web-service\target\test-classes
    [INFO] [surefire:test {execution: default-test}]
    [INFO] Tests are skipped.
    [INFO] [war:war {execution: default-war}]
    [INFO] Packaging webapp
    [INFO] Assembling webapp[hello-web-service] in [D:\works\hello-web-service\target\HelloWeb
    Service]
    [INFO] Processing war project
    [INFO] Copying webapp resources[D:\works\hello-web-service\src\main\webapp]
    [INFO] Webapp assembled in[159 msecs]
    [INFO] Building war: D:\works\hello-web-service\target\HelloWebService.war
    [INFO] [install:install {execution: default-install}]
    [INFO] Installing D:\works\hello-web-service\target\HelloWebService.war to D:\peru\.m2\rep
    ository\com\yosanai\tutorial\hello-web-service\1.0\hello-web-service-1.0.war
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESSFUL
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 4 seconds
    [INFO] Finished at: Thu Sep 23 19:18:31 PDT 2010
    [INFO] Final Memory: 44M/135M
    [INFO] ------------------------------------------------------------------------

Who's online

There are currently 0 users and 3 guests online.

Who's new

  • Saravana Peruma...