[ http://jira.codehaus.org/browse/MAVEN-410?page=comments#action_71524 ] Arnaud Heritier commented on MAVEN-410: ---------------------------------------
It's perhaps not enough visible but I think that we can close this issue. > maven plugins seem to choke on properties containing a "-"? > ----------------------------------------------------------- > > Key: MAVEN-410 > URL: http://jira.codehaus.org/browse/MAVEN-410 > Project: Maven > Issue Type: Bug > Components: core > Affects Versions: 1.0-beta-9 > Environment: RedHat Linux 7.3, JDK 1.3.1 > Reporter: Henning Schmiedehausen > Fix For: 1.1-rc1 > > > I'm using the Torque plugin to create id-table init sql files from my > XML schemas. If I download maven 1.0b9 from apache.org, install it and > then issue > % maven -X torque > I get > torque:id-table-init-sql: > Using contextProperties file: > /mnt/home.net/henning/cvs/turbine-2/project.properties > [torque-sql] [VERBOSE] Using templatePath: > /mnt/home.net/henning/cvs/turbine-2/src/torqueTemplates > [torque-sql] Using classpath > [torque-sql] Generating to file > /mnt/home.net/henning/cvs/turbine-2/target/sql/report.idtable-init.sql.generation > [torque-sql] [DEBUG] fileset: Setup scanner in dir > /mnt/home.net/henning/cvs/turbine-2/target with patternSet{ includes: [0] > excludes: [0] } > BUILD SUCCESSFUL > Total time: 7 seconds > Note the [0] for include and exclude list in the file scanner. > If I now load the plugin.properties and plugin.jelly file from > Torque and replace in both files for the properties > torque.schema.init-sql.includes > torque.schema.init-sql.excludes > the "init-sql" part with "initsql" > and re-issue the command: > % maven -X torque > then I get > torque:id-table-init-sql: > Using contextProperties file: > /mnt/home.net/henning/cvs/turbine-2/project.properties > [torque-sql] [VERBOSE] Using templatePath: > /mnt/home.net/henning/cvs/turbine-2/src/torqueTemplates > [torque-sql] Using classpath > [torque-sql] Generating to file > /mnt/home.net/henning/cvs/turbine-2/target/sql/report.idtable-init.sql.generation > [torque-sql] [DEBUG] fileset: Setup scanner in dir > /mnt/home.net/henning/cvs/turbine-2/target with patternSet{ includes: > [*-schema.xml] excludes: [id-table-schema.xml] } > Parsing file: 'scheduler-schema.xml' > log4j:WARN No appenders could be found for logger > (org.apache.torque.engine.database.transform.DTDResolver). > log4j:WARN Please initialize the log4j system properly. > Parsing file: 'torque-security-schema.xml' > Parsing file: 'scheduler-idtable-schema.xml' > Parsing file: 'torque-security-idtable-schema.xml' > BUILD SUCCESSFUL > Total time: 9 seconds > Note that now the file scanner correctly picks up my schema files > and builds the sql init files. -- 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