vraptor-scaffold 1.3.0.rc → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc.example +1 -0
- data/.travis.yml +2 -1
- data/CHANGELOG.rdoc +22 -3
- data/Rakefile +2 -2
- data/lib/vraptor-scaffold.rb +1 -1
- data/lib/vraptor-scaffold/generators/app/app_generator.rb +23 -56
- data/lib/vraptor-scaffold/generators/app/dependency/default_dependencies.rb +44 -0
- data/lib/vraptor-scaffold/generators/app/{dependency.rb → dependency/dependency.rb} +0 -0
- data/lib/vraptor-scaffold/generators/app/dependency/dependency_manager.rb +25 -0
- data/lib/vraptor-scaffold/generators/app/dependency/gae_dependencies.rb +49 -0
- data/lib/vraptor-scaffold/generators/app/dependency/heroku_dependencies.rb +48 -0
- data/lib/vraptor-scaffold/generators/app/freemarker_template_engine.rb +7 -5
- data/lib/vraptor-scaffold/generators/app/gae_app_generator.rb +145 -0
- data/lib/vraptor-scaffold/generators/app/jsp_template_engine.rb +6 -5
- data/lib/vraptor-scaffold/generators/app/templates/build-gae.xml +144 -0
- data/lib/vraptor-scaffold/generators/app/templates/build.gradle.erb +4 -4
- data/lib/vraptor-scaffold/generators/app/templates/eclipse/classpath-gae.erb +1 -3
- data/lib/vraptor-scaffold/generators/app/templates/eclipse/classpath.erb +1 -1
- data/lib/vraptor-scaffold/generators/app/templates/eclipse/project-gae.erb +2 -2
- data/lib/vraptor-scaffold/generators/app/templates/eclipse/settings-gae/com.google.appengine.eclipse.core.prefs +4 -0
- data/lib/vraptor-scaffold/generators/app/templates/eclipse/settings-gae/com.google.gdt.eclipse.core.prefs +1 -2
- data/lib/vraptor-scaffold/generators/app/templates/freemarker/macros/html.ftl +12 -0
- data/lib/vraptor-scaffold/generators/app/templates/freemarker/main.ftl.erb +18 -0
- data/lib/vraptor-scaffold/generators/app/templates/gae/appengine-web.xml.tt +1 -0
- data/lib/vraptor-scaffold/generators/app/templates/gae/ivysettings.xml +1 -1
- data/lib/vraptor-scaffold/generators/app/templates/gitignore-gae +4 -0
- data/lib/vraptor-scaffold/generators/app/templates/ivy.erb +3 -3
- data/lib/vraptor-scaffold/generators/app/templates/jsp/main.jsp.erb +20 -0
- data/lib/vraptor-scaffold/generators/app/templates/pom.erb +3 -3
- data/lib/vraptor-scaffold/generators/app/templates/vraptor-scaffold-gae.erb +7 -0
- data/lib/vraptor-scaffold/generators/base.rb +21 -0
- data/lib/vraptor-scaffold/generators/scaffold/attribute.rb +7 -1
- data/lib/vraptor-scaffold/generators/scaffold/base_scaffold.rb +18 -0
- data/lib/vraptor-scaffold/generators/scaffold/controller_generator/templates/controller.erb +26 -1
- data/lib/vraptor-scaffold/generators/scaffold/controller_generator/templates/controller_test.erb +1 -1
- data/lib/vraptor-scaffold/generators/scaffold/import_manager.rb +20 -0
- data/lib/vraptor-scaffold/generators/scaffold/model_generator/templates/model.erb +7 -4
- data/lib/vraptor-scaffold/generators/scaffold/model_generator/templates/objectify_model.erb +3 -3
- data/lib/vraptor-scaffold/generators/scaffold/template_engine_generator/freemarker_generator/templates/form.erb +8 -0
- data/lib/vraptor-scaffold/generators/scaffold/template_engine_generator/jsp_generator/templates/form.erb +13 -3
- data/lib/vraptor-scaffold/load_paths.rb +3 -3
- data/lib/vraptor-scaffold/runner/generator.rb +11 -1
- data/lib/vraptor-scaffold/runner/start.rb +1 -1
- data/lib/vraptor-scaffold/version.rb +1 -1
- data/maven/repo/br/com/caelum/vraptor3.4-compatible-gae/1.1/vraptor3.4-compatible-gae-1.1.jar +0 -0
- data/spec/spec_helper.rb +9 -1
- data/spec/vraptor-scaffold/generators/app/app_generator_spec.rb +47 -99
- data/spec/vraptor-scaffold/generators/app/dependency/dependency_manager_spec.rb +21 -0
- data/spec/vraptor-scaffold/generators/app/{dependency_spec.rb → dependency/dependency_spec.rb} +4 -4
- data/spec/vraptor-scaffold/generators/app/dependency/gae_dependencies_spec.rb +20 -0
- data/spec/vraptor-scaffold/generators/app/dependency/heroku_dependencies_spec.rb +20 -0
- data/spec/vraptor-scaffold/generators/app/freemarker_template_engine_spec.rb +49 -7
- data/spec/vraptor-scaffold/generators/app/gae_app_generator_spec.rb +286 -0
- data/spec/vraptor-scaffold/generators/app/jsp_template_engine_spec.rb +49 -7
- data/spec/vraptor-scaffold/generators/app/templates/build.gradle +6 -6
- data/spec/vraptor-scaffold/generators/app/templates/classpath-gae +1 -3
- data/spec/vraptor-scaffold/generators/app/templates/gae-jsp-web.xml +1 -1
- data/spec/vraptor-scaffold/generators/app/templates/ivy-gae.xml +8 -6
- data/spec/vraptor-scaffold/generators/app/templates/ivy.xml +5 -5
- data/{lib/vraptor-scaffold/generators/app/templates/freemarker/main.ftl → spec/vraptor-scaffold/generators/app/templates/main-with-jquery.ftl} +0 -0
- data/{lib/vraptor-scaffold/generators/app/templates/jsp/main.jsp → spec/vraptor-scaffold/generators/app/templates/main-with-jquery.jsp} +0 -0
- data/spec/vraptor-scaffold/generators/app/templates/main-without-jquery.ftl +14 -0
- data/spec/vraptor-scaffold/generators/app/templates/main-without-jquery.jsp +16 -0
- data/spec/vraptor-scaffold/generators/app/templates/pom-heroku.xml +5 -5
- data/spec/vraptor-scaffold/generators/app/templates/pom.xml +5 -5
- data/spec/vraptor-scaffold/generators/app/templates/project-gae +2 -2
- data/spec/vraptor-scaffold/generators/app/templates/vraptor-scaffold-gae.properties +7 -0
- data/spec/vraptor-scaffold/generators/plugin/expected_configs/build.gradle +7 -7
- data/spec/vraptor-scaffold/generators/plugin/expected_configs/default_org_build.gradle +6 -6
- data/spec/vraptor-scaffold/generators/plugin/expected_configs/default_org_ivy.xml +5 -5
- data/spec/vraptor-scaffold/generators/plugin/expected_configs/default_org_pom.xml +5 -5
- data/spec/vraptor-scaffold/generators/plugin/expected_configs/ivy.xml +6 -6
- data/spec/vraptor-scaffold/generators/plugin/expected_configs/pom.xml +6 -6
- data/spec/vraptor-scaffold/generators/plugin/plugin_generator_spec.rb +7 -7
- data/spec/vraptor-scaffold/generators/scaffold/attribute_spec.rb +198 -181
- data/spec/vraptor-scaffold/generators/scaffold/base_scaffold_spec.rb +7 -1
- data/spec/vraptor-scaffold/generators/scaffold/controller_generator/templates/ProductController.java +9 -1
- data/spec/vraptor-scaffold/generators/scaffold/freemarker_generator/templates/form.ftl +15 -0
- data/spec/vraptor-scaffold/generators/scaffold/import_manager_spec.rb +9 -0
- data/spec/vraptor-scaffold/generators/scaffold/jsp_generator/templates/form.jsp +23 -3
- data/spec/vraptor-scaffold/generators/scaffold/model_generator/model_generator_spec.rb +2 -2
- data/spec/vraptor-scaffold/generators/scaffold/model_generator/objectify_model_generator_spec.rb +6 -6
- data/spec/vraptor-scaffold/generators/scaffold/model_generator/templates/Objectify_Product.java +23 -5
- data/spec/vraptor-scaffold/generators/scaffold/model_generator/templates/Product.java +24 -6
- data/spec/vraptor-scaffold/http_request_spec.rb +10 -0
- data/spec/vraptor-scaffold/runner/generator_spec.rb +18 -2
- metadata +86 -30
- data/lib/vraptor-scaffold/generators/app/dependency_manager.rb +0 -83
- data/spec/vraptor-scaffold/generators/app/dependency_manager_spec.rb +0 -34
@@ -8,6 +8,9 @@ describe JspTemplateEngine do
|
|
8
8
|
@web_inf = "#{@project_path}/#{Configuration::WEB_INF}"
|
9
9
|
@decorators = "#{@web_inf}/jsp/decorators"
|
10
10
|
@app = "#{@project_path}/#{Configuration::MAIN_SRC}/app"
|
11
|
+
|
12
|
+
mock_http_request()
|
13
|
+
|
11
14
|
AppGenerator.new(@project_path).invoke_all
|
12
15
|
end
|
13
16
|
|
@@ -22,34 +25,73 @@ describe JspTemplateEngine do
|
|
22
25
|
end
|
23
26
|
|
24
27
|
it "should create views folder" do
|
25
|
-
File.exist?("#{@web_inf}/jsp").should be_true
|
28
|
+
File.exist?("#{@web_inf}/jsp").should be_true
|
26
29
|
end
|
27
30
|
|
28
31
|
it "should create decorator file" do
|
29
|
-
|
30
|
-
destination = "#{@decorators}/main.jsp"
|
31
|
-
exists_and_identical?(source, destination)
|
32
|
+
File.exists?("#{@decorators}/main.jsp").should be_true
|
32
33
|
end
|
33
34
|
|
34
35
|
it "should not create infrastructure folder" do
|
35
|
-
File.exist?("#{@app}/infrastructure").should be_false
|
36
|
+
File.exist?("#{@app}/infrastructure").should be_false
|
36
37
|
end
|
37
38
|
|
38
39
|
it "should not create path resolver" do
|
39
40
|
to = "#{@app}/infrastructure/FreemarkerPathResolver.java"
|
40
41
|
File.exist?(to).should be_false
|
41
42
|
end
|
42
|
-
|
43
|
+
|
43
44
|
it "should create web.xml" do
|
44
45
|
source = File.join File.dirname(__FILE__), "templates", "jsp-web.xml"
|
45
46
|
destination = "#{@web_inf}/web.xml"
|
46
47
|
exists_and_identical?(source, destination)
|
47
48
|
end
|
48
|
-
|
49
|
+
|
49
50
|
it "should create prelude.jspf" do
|
50
51
|
source = "#{JspTemplateEngine.source_root}/prelude.jspf"
|
51
52
|
destination = "#{@web_inf}/jsp/prelude.jspf"
|
52
53
|
exists_and_identical?(source, destination)
|
53
54
|
end
|
54
55
|
end
|
56
|
+
|
57
|
+
context "building a jsp application with jquery" do
|
58
|
+
before(:all) do
|
59
|
+
@project_path = "src/vraptor-scaffold-with-jquery"
|
60
|
+
@web_inf = "#{@project_path}/#{Configuration::WEB_INF}"
|
61
|
+
@decorators = "#{@web_inf}/jsp/decorators"
|
62
|
+
|
63
|
+
mock_http_request()
|
64
|
+
|
65
|
+
AppGenerator.new(@project_path).invoke_all
|
66
|
+
end
|
67
|
+
|
68
|
+
after(:all) do
|
69
|
+
FileUtils.remove_dir("src/vraptor-scaffold-with-jquery")
|
70
|
+
end
|
71
|
+
|
72
|
+
it "should create a main file with jquery js import" do
|
73
|
+
source = File.join File.dirname(__FILE__), "templates", "main-with-jquery.jsp"
|
74
|
+
destination = "#{@decorators}/main.jsp"
|
75
|
+
exists_and_identical?(source, destination)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
context "building a jsp application without jquery" do
|
80
|
+
before(:all) do
|
81
|
+
@project_path = "src/vraptor-scaffold-without-jquery"
|
82
|
+
@web_inf = "#{@project_path}/#{Configuration::WEB_INF}"
|
83
|
+
@decorators = "#{@web_inf}/jsp/decorators"
|
84
|
+
AppGenerator.new(@project_path, ["--skip-jquery"]).invoke_all
|
85
|
+
end
|
86
|
+
|
87
|
+
after(:all) do
|
88
|
+
FileUtils.remove_dir("src/vraptor-scaffold-without-jquery")
|
89
|
+
end
|
90
|
+
|
91
|
+
it "should create a main file with jquery js import" do
|
92
|
+
source = File.join File.dirname(__FILE__), "templates", "main-without-jquery.jsp"
|
93
|
+
destination = "#{@decorators}/main.jsp"
|
94
|
+
exists_and_identical?(source, destination)
|
95
|
+
end
|
96
|
+
end
|
55
97
|
end
|
@@ -34,17 +34,17 @@ sourceSets {
|
|
34
34
|
sourceSets.main.classesDir = new File('src/main/webapp/WEB-INF/classes')
|
35
35
|
|
36
36
|
jettyRun.scanIntervalSeconds=3
|
37
|
-
jettyRun.contextPath = '/'
|
37
|
+
jettyRun.contextPath = '/'
|
38
38
|
[jettyRunWar,jettyStop]*.stopPort = 8081
|
39
39
|
[jettyRunWar,jettyStop]*.stopKey = 'stopKey'
|
40
40
|
|
41
41
|
dependencies {
|
42
|
-
compile group: 'br.com.caelum', name: 'vraptor', version: '3.4.
|
42
|
+
compile group: 'br.com.caelum', name: 'vraptor', version: '3.4.1'
|
43
43
|
compile group: 'opensymphony', name: 'sitemesh', version: '2.4.2'
|
44
44
|
compile group: 'javax.servlet', name: 'jstl', version: '1.2'
|
45
|
-
compile group: 'org.hsqldb', name: 'hsqldb', version: '2.2.
|
46
|
-
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '
|
47
|
-
compile group: 'org.hibernate', name: 'hibernate-c3p0', version: '
|
45
|
+
compile group: 'org.hsqldb', name: 'hsqldb', version: '2.2.8'
|
46
|
+
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '4.0.1.Final'
|
47
|
+
compile group: 'org.hibernate', name: 'hibernate-c3p0', version: '4.0.1.Final'
|
48
48
|
compile group: 'org.hibernate', name: 'hibernate-validator', version: '4.2.0.Final'
|
49
49
|
compile group: 'joda-time', name: 'joda-time', version: '2.0'
|
50
50
|
compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.1'
|
@@ -56,5 +56,5 @@ dependencies {
|
|
56
56
|
//Test dependencies
|
57
57
|
testCompile group: 'junit', name: 'junit', version: '4.10'
|
58
58
|
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.1'
|
59
|
-
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.
|
59
|
+
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.0'
|
60
60
|
}
|
@@ -2,8 +2,6 @@
|
|
2
2
|
<classpath>
|
3
3
|
<classpathentry kind="src" path="src/main/java"/>
|
4
4
|
<classpathentry kind="src" path="src/main/resources"/>
|
5
|
-
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
6
|
-
<classpathentry kind="src" output="target/test-classes" path="src/test/resources"/>
|
7
5
|
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
8
6
|
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
|
9
7
|
|
@@ -11,7 +9,7 @@
|
|
11
9
|
|
12
10
|
<classpathentry kind="lib" path="lib/test/hamcrest-all-1.1.jar"/>
|
13
11
|
|
14
|
-
<classpathentry kind="lib" path="lib/test/mockito-all-1.
|
12
|
+
<classpathentry kind="lib" path="lib/test/mockito-all-1.9.0.jar"/>
|
15
13
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
16
14
|
<classpathentry kind="con" path="com.google.appengine.eclipse.core.GAE_CONTAINER"/>
|
17
15
|
<classpathentry kind="output" path="src/main/webapp/WEB-INF/classes"/>
|
@@ -10,18 +10,20 @@
|
|
10
10
|
</configurations>
|
11
11
|
|
12
12
|
<dependencies>
|
13
|
-
<dependency org="br.com.caelum" name="vraptor" rev="3.
|
13
|
+
<dependency org="br.com.caelum" name="vraptor" rev="3.4.1" conf="default">
|
14
|
+
<exclude org="org.objenesis" name="objenesis" />
|
15
|
+
</dependency>
|
14
16
|
<dependency org="opensymphony" name="sitemesh" rev="2.4.2" conf="default" />
|
15
17
|
<dependency org="javax.servlet" name="jstl" rev="1.2" conf="default" />
|
16
18
|
<dependency org="org.hibernate" name="hibernate-validator" rev="4.2.0.Final" conf="default" />
|
17
19
|
<dependency org="joda-time" name="joda-time" rev="2.0" conf="default" />
|
18
20
|
<dependency org="com.thoughtworks.xstream" name="xstream" rev="1.4.1" conf="default" />
|
19
21
|
<dependency org="com.googlecode.objectify" name="objectify" rev="3.1" conf="default" />
|
20
|
-
<dependency org="br.com.caelum" name="
|
22
|
+
<dependency org="br.com.caelum" name="vraptor3.4-compatible-gae" rev="1.1" conf="default" />
|
21
23
|
<dependency org="commons-fileupload" name="commons-fileupload" rev="1.2.2" conf="default" />
|
22
|
-
<dependency org="com.google.appengine" name="appengine-api-1.0-sdk" rev="1.
|
23
|
-
<dependency org="com.google.appengine" name="appengine-api-labs" rev="1.
|
24
|
-
<dependency org="com.google.appengine" name="appengine-jsr107cache" rev="1.
|
24
|
+
<dependency org="com.google.appengine" name="appengine-api-1.0-sdk" rev="1.7.2.1" conf="default" />
|
25
|
+
<dependency org="com.google.appengine" name="appengine-api-labs" rev="1.7.2.1" conf="default" />
|
26
|
+
<dependency org="com.google.appengine" name="appengine-jsr107cache" rev="1.7.2.1" conf="default" />
|
25
27
|
<dependency org="net.sf.jsr107cache" name="jsr107cache" rev="1.1" conf="default" />
|
26
28
|
<dependency org="org.apache.geronimo.specs" name="geronimo-jpa_3.0_spec" rev="1.1.1" conf="default" />
|
27
29
|
|
@@ -32,7 +34,7 @@
|
|
32
34
|
<!-- Test dependencies -->
|
33
35
|
<dependency org="junit" name="junit" rev="4.10" conf="test->default" />
|
34
36
|
<dependency org="org.hamcrest" name="hamcrest-all" rev="1.1" conf="test->default" />
|
35
|
-
<dependency org="org.mockito" name="mockito-all" rev="1.
|
37
|
+
<dependency org="org.mockito" name="mockito-all" rev="1.9.0" conf="test->default" />
|
36
38
|
|
37
39
|
<!-- Jetty dependencies -->
|
38
40
|
<dependency org="org.mortbay.jetty" name="jsp-api-2.1" rev="6.1.14" conf="jetty->default" />
|
@@ -10,12 +10,12 @@
|
|
10
10
|
</configurations>
|
11
11
|
|
12
12
|
<dependencies>
|
13
|
-
<dependency org="br.com.caelum" name="vraptor" rev="3.4.
|
13
|
+
<dependency org="br.com.caelum" name="vraptor" rev="3.4.1" conf="default" />
|
14
14
|
<dependency org="opensymphony" name="sitemesh" rev="2.4.2" conf="default" />
|
15
15
|
<dependency org="javax.servlet" name="jstl" rev="1.2" conf="default" />
|
16
|
-
<dependency org="org.hsqldb" name="hsqldb" rev="2.2.
|
17
|
-
<dependency org="org.hibernate" name="hibernate-entitymanager" rev="
|
18
|
-
<dependency org="org.hibernate" name="hibernate-c3p0" rev="
|
16
|
+
<dependency org="org.hsqldb" name="hsqldb" rev="2.2.8" conf="default" />
|
17
|
+
<dependency org="org.hibernate" name="hibernate-entitymanager" rev="4.0.1.Final" conf="default" />
|
18
|
+
<dependency org="org.hibernate" name="hibernate-c3p0" rev="4.0.1.Final" conf="default" />
|
19
19
|
<dependency org="org.hibernate" name="hibernate-validator" rev="4.2.0.Final" conf="default" />
|
20
20
|
<dependency org="joda-time" name="joda-time" rev="2.0" conf="default" />
|
21
21
|
<dependency org="com.thoughtworks.xstream" name="xstream" rev="1.4.1" conf="default" />
|
@@ -27,7 +27,7 @@
|
|
27
27
|
<!-- Test dependencies -->
|
28
28
|
<dependency org="junit" name="junit" rev="4.10" conf="test->default" />
|
29
29
|
<dependency org="org.hamcrest" name="hamcrest-all" rev="1.1" conf="test->default" />
|
30
|
-
<dependency org="org.mockito" name="mockito-all" rev="1.
|
30
|
+
<dependency org="org.mockito" name="mockito-all" rev="1.9.0" conf="test->default" />
|
31
31
|
|
32
32
|
<!-- Jetty dependencies -->
|
33
33
|
<dependency org="org.mortbay.jetty" name="jsp-api-2.1" rev="6.1.14" conf="jetty->default" />
|
File without changes
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
5
|
+
<@html.css "application"/>
|
6
|
+
<title>Vraptor Scaffold</title>
|
7
|
+
${head}
|
8
|
+
</head>
|
9
|
+
|
10
|
+
<body>
|
11
|
+
${body}
|
12
|
+
<@html.js "application"/>
|
13
|
+
</body>
|
14
|
+
</html>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
|
2
|
+
|
3
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
+
|
5
|
+
<html>
|
6
|
+
<head>
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
8
|
+
<title><decorator:title default="Vraptor Scaffold"/></title>
|
9
|
+
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/stylesheets/application.css"/>
|
10
|
+
<decorator:head/>
|
11
|
+
</head>
|
12
|
+
<body>
|
13
|
+
<decorator:body/>
|
14
|
+
<script type="text/javascript" src="${pageContext.request.contextPath}/javascripts/application.js"></script>
|
15
|
+
</body>
|
16
|
+
</html>
|
@@ -79,7 +79,7 @@
|
|
79
79
|
<dependency>
|
80
80
|
<groupId>br.com.caelum</groupId>
|
81
81
|
<artifactId>vraptor</artifactId>
|
82
|
-
<version>3.4.
|
82
|
+
<version>3.4.1</version>
|
83
83
|
</dependency>
|
84
84
|
<dependency>
|
85
85
|
<groupId>opensymphony</groupId>
|
@@ -94,17 +94,17 @@
|
|
94
94
|
<dependency>
|
95
95
|
<groupId>org.hsqldb</groupId>
|
96
96
|
<artifactId>hsqldb</artifactId>
|
97
|
-
<version>2.2.
|
97
|
+
<version>2.2.8</version>
|
98
98
|
</dependency>
|
99
99
|
<dependency>
|
100
100
|
<groupId>org.hibernate</groupId>
|
101
101
|
<artifactId>hibernate-entitymanager</artifactId>
|
102
|
-
<version>
|
102
|
+
<version>4.0.1.Final</version>
|
103
103
|
</dependency>
|
104
104
|
<dependency>
|
105
105
|
<groupId>org.hibernate</groupId>
|
106
106
|
<artifactId>hibernate-c3p0</artifactId>
|
107
|
-
<version>
|
107
|
+
<version>4.0.1.Final</version>
|
108
108
|
</dependency>
|
109
109
|
<dependency>
|
110
110
|
<groupId>org.hibernate</groupId>
|
@@ -153,7 +153,7 @@
|
|
153
153
|
<dependency>
|
154
154
|
<groupId>org.mockito</groupId>
|
155
155
|
<artifactId>mockito-all</artifactId>
|
156
|
-
<version>1.
|
156
|
+
<version>1.9.0</version>
|
157
157
|
<scope>test</scope>
|
158
158
|
</dependency>
|
159
159
|
|
@@ -57,7 +57,7 @@
|
|
57
57
|
<dependency>
|
58
58
|
<groupId>br.com.caelum</groupId>
|
59
59
|
<artifactId>vraptor</artifactId>
|
60
|
-
<version>3.4.
|
60
|
+
<version>3.4.1</version>
|
61
61
|
</dependency>
|
62
62
|
<dependency>
|
63
63
|
<groupId>opensymphony</groupId>
|
@@ -72,17 +72,17 @@
|
|
72
72
|
<dependency>
|
73
73
|
<groupId>org.hsqldb</groupId>
|
74
74
|
<artifactId>hsqldb</artifactId>
|
75
|
-
<version>2.2.
|
75
|
+
<version>2.2.8</version>
|
76
76
|
</dependency>
|
77
77
|
<dependency>
|
78
78
|
<groupId>org.hibernate</groupId>
|
79
79
|
<artifactId>hibernate-entitymanager</artifactId>
|
80
|
-
<version>
|
80
|
+
<version>4.0.1.Final</version>
|
81
81
|
</dependency>
|
82
82
|
<dependency>
|
83
83
|
<groupId>org.hibernate</groupId>
|
84
84
|
<artifactId>hibernate-c3p0</artifactId>
|
85
|
-
<version>
|
85
|
+
<version>4.0.1.Final</version>
|
86
86
|
</dependency>
|
87
87
|
<dependency>
|
88
88
|
<groupId>org.hibernate</groupId>
|
@@ -116,7 +116,7 @@
|
|
116
116
|
<dependency>
|
117
117
|
<groupId>org.mockito</groupId>
|
118
118
|
<artifactId>mockito-all</artifactId>
|
119
|
-
<version>1.
|
119
|
+
<version>1.9.0</version>
|
120
120
|
<scope>test</scope>
|
121
121
|
</dependency>
|
122
122
|
|
@@ -26,12 +26,12 @@
|
|
26
26
|
</arguments>
|
27
27
|
</buildCommand>
|
28
28
|
<buildCommand>
|
29
|
-
<name>com.google.appengine.eclipse.core.
|
29
|
+
<name>com.google.appengine.eclipse.core.projectValidator</name>
|
30
30
|
<arguments>
|
31
31
|
</arguments>
|
32
32
|
</buildCommand>
|
33
33
|
<buildCommand>
|
34
|
-
<name>com.google.appengine.eclipse.core.
|
34
|
+
<name>com.google.appengine.eclipse.core.enhancerbuilder</name>
|
35
35
|
<arguments>
|
36
36
|
</arguments>
|
37
37
|
</buildCommand>
|
@@ -34,19 +34,19 @@ sourceSets {
|
|
34
34
|
sourceSets.main.classesDir = new File('src/main/webapp/WEB-INF/classes')
|
35
35
|
|
36
36
|
jettyRun.scanIntervalSeconds=3
|
37
|
-
jettyRun.contextPath = '/'
|
37
|
+
jettyRun.contextPath = '/'
|
38
38
|
[jettyRunWar,jettyStop]*.stopPort = 8081
|
39
39
|
[jettyRunWar,jettyStop]*.stopKey = 'stopKey'
|
40
40
|
|
41
41
|
dependencies {
|
42
|
-
compile group: 'br.com.caelum.vraptor
|
42
|
+
compile group: 'br.com.caelum.vraptor', name: 'vraptor-environment', version: '0.0.8'
|
43
43
|
|
44
|
-
compile group: 'br.com.caelum', name: 'vraptor', version: '3.4.
|
44
|
+
compile group: 'br.com.caelum', name: 'vraptor', version: '3.4.1'
|
45
45
|
compile group: 'opensymphony', name: 'sitemesh', version: '2.4.2'
|
46
46
|
compile group: 'javax.servlet', name: 'jstl', version: '1.2'
|
47
|
-
compile group: 'org.hsqldb', name: 'hsqldb', version: '2.2.
|
48
|
-
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '
|
49
|
-
compile group: 'org.hibernate', name: 'hibernate-c3p0', version: '
|
47
|
+
compile group: 'org.hsqldb', name: 'hsqldb', version: '2.2.8'
|
48
|
+
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '4.0.1.Final'
|
49
|
+
compile group: 'org.hibernate', name: 'hibernate-c3p0', version: '4.0.1.Final'
|
50
50
|
compile group: 'org.hibernate', name: 'hibernate-validator', version: '4.2.0.Final'
|
51
51
|
compile group: 'joda-time', name: 'joda-time', version: '2.0'
|
52
52
|
compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.1'
|
@@ -58,5 +58,5 @@ dependencies {
|
|
58
58
|
//Test dependencies
|
59
59
|
testCompile group: 'junit', name: 'junit', version: '4.10'
|
60
60
|
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.1'
|
61
|
-
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.
|
61
|
+
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.0'
|
62
62
|
}
|
@@ -34,19 +34,19 @@ sourceSets {
|
|
34
34
|
sourceSets.main.classesDir = new File('src/main/webapp/WEB-INF/classes')
|
35
35
|
|
36
36
|
jettyRun.scanIntervalSeconds=3
|
37
|
-
jettyRun.contextPath = '/'
|
37
|
+
jettyRun.contextPath = '/'
|
38
38
|
[jettyRunWar,jettyStop]*.stopPort = 8081
|
39
39
|
[jettyRunWar,jettyStop]*.stopKey = 'stopKey'
|
40
40
|
|
41
41
|
dependencies {
|
42
42
|
compile group: 'br.com.caelum.vraptor', name: 'vraptor-environment', version: '0.0.8'
|
43
43
|
|
44
|
-
compile group: 'br.com.caelum', name: 'vraptor', version: '3.4.
|
44
|
+
compile group: 'br.com.caelum', name: 'vraptor', version: '3.4.1'
|
45
45
|
compile group: 'opensymphony', name: 'sitemesh', version: '2.4.2'
|
46
46
|
compile group: 'javax.servlet', name: 'jstl', version: '1.2'
|
47
|
-
compile group: 'org.hsqldb', name: 'hsqldb', version: '2.2.
|
48
|
-
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '
|
49
|
-
compile group: 'org.hibernate', name: 'hibernate-c3p0', version: '
|
47
|
+
compile group: 'org.hsqldb', name: 'hsqldb', version: '2.2.8'
|
48
|
+
compile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '4.0.1.Final'
|
49
|
+
compile group: 'org.hibernate', name: 'hibernate-c3p0', version: '4.0.1.Final'
|
50
50
|
compile group: 'org.hibernate', name: 'hibernate-validator', version: '4.2.0.Final'
|
51
51
|
compile group: 'joda-time', name: 'joda-time', version: '2.0'
|
52
52
|
compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.1'
|
@@ -58,5 +58,5 @@ dependencies {
|
|
58
58
|
//Test dependencies
|
59
59
|
testCompile group: 'junit', name: 'junit', version: '4.10'
|
60
60
|
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: '1.1'
|
61
|
-
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.
|
61
|
+
testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.0'
|
62
62
|
}
|
@@ -11,12 +11,12 @@
|
|
11
11
|
|
12
12
|
<dependencies>
|
13
13
|
<dependency org="br.com.caelum.vraptor" name="vraptor-environment" rev="0.0.8" conf="default" />
|
14
|
-
<dependency org="br.com.caelum" name="vraptor" rev="3.4.
|
14
|
+
<dependency org="br.com.caelum" name="vraptor" rev="3.4.1" conf="default" />
|
15
15
|
<dependency org="opensymphony" name="sitemesh" rev="2.4.2" conf="default" />
|
16
16
|
<dependency org="javax.servlet" name="jstl" rev="1.2" conf="default" />
|
17
|
-
<dependency org="org.hsqldb" name="hsqldb" rev="2.2.
|
18
|
-
<dependency org="org.hibernate" name="hibernate-entitymanager" rev="
|
19
|
-
<dependency org="org.hibernate" name="hibernate-c3p0" rev="
|
17
|
+
<dependency org="org.hsqldb" name="hsqldb" rev="2.2.8" conf="default" />
|
18
|
+
<dependency org="org.hibernate" name="hibernate-entitymanager" rev="4.0.1.Final" conf="default" />
|
19
|
+
<dependency org="org.hibernate" name="hibernate-c3p0" rev="4.0.1.Final" conf="default" />
|
20
20
|
<dependency org="org.hibernate" name="hibernate-validator" rev="4.2.0.Final" conf="default" />
|
21
21
|
<dependency org="joda-time" name="joda-time" rev="2.0" conf="default" />
|
22
22
|
<dependency org="com.thoughtworks.xstream" name="xstream" rev="1.4.1" conf="default" />
|
@@ -28,7 +28,7 @@
|
|
28
28
|
<!-- Test dependencies -->
|
29
29
|
<dependency org="junit" name="junit" rev="4.10" conf="test->default" />
|
30
30
|
<dependency org="org.hamcrest" name="hamcrest-all" rev="1.1" conf="test->default" />
|
31
|
-
<dependency org="org.mockito" name="mockito-all" rev="1.
|
31
|
+
<dependency org="org.mockito" name="mockito-all" rev="1.9.0" conf="test->default" />
|
32
32
|
|
33
33
|
<!-- Jetty dependencies -->
|
34
34
|
<dependency org="org.mortbay.jetty" name="jsp-api-2.1" rev="6.1.14" conf="jetty->default" />
|
@@ -62,7 +62,7 @@
|
|
62
62
|
<dependency>
|
63
63
|
<groupId>br.com.caelum</groupId>
|
64
64
|
<artifactId>vraptor</artifactId>
|
65
|
-
<version>3.4.
|
65
|
+
<version>3.4.1</version>
|
66
66
|
</dependency>
|
67
67
|
<dependency>
|
68
68
|
<groupId>opensymphony</groupId>
|
@@ -77,17 +77,17 @@
|
|
77
77
|
<dependency>
|
78
78
|
<groupId>org.hsqldb</groupId>
|
79
79
|
<artifactId>hsqldb</artifactId>
|
80
|
-
<version>2.2.
|
80
|
+
<version>2.2.8</version>
|
81
81
|
</dependency>
|
82
82
|
<dependency>
|
83
83
|
<groupId>org.hibernate</groupId>
|
84
84
|
<artifactId>hibernate-entitymanager</artifactId>
|
85
|
-
<version>
|
85
|
+
<version>4.0.1.Final</version>
|
86
86
|
</dependency>
|
87
87
|
<dependency>
|
88
88
|
<groupId>org.hibernate</groupId>
|
89
89
|
<artifactId>hibernate-c3p0</artifactId>
|
90
|
-
<version>
|
90
|
+
<version>4.0.1.Final</version>
|
91
91
|
</dependency>
|
92
92
|
<dependency>
|
93
93
|
<groupId>org.hibernate</groupId>
|
@@ -121,7 +121,7 @@
|
|
121
121
|
<dependency>
|
122
122
|
<groupId>org.mockito</groupId>
|
123
123
|
<artifactId>mockito-all</artifactId>
|
124
|
-
<version>1.
|
124
|
+
<version>1.9.0</version>
|
125
125
|
<scope>test</scope>
|
126
126
|
</dependency>
|
127
127
|
|