Bernd,
what about using enforcer's requireProperty rule?
Regards
Mirko
--
Sent from my mobile
On Mar 7, 2014 10:20 PM, "Bernd Eckenfels" wrote:
> Hello,
>
> we use in a lot of projects special assembly descriptors, which
> typically use the following pattern:
>
> ...
> distribution
>
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 the
> 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
I'm not sure where I need to add a dependency declaration for the ojdbc
driver
These are the references to oracle
pom.xml
com.oracle
ojdbc6
11.2.0.1
provided
src/test/resources/jdbcproperties
jdbc.driverClassName=oracle.jdbc.Ora
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
C:\Users\david.kennedy\.m2\repository\com\oracle\ojdbc6\11.2.0.1\ojdbc
> 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), cen
> pom.xml
>
> com.oracle
> ojdbc6
> 11.2.0.1
> provided
>
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.
Also consider changing the scope just for testin
> 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: users-unsubscr...@maven.a
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?
com.oracle
ojdbc6
11.2.0.1
Downloadin
I have a dependency
net.kolotyluk.windows
elevate
0.0.1-SNAPSHOT
exe
test
The artifact is in my local repository installed from an NPanday build,
but I want to be able to refer to it in my regular Java/Scala projects.
In particular, my unit tests need to
> 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, se
> 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?
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 wrote:
> > Understandably
> >
> C:\Users\Eric\.m2\repository\net\kolotyluk\windows\e
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 a
14 matches
Mail list logo