Re: Trying to get multiple profiles to execute
Hmm tried that and the plugin complained that it could not find the configs: [ERROR] Failed to execute goal com.dbdeploy:maven-dbdeploy-plugin:3.0M3:update (default-cli) on project Core2DB: The parameters 'driver' for goal com.dbdeploy:maven-dbdeploy-plugin:3.0M3:update are missing or invalid - [Help 1] ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.cx/groupId artifactIdCore2DB/artifactId version1.0-SNAPSHOT/version profiles profile activation activeByDefaulttrue/activeByDefault /activation idcore2DB/id build plugins plugin executions execution idcore2DB/id configuration scriptdirectoryscripts/scriptdirectory drivercom.mysql.jdbc.Driver/driver dbmsmysql/dbms outputfileup_migrations.sql/outputfile undoOutputfiledown_migrations.sql/undoOutputfile urljdbc:mysql://localhost/cxc2/url /configuration /execution /executions groupIdcom.dbdeploy/groupId artifactIdmaven-dbdeploy-plugin/artifactId version3.0M3/version dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.1.6/version /dependency /dependencies /plugin /plugins /build /profile profile idactivityDB/id activation activeByDefaulttrue/activeByDefault /activation build plugins plugin executions execution idactivityDB/id configuration scriptdirectoryactivityDBScripts/scriptdirectory drivercom.mysql.jdbc.Driver/driver dbmsmysql/dbms outputfileup_migrations.sql/outputfile undoOutputfiledown_migrations.sql/undoOutputfile urljdbc:mysql://localhost/activity/url /configuration /execution /executions groupIdcom.dbdeploy/groupId artifactIdmaven-dbdeploy-plugin/artifactId version3.0M3/version dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.1.6/version /dependency /dependencies /plugin /plugins /build /profile /profiles /project On Thu, Jan 5, 2012 at 2:57 PM, Matt Walsh mwa...@chartwelltechnology.comwrote: You might be getting conflicts in your configuration. Try moving your configurations inside the execution/ blocks. -Original Message- From: Artie Peshimam [mailto:apeshi...@gmail.com] Sent: Thursday, January 05, 2012 11:25 AM To: users@maven.apache.org Subject: Trying to get multiple profiles to execute Hi All, Im trying to get multiple maven profiles to execute, but am having no success. It's very straight forward. I have two profiles executing the same plugin with a slight variation in configuration and each has a unique execution Id. When I try to execute maven, only one of the profiles actually is run. Ideas? Here's my POM: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.cx/groupId artifactIdCore2DB/artifactId version1.0-SNAPSHOT/version profiles profile activationactiveByDefaulttrue/activeByDefault/activation idcore2DB/id build plugins plugin executions execution idcore2DB/id /execution
RE: Trying to get multiple profiles to execute
Change one of your ids to default-cli. -Original Message- From: Artie Peshimam [mailto:apeshi...@gmail.com] Sent: Monday, January 09, 2012 10:43 AM To: Maven Users List Subject: Re: Trying to get multiple profiles to execute Hmm tried that and the plugin complained that it could not find the configs: [ERROR] Failed to execute goal com.dbdeploy:maven-dbdeploy-plugin:3.0M3:update (default-cli) on project Core2DB: The parameters 'driver' for goal com.dbdeploy:maven-dbdeploy-plugin:3.0M3:update are missing or invalid - [Help 1] ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.cx/groupId artifactIdCore2DB/artifactId version1.0-SNAPSHOT/version profiles profile activation activeByDefaulttrue/activeByDefault /activation idcore2DB/id build plugins plugin executions execution idcore2DB/id configuration scriptdirectoryscripts/scriptdirectory drivercom.mysql.jdbc.Driver/driver dbmsmysql/dbms outputfileup_migrations.sql/outputfile undoOutputfiledown_migrations.sql/undoOutputfile urljdbc:mysql://localhost/cxc2/url /configuration /execution /executions groupIdcom.dbdeploy/groupId artifactIdmaven-dbdeploy-plugin/artifactId version3.0M3/version dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.1.6/version /dependency /dependencies /plugin /plugins /build /profile profile idactivityDB/id activation activeByDefaulttrue/activeByDefault /activation build plugins plugin executions execution idactivityDB/id configuration scriptdirectoryactivityDBScripts/scriptdirectory drivercom.mysql.jdbc.Driver/driver dbmsmysql/dbms outputfileup_migrations.sql/outputfile undoOutputfiledown_migrations.sql/undoOutputfile urljdbc:mysql://localhost/activity/url /configuration /execution /executions groupIdcom.dbdeploy/groupId artifactIdmaven-dbdeploy-plugin/artifactId version3.0M3/version dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.1.6/version /dependency /dependencies /plugin /plugins /build /profile /profiles /project On Thu, Jan 5, 2012 at 2:57 PM, Matt Walsh mwa...@chartwelltechnology.comwrote: You might be getting conflicts in your configuration. Try moving your configurations inside the execution/ blocks. -Original Message- From: Artie Peshimam [mailto:apeshi...@gmail.com] Sent: Thursday, January 05, 2012 11:25 AM To: users@maven.apache.org Subject: Trying to get multiple profiles to execute Hi All, Im trying to get multiple maven profiles to execute, but am having no success. It's very straight forward. I have two profiles executing the same plugin with a slight variation in configuration and each has a unique execution Id. When I try to execute maven, only one of the profiles actually is run. Ideas? Here's my POM: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.cx/groupId artifactIdCore2DB/artifactId version1.0-SNAPSHOT/version profiles profile activationactiveByDefaulttrue/activeByDefault/activation
RE: Trying to get multiple profiles to execute
You may want to read this article: http://maven.apache.org/guides/mini/guide-default-execution-ids.html -Original Message- From: Matt Walsh [mailto:mwa...@chartwelltechnology.com] Sent: Monday, January 09, 2012 10:58 AM To: Maven Users List Subject: RE: Trying to get multiple profiles to execute Change one of your ids to default-cli. -Original Message- From: Artie Peshimam [mailto:apeshi...@gmail.com] Sent: Monday, January 09, 2012 10:43 AM To: Maven Users List Subject: Re: Trying to get multiple profiles to execute Hmm tried that and the plugin complained that it could not find the configs: [ERROR] Failed to execute goal com.dbdeploy:maven-dbdeploy-plugin:3.0M3:update (default-cli) on project Core2DB: The parameters 'driver' for goal com.dbdeploy:maven-dbdeploy-plugin:3.0M3:update are missing or invalid - [Help 1] ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.cx/groupId artifactIdCore2DB/artifactId version1.0-SNAPSHOT/version profiles profile activation activeByDefaulttrue/activeByDefault /activation idcore2DB/id build plugins plugin executions execution idcore2DB/id configuration scriptdirectoryscripts/scriptdirectory drivercom.mysql.jdbc.Driver/driver dbmsmysql/dbms outputfileup_migrations.sql/outputfile undoOutputfiledown_migrations.sql/undoOutputfile urljdbc:mysql://localhost/cxc2/url /configuration /execution /executions groupIdcom.dbdeploy/groupId artifactIdmaven-dbdeploy- plugin/artifactId version3.0M3/version dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.1.6/version /dependency /dependencies /plugin /plugins /build /profile profile idactivityDB/id activation activeByDefaulttrue/activeByDefault /activation build plugins plugin executions execution idactivityDB/id configuration scriptdirectoryactivityDBScripts/scriptdirectory drivercom.mysql.jdbc.Driver/driver dbmsmysql/dbms outputfileup_migrations.sql/outputfile undoOutputfiledown_migrations.sql/undoOutputfile urljdbc:mysql://localhost/activity/url /configuration /execution /executions groupIdcom.dbdeploy/groupId artifactIdmaven-dbdeploy- plugin/artifactId version3.0M3/version dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.1.6/version /dependency /dependencies /plugin /plugins /build /profile /profiles /project On Thu, Jan 5, 2012 at 2:57 PM, Matt Walsh mwa...@chartwelltechnology.comwrote: You might be getting conflicts in your configuration. Try moving your configurations inside the execution/ blocks. -Original Message- From: Artie Peshimam [mailto:apeshi...@gmail.com] Sent: Thursday, January 05, 2012 11:25 AM To: users@maven.apache.org Subject: Trying to get multiple profiles to execute Hi All, Im trying to get multiple maven profiles to execute, but am having no success. It's very straight forward. I have two profiles executing the same plugin with a slight variation in configuration and each has a unique execution Id. When I try to execute maven, only one of the profiles actually is run. Ideas? Here's my POM: ?xml version=1.0 encoding=UTF-8? project
RE: Trying to get multiple profiles to execute
You might be getting conflicts in your configuration. Try moving your configurations inside the execution/ blocks. -Original Message- From: Artie Peshimam [mailto:apeshi...@gmail.com] Sent: Thursday, January 05, 2012 11:25 AM To: users@maven.apache.org Subject: Trying to get multiple profiles to execute Hi All, Im trying to get multiple maven profiles to execute, but am having no success. It's very straight forward. I have two profiles executing the same plugin with a slight variation in configuration and each has a unique execution Id. When I try to execute maven, only one of the profiles actually is run. Ideas? Here's my POM: ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.cx/groupId artifactIdCore2DB/artifactId version1.0-SNAPSHOT/version profiles profile activationactiveByDefaulttrue/activeByDefault/activation idcore2DB/id build plugins plugin executions execution idcore2DB/id /execution /executions groupIdcom.dbdeploy/groupId artifactIdmaven-dbdeploy-plugin/artifactId version3.0M3/version configuration scriptdirectoryscripts/scriptdirectory drivercom.mysql.jdbc.Driver/driver dbmsmysql/dbms outputfileup_migrations.sql/outputfile undoOutputfiledown_migrations.sql/undoOutputfile urljdbc:mysql://localhost/cxc2/url /configuration dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.1.6/version /dependency /dependencies /plugin /plugins /build /profile profile idactivityDB/id activationactiveByDefaulttrue/activeByDefault/activation build plugins plugin executions execution idactivityDB/id /execution /executions groupIdcom.dbdeploy/groupId artifactIdmaven-dbdeploy-plugin/artifactId version3.0M3/version configuration scriptdirectoryactivityDBScripts/scriptdirectory drivercom.mysql.jdbc.Driver/driver dbmsmysql/dbms outputfileup_migrations.sql/outputfile undoOutputfiledown_migrations.sql/undoOutputfile urljdbc:mysql://localhost/activity/url /configuration dependencies dependency groupIdmysql/groupId artifactIdmysql-connector-java/artifactId version5.1.6/version /dependency /dependencies /plugin /plugins /build /profile /profiles /project __ This message, including any attachments, is confidential and contains information intended only for the person(s) named above. Any other distribution, copying or disclosure is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify us immediately by reply email and permanently delete the original transmission from all of your systems and hard drives, including any attachments, without making a copy. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org