Depend on a jar via another pom file

2014-01-08 Thread Omar@Gmail
I have a maven module (lets call it M) that requires aspectjrt but M already depends on another pom file that has aspectjrt within its dependency tree like so: M -> middle pom -> aspectjrt The problem is M would not compile unless I express the aspectjrt dependency directly in the M pom file, w

Re: Using Plugin Truncated Name

2014-01-06 Thread Omar@Gmail
configuration pce I then installed the plugin and I tried mvn pce:pull and that worked fine. Job done. On 6 January 2014 12:44, Stephen Connolly wrote: > On 6 January 2014 12:40, Omar@Gmail wrote: > > > I have written my own maven mojo plugin and wish to use the truncated > name > >

Using Plugin Truncated Name

2014-01-06 Thread Omar@Gmail
I have written my own maven mojo plugin and wish to use the truncated name instead of the long name to invoke it, like so: Instead of mvn org.apache.maven.plugins:maven-pce-plugin:pull I want use: mvn pce:pull But even though I put it under group 'org.apache.maven.plugins' and named it maven-pc

Re: Maven Plugin Logging

2014-01-03 Thread Omar@Gmail
> Cleuton Sampaio > > > Em 03/01/2014, às 07:44, "Omar@Gmail" > escreveu: > > > > Hi All, > > > > I implemented my own Maven plugin mojo in which I used log4j + slf4j. In > > the plugin project I have included the correct jars and can see cor

Maven Plugin Logging

2014-01-03 Thread Omar@Gmail
Hi All, I implemented my own Maven plugin mojo in which I used log4j + slf4j. In the plugin project I have included the correct jars and can see correct logging of statements from code. Now I want use this new maven plugin in another client project but having trouble getting it to work correctly.

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

2013-12-11 Thread Omar@Gmail
doing this > properly, its Sonar's fault (I have spent *way* too much time in the > internals of Sonar). > > > On Tue, Dec 10, 2013 at 11:34 AM, Omar@Gmail >wrote: > > > OK I see, so we are throwing it over the fence :) > > > > Sonar has very nice solution for

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

2013-12-09 Thread Omar@Gmail
the trick, so they should know the solution for you. > > Robert > > [1] http://mojo.codehaus.org/sonar-maven-plugin/xref/index.html > > Op Mon, 09 Dec 2013 22:46:51 +0100 schreef Omar@Gmail < > omarnet...@googlemail.com>: > > > Thanks David, >> >> T

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

2013-12-09 Thread Omar@Gmail
hen. > > On Sun, Dec 8, 2013 at 11:55 AM, Omar@Gmail >wrote: > > > Thanks David, > > > > Yes Sonar on separate server. > > > > Also please see > > http://www.mail-archive.com/users@maven.apache.org/msg132123.html > > > > > > On 8 Decem

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

2013-12-08 Thread Omar@Gmail
his? > > > > > On Sat, Dec 7, 2013 at 4:33 AM, Omar@Gmail >wrote: > > > Objective: Get Maven to publish sonar results to running Sonar server > > > > Steps: > > > >- Installed and ran Sonar, accessible from browser > > - The back-e

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

2013-12-08 Thread Omar@Gmail
nstalling#Installing- > installingDatabaseInstallingtheDatabase for the details. > > Robert > > Op Sat, 07 Dec 2013 13:33:09 +0100 schreef Omar@Gmail < > omarnet...@googlemail.com>: > > Objective: Get Maven to publish sonar results to running Sonar server >>

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

2013-12-07 Thread Omar@Gmail
Objective: Get Maven to publish sonar results to running Sonar server Steps: - Installed and ran Sonar, accessible from browser - The back-end database is Oracle - Installed and configured Maven in settings.xml file to connect to the Oracle db - Invoked: mvn clean instal