AndroMDA Maven Plug-in Settings

andromda:run

Property Required Description
maven.andromda.configuration.uri Yes The URI to the AndroMDA configuration file(this configures AndroMDA). For example: maven.andromda.configuration.uri=file:${maven.conf.dir}/andromda.xml
maven.andromda.currentPlugin No Specifies the current plugin which this plugin is running within. You'll need to specify this property if you want to be able to define namespace properties when calling this plugin from within another plugin. (i.e. you'd specify this within the containing plugin: <j:set var="maven.andromda.currentPlugin" value="${plugin}"/>).
maven.andromda.run.without.ant No, default is true. Whether or not AndroMDA should be run without Ant, this is sometimes not desirable as it isn't possible to run forked without running inside of Ant. However setting this value to true renders much greater times in initialization speed therefore increasing the speed in which a model is processed. Please note that when running with this flag to true, you'll need to explicitly specify any modules within the moduleSearchLocations element of your AndroMDA configuration (because modules will NOT be able to be found on the classpath).

andromda:schema2xmi

Property Required Description
maven.andromda.schema2xmi.inputModel No The URI to the input model. If this isn't provided, then a new model will be created.
maven.andromda.schema2xmi.user No The schema user name. If this isn't provided, you'll be prompted to enter it.
maven.andromda.schema2xmi.password No The schema user's password. If this isn't provided, you'll be prompted to enter it.
maven.andromda.schema2xmi.connectionUrl No The connection URL for the database (i.e. jdbc:oracle:thin:@youroraclehost:1521:yoursid). If this isn't provided, you'll be prompted to enter it.
maven.andromda.schema2xmi.driverClass No The class name for the JDBC driver. (i.e. oracle.jdbc.driver.OracleDriver). If this isn't provided, you'll be prompted to enter it.
maven.andromda.schema2xmi.mappingsUri No The URI to the mappings file, which maps SQL types (and JDBC types) to model types.
maven.andromda.schema2xmi.outputModel Yes The location to which the output model will be written. Default is ${maven.build.dir}/schema2xmi/transformed.xmi.
maven.andromda.schema2xmi.package No Specifies the name of the package to which the model classes will be added. If not specified classes are added directly to the model itself.
maven.andromda.schema2xmi.tablePattern No A regular expression pattern for limiting the number of tables matched when reading the schema. (i.e. [\p{Lower}\p{Upper}[_]]* will match all table names having upper or lower case letters, and containing underscores.
maven.andromda.schema2xmi.columnPattern No A regular expression pattern for limiting the number of columns added when reading the schema. (i.e. FIRST_NAME|LAST_NAME will match on columns named FIRST_NAME and LAST_NAME in any of the tables).
maven.andromda.schema2xmi.schema No A schema name; must match the schema name as it is stored in the database. If you do not specifiy it then it will not be used to narrow the table search.
maven.andromda.schema2xmi.classStereotype No A comma separated list of stereotype(s) to add to the generated model classes. Default is Entity.
maven.andromda.schema2xmi.identifierStereotype No A comma separated list of stereotype(s) to add to the generated model class identifiers. Default is Identifier.
maven.andromda.schema2xmi.tableTaggedValue No The table name tagged value to add to the generated model classes.
maven.andromda.schema2xmi.columnTaggedValue No The column name tagged value to add to the generated model class attributes.