How to run two different goals with one plugin?
hello, I have to run with one Maven command two different processes one for prepare SQL data in java, and second to import it into mysql. I'm not able to run it with configuration I have provide: plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId executions execution goals goaljava/goal /goals configuration mainClasscom.test.JavaToDDL/mainClass arguments argument--fetch/argument /arguments /configuration /execution execution configuration executablemysql/executable arguments argument-uroot/argument argumenttestdb/argument argumentlt;/argument argumentimport/property-data/Property_DATA.sql/argument /arguments /configuration goals goalexec/goal /goals /execution /executions /plugin if I run with mvn exec:exec I got: [ERROR] BUILD ERROR [INFO] [INFO] One or more required plugin parameters are invalid/missing for 'exec:exec' [0] Inside the definition for plugin 'exec-maven-plugin' specify the following: configuration ... executableVALUE/executable /configuration -OR- on the command line, specify: '-Dexec.executable=VALUE' How that can be solved? In mine scenario I need to run both with mvn exec:java exec:exec in that order. I can't find the way of using id maybe it can help? Best regards, Adr - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Repository not working problem
Hello, How to setup timeout for rarely not working repository, or how to set to skip fetching poms from such repositories? I have problem because sometime when developing one of repo is out, and our build waits for it very long period of time - it consider only checking if newer version is available, we got fetched sooner right version for us - how to skip this checking? Best regards, Adr - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]