[ 
http://jira.codehaus.org/browse/MOJO-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103916
 ] 

Andrey Utkin commented on MOJO-871:
-----------------------------------

FYI. I have slightly patched META-INF/maven/plugin.xml by hand:
{code}
*** 36,41 ****
--- 36,48 ----
            <description>SQL Statement delimiter.</description>
          </parameter>
          <parameter>
+           <name>delimiterType</name>
+           <type>org.codehaus.mojo.sql.DelimiterType_</type>
+           <required>false</required>
+           <editable>true</editable>
+           <description>SQL Statement delimiter type.</description>
+         </parameter>
+         <parameter>
            <name>driver</name>
            <type>java.lang.String</type>
            <required>true</required>
{code}

It seems works just fine.

> it is not possible to set delimiterType property by 
> <configuration>/<delimiterType>
> -----------------------------------------------------------------------------------
>
>                 Key: MOJO-871
>                 URL: http://jira.codehaus.org/browse/MOJO-871
>             Project: Mojo
>          Issue Type: Bug
>          Components: sql
>            Reporter: Andrey Utkin
>            Priority: Critical
>
> sql-maven-plugin version 1.0.
> Running pom.xml:
> {code}
> ...
> /<build>/<plugins>/<plugin>/<executions>/<execution>/<configuration>/
> <delimiterType>row</delimiterType>
> <delimiter>$</delimiter>
> ...
> {code}
> delimiterType property still has value 'normal'. 
> Debug output from mvn:
> {code}
> ...
> [DEBUG] Configuring mojo 'org.codehaus.mojo:sql-maven-plugin:1.0:execute' -->
> [DEBUG]   (f) autocommit = true
> [DEBUG]   (s) delimiter = $
> [DEBUG]   (s) driver = org.postgresql.Driver
> [DEBUG]   (s) onError = continue
> [DEBUG]   (f) settings = [EMAIL PROTECTED]
> [DEBUG]   (f) settingsKey = unit_test
> [DEBUG]   (f) skip = false
> [DEBUG]   (s) srcFiles = [Ljava.io.File;@1f6df4c
> [DEBUG]   (s) url = jdbc:postgresql://localhost/cstest
> [DEBUG] -- end configuration --
> .....
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to