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
...
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
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
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
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
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
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
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:
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
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
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
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
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
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
14 matches
Mail list logo