Download simple example Free Java Code
Description
Simple Example from Maven by Example.
Source Files
The download file simple-example-master.zip has the following entries.
.gitignore// w ww. j av a 2s . co m
pom.xml
simple-command/data/weather.properties
simple-command/data/weather.script
simple-command/pom.xml
simple-command/src/main/java/org/sonatype/mavenbook/weather/Main.java
simple-command/src/main/java/org/sonatype/mavenbook/weather/WeatherFormatter.java
simple-command/src/main/resources/log4j.properties
simple-command/src/main/resources/output.vm
simple-command/src/test/java/org/sonatype/mavenbook/weather/yahoo/YahooParserTest.java
simple-command/src/test/resources/format-expected.dat
simple-command/src/test/resources/ny-weather.xml
simple-model/pom.xml
simple-model/src/main/java/META-INF/MANIFEST.MF
simple-model/src/main/java/org/sonatype/mavenbook/weather/model/Atmosphere.java
simple-model/src/main/java/org/sonatype/mavenbook/weather/model/Condition.java
simple-model/src/main/java/org/sonatype/mavenbook/weather/model/Location.java
simple-model/src/main/java/org/sonatype/mavenbook/weather/model/Weather.java
simple-model/src/main/java/org/sonatype/mavenbook/weather/model/Wind.java
simple-model/src/main/resources/log4j.properties
simple-model/src/main/resources/output.vm
simple-model/src/test/resources/format-expected.dat
simple-model/src/test/resources/ny-weather.xml
simple-persist/pom.xml
simple-persist/src/main/java/META-INF/MANIFEST.MF
simple-persist/src/main/java/org/sonatype/mavenbook/weather/persist/LocationDAO.java
simple-persist/src/main/java/org/sonatype/mavenbook/weather/persist/WeatherDAO.java
simple-persist/src/main/resources/applicationContext-persist.xml
simple-persist/src/main/resources/hibernate.cfg.xml
simple-weather/pom.xml
simple-weather/src/main/java/META-INF/MANIFEST.MF
simple-weather/src/main/java/org/sonatype/mavenbook/weather/WeatherService.java
simple-weather/src/main/java/org/sonatype/mavenbook/weather/YahooParser.java
simple-weather/src/main/java/org/sonatype/mavenbook/weather/YahooRetriever.java
simple-weather/src/main/resources/applicationContext-weather.xml
simple-weather/src/test/java/org/sonatype/mavenbook/weather/yahoo/YahooParserTest.java
simple-weather/src/test/resources/format-expected.dat
simple-weather/src/test/resources/ny-weather.xml
simple-webapp/pom.xml
simple-webapp/src/main/java/org/sonatype/mavenbook/web/HistoryController.java
simple-webapp/src/main/java/org/sonatype/mavenbook/web/WeatherController.java
simple-webapp/src/main/webapp/META-INF/MANIFEST.MF
simple-webapp/src/main/webapp/WEB-INF/log4j.properties
simple-webapp/src/main/webapp/WEB-INF/vm/history.vm
simple-webapp/src/main/webapp/WEB-INF/vm/weather.vm
simple-webapp/src/main/webapp/WEB-INF/weather-servlet.xml
simple-webapp/src/main/webapp/WEB-INF/web.xml
simple-webapp/src/main/webapp/index.jsp
Download
Click the following link to download simple-example-master.zip.
simple-example-master.zip