Re: Sonar with Maven: Fail to connect to database: Cannot loa d JDBC driver class 'oracle.jdbc.OracleDriver'

2013-12-11 Thread Omar@Gmail
Thanks Richard, Sounds like you know your stuff. I will check and confirm. Many Thanks Omar On 11 December 2013 03:05, Richard Vowles rich...@bluetrainsoftware.comwrote: Sonar downloads everything it needs (jar file wise) inside the plugin and adds them to its Maven plugin classpath. If

Painless way to update a frameworks group id?

2013-12-11 Thread Christofer Dutz
Hi, I am the current maintainer of the Flexmojos Maven Plugin and contributor to the Apache Flex Project. Currently I am working on a new Version of Flexmojos which is able to work with Flex SDKs that have a groupId of org.apache.flex instead of the old com.adobe.flex. While building

Re: How to resolve right dependency which enabled and built/install with profile?

2013-12-11 Thread Stephen Connolly
You are looking for the impossible. You want A to work with any version of libjar You want B to use A but not know which version of libjar the A it is using depends on... actually to be independent of the version of libjar that A depends on... but also to bundle the specific one... Rethink what

Overriding artifact to be installed/deployed

2013-12-11 Thread Bruce Albrecht
One of my teams is trying to build a bundled application that first builds a jar file using the jar plugin and then uses maven-exec plugin to run something that bundles the jar file into a specialized osgi bundle. When we run the mvn install or deploy, it will deploy the jar file created by the

Re: Overriding artifact to be installed/deployed

2013-12-11 Thread Ron Wheeler
I think that your suggestion has a lot of merit. It is easier to optimize something that works than to try to make something new without a set of working components. Ron On 11/12/2013 11:50 AM, Bruce Albrecht wrote: One of my teams is trying to build a bundled application that first builds a

Re: Rsync Plugin?

2013-12-11 Thread Phil Lello
Several years late, but I've written a prototype rsync wagon, called rsync-maven-wagon. It's available through maven central, and the homepage is http://www.pcl-solutions.com/maven/rsync-maven-wagon/1.0/ http://www.pcl-solutions.com/maven/rsync-maven-wagon/1.0/ Please use the linked mailing

how to run compile and packaging before test?

2013-12-11 Thread Andrew E. Davidson
Hi my unit test require I a *.tar.gz. The *.tar.gz needs to include the 3rd party dependencies and the projects jar file artifact. I tried using an assembly and setting the phase, so it will run before the unit tests run, how ever my project artifact has not been packaged yet Any comments

Re: how to run compile and packaging before test?

2013-12-11 Thread Lyons, Roy
I have a feeling that you aren't running unit tests, but instead integration tests... http://maven.apache.org/surefire/maven-failsafe-plugin/ is what you want! that happens after the package phase. On 12/11/13 4:57 PM, Andrew E. Davidson andy_david...@apple.com wrote: Hi my unit test require

Re: how to run compile and packaging before test?

2013-12-11 Thread Andrew E. Davidson
Hi Roy we use plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId /plugin is this a problem? Andy On Dec 11, 2013, at 3:19 PM, Lyons, Roy

Maven does not download the jar but it download the pom

2013-12-11 Thread javi.lse
I have been reading some question similar issue with downloading the jars but none seem to be really related to my problem. I am migrating a project from using Eclipse indigo SR2 runtime to use eclipse Kepler SR1. I had created one maven repository with the eclipse bundles that i needed from

Re: how to run compile and packaging before test?

2013-12-11 Thread Barrie Treloar
Please have a look at the freely available books at http://maven.apache.org/articles.html These will help you understand the Maven lifecycle and what you should be doing in each phase. As Roy points out, you are doing integration tests. You can also pull these out into their own module so they

RE: How to resolve right dependency which enabled and built/install with profile?

2013-12-11 Thread Liu, Raymond
Actually, I think it is possible, though probably could not be done by current Maven implementation. As long as B can know which libjar the shim A is built upon. I am saying that it is possible is because that I can achieve the goal with SBT, when sbt do publish local, it will fill the profile