dbws.simple builder execution from pom working
diff --git a/dbws/dbws.install/README.md b/dbws/dbws.install/README.md
index b045109..4182ed3 100644
--- a/dbws/dbws.install/README.md
+++ b/dbws/dbws.install/README.md
@@ -24,3 +24,10 @@
<artifactId>javax.wsdl</artifactId>
<version>1.6.2</version>
</dependency>
+
+ <dependency>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>javax.servlet</artifactId>
+ <version>2.4.0</version>
+ </dependency>
+
\ No newline at end of file
diff --git a/dbws/dbws.simple/pom.xml b/dbws/dbws.simple/pom.xml
index e423ec3..246e1a7 100644
--- a/dbws/dbws.simple/pom.xml
+++ b/dbws/dbws.simple/pom.xml
@@ -129,9 +129,10 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
<executions>
<execution>
- <id>generateDTOs</id>
+ <id>dbws-builder</id>
<phase>generate-sources</phase>
<goals>
<goal>java</goal>
@@ -140,9 +141,12 @@
<classpathScope>test</classpathScope>
<mainClass>org.eclipse.persistence.tools.dbws.DBWSBuilder</mainClass>
<arguments>
- <argument>-builderFile ${project.basedir}/src/main/resources/dbws-builder.xml</argument>
- <argument>-stageDir ${project.basedir}/target/dbws</argument>
- <argument>-packageAs eclipse</argument>
+ <argument>-builderFile</argument>
+ <argument>${project.basedir}/src/main/resources/dbws-builder.xml</argument>
+ <argument>-stageDir</argument>
+ <argument>${project.basedir}/target</argument>
+ <argument>-packageAs</argument>
+ <argument>eclipse</argument>
</arguments>
</configuration>
</execution>
diff --git a/dbws/dbws.simple/src/main/resources/dbws-builder.xml b/dbws/dbws.simple/src/main/resources/dbws-builder.xml
index 09c523a..9dd8cff 100644
--- a/dbws/dbws.simple/src/main/resources/dbws-builder.xml
+++ b/dbws/dbws.simple/src/main/resources/dbws-builder.xml
@@ -2,7 +2,12 @@
<dbws-builder xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<properties>
<property name="projectName">emp</property>
- ... database properties
+ <property name="logLevel">off</property>
+ <property name="driver">com.mysql.jdbc.Driver</property>
+ <property name="url">jdbc:mysql://localhost:3306/mysql</property>
+ <property name="username">root</property>
+ <property name="password">password</property>
</properties>
- <table catalogPattern="%" tableNamePattern="EMP" />
+ <table schema="mysql" tableNamePattern="D_PERSON" />
+ <table schema="mysql" tableNamePattern="D_ADDRESS" />
</dbws-builder>
\ No newline at end of file
diff --git a/dbws/dbws.simple/src/main/webapp/WEB-INF/web.xml b/dbws/dbws.simple/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 8e81a4d..0000000
--- a/dbws/dbws.simple/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
- http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
- <display-name>EclipseLink Simple DBWS Example</display-name>
-</web-app>
diff --git a/dbws/dbws.simple/src/main/webapp/index.jsp b/dbws/dbws.simple/src/main/webapp/index.jsp
deleted file mode 100644
index c38169b..0000000
--- a/dbws/dbws.simple/src/main/webapp/index.jsp
+++ /dev/null
@@ -1,5 +0,0 @@
-<html>
-<body>
-<h2>Hello World!</h2>
-</body>
-</html>
diff --git a/dbws/dbws.simple/src/main/webapp/index.xhtml b/dbws/dbws.simple/src/main/webapp/index.xhtml
deleted file mode 100644
index f902af8..0000000
--- a/dbws/dbws.simple/src/main/webapp/index.xhtml
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core">
-
-<f:loadBundle basename="resources.application" var="msg"/>
-
-<head>
- <title><h:outputText value="#{msg.welcomeTitle}" /></title>
-</head>
-
-<body>
-<h3><h:outputText value="#{msg.welcomeHeading}" /></h3>
-<p><h:outputText value="#{msg.welcomeMessage}" /></p>
-</body>
-</html>