Re: Fail assembly plugin if symbols are unknown

2014-03-08 Thread Mirko Friedenhagen
Bernd, what about using enforcer's requireProperty rule? Regards Mirko -- Sent from my mobile On Mar 7, 2014 10:20 PM, Bernd Eckenfels e...@zusammenkunft.net wrote: Hello, we use in a lot of projects special assembly descriptors, which typically use the following pattern: assembly ...

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Dave Kennedy
debug logging enabled I updated the ojdbc6-11.2.0.1.pom file (see below) and the 'invalid' message did not appear. Now there is an error running JUnit tests: No suitable driver found for oracle:thin:@dataserver.com:1521:dbname I can PING the database in GlassFish Domain Admin Console and view

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
I updated the ojdbc6-11.2.0.1.pom file (see below) and the 'invalid' message did not appear. Good. Now there is an error running JUnit tests: No suitable driver found for oracle:thin:@dataserver.com:1521:dbname Most likely you are missing a dependency declaration for the ojdbc driver in the

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Dave Kennedy
I'm not sure where I need to add a dependency declaration for the ojdbc driver These are the references to oracle pom.xml dependency groupIdcom.oracle/groupId artifactIdojdbc6/artifactId version11.2.0.1/version scopeprovided/scope

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Dave Kennedy
In the log, there is a reference to 'no dependency information available', but the POM for com.oracle:ojdbc6:jar:11.2.0.1 exists. Any help/suggestions on how to resolve this issue would be appreciated. Verifying availability of

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
In the log, there is a reference to 'no dependency information available', ... Verifying availability of C:\Users\david.kennedy\.m2\repository\com\oracle\ojdbc6\11.2.0.1\ojdbc6-11.2.0.1.pom from [eclipselink (http://download.eclipse.org/rt/eclipselink/maven.repo/, releases+snapshots), central

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
pom.xml dependency groupIdcom.oracle/groupId artifactIdojdbc6/artifactId version11.2.0.1/version scopeprovided/scope /dependency What is the complete path in the pom.xml file to this dependency node? Use XSLT or post the pom

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
What is the complete path in the pom.xml file to this dependency node? Use XSLT or post the pom file at pastebin, gist, etc. Of course I meant, use XPath (syntax) Wayne - To unsubscribe, e-mail:

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Dave Kennedy
The database and pom are on a remote server, and the downloaded POM is not valid: 'modelVersion' is missing. I don't have control over the server so I cannot change the POM. Is there a way to have maven ignore the modelVersion is missing error? project groupIdcom.oracle/groupId

Maven Dependency on exe

2014-03-08 Thread Eric Kolotyluk
I have a dependency dependency groupIdnet.kolotyluk.windows/groupId artifactIdelevate/artifactId version0.0.1-SNAPSHOT/version typeexe/type scopetest/scope /dependency The artifact is in my local repository installed from an NPanday build, but I want to be

Re: Netbeans 7.4 maven POM for com.oracle:ojdbc6:jar:11.2.0.1 is invalid

2014-03-08 Thread Wayne Fay
I don't have control over the server so I cannot change the POM. Is there a way to have maven ignore the modelVersion is missing error? Can you not open a ticket/bug somehow to request they fix this file? Or perhaps find a different repository that hosts the (corrected) file? Or worst case, set

Re: Maven Dependency on exe

2014-03-08 Thread Wayne Fay
Understandably C:\Users\Eric\.m2\repository\net\kolotyluk\windows\elevate\0.0.1-SNAPSHOT\elevate-0.0.1-SNAPSHOT.exe does not show up on the classpath, but is there some way to pass this information from Maven to the tests so they can find the executable? What unit test tool are you using? I

Re: Maven Dependency on exe

2014-03-08 Thread Dan Tran
use maven dependency to copy your exe into your target/dependency directory. Once that happen, you pass ${project.build.directory}/dependency/your.exe to your test -D On Sat, Mar 8, 2014 at 7:53 PM, Wayne Fay wayne...@gmail.com wrote: Understandably

Re: Maven Dependency on exe

2014-03-08 Thread Eric Kolotyluk
Cool, that does exactly what I want. Thanks so much. Cheers, Eric On 3/8/2014 9:33 PM, Dan Tran wrote: use maven dependency to copy your exe into your target/dependency directory. Once that happen, you pass ${project.build.directory}/dependency/your.exe to your test -D On Sat, Mar 8, 2014