Is it possible to put a bunch of 3rd party jars into a Maven repository
so that they can be accessed by a project using their original names?
I am developing against a 3rd party software package that includes about
a dozen supporting jar files. I am trying to upload these jars into a
Maven
Maybe this help
http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html
2014-07-24 8:20 GMT-03:00 David Evans da...@evans6.me.uk:
Is it possible to put a bunch of 3rd party jars into a Maven repository
so that they can be accessed by a project using their original names?
I am
The name of artifacts in a Maven repo is not possible to specify yourself.
As you've noticed, they are called artifactId-version (and you can also
have a classifier). So no, you cannot give them their original name if
that is different from that naming scheme.
/Anders
On Thu, Jul 24, 2014 at
Hi David,
Is it possible to put a bunch of 3rd party jars into a Maven repository
so that they can be accessed by a project using their original names?
What do you mean by original names? As they were in Ant? More or simple
answer to this is no, cause Maven has it's rules how artifacts are
Thanks all. It seems that what I want to do doesn't fit naturally into the
Maven way of things.
Using the copy plugin I can see how I might possibly unpack elements and
modify my Eclipse classpath in flight but part of the problem with my
existing Ant deployment is that I've extended it to do
http://maven.apache.org/articles.html
There are a number of books (free and for purchase) and articles that
might help you get up to speed very quickly and give you some ideas
about Best Practices
We all use 3rd party jars (70+ in one of our projects) and Maven makes
this easy.
You declare
Hi,
Le 23/07/2014 20:29, Karl Heinz Marbaise a écrit :
my assumption is to use the maven-compat artifact in your project
Actually, I already had this artifact in my dependencies. ;)
Your answer gave me the idea to try without, but it was worst.
Le 23/07/2014 22:06, Martin Gainty a écrit :
If you're using ant, why not also use Ivy? Then you can make use of the maven
standard named artifacts.
Cody Fyler
Lending Grid Build Team
G=Lending Grid Builds
(515) - 441 - 0814
-Original Message-
From: David Evans [mailto:da...@evans6.me.uk]
Sent: Thursday, July 24, 2014 7:58 AM
On 24/07/2014 8:57 AM, David Evans wrote:
Thanks all. It seems that what I want to do doesn't fit naturally into the
Maven way of things.
Using the copy plugin I can see how I might possibly unpack elements and
modify my Eclipse classpath in flight but part of the problem with my
existing Ant
From: cody.a.fy...@wellsfargo.com
To: users@maven.apache.org
Subject: RE: Upload 3rd party jars retaining original names
Date: Thu, 24 Jul 2014 13:06:11 +
If you're using ant, why not also use Ivy? Then you can make use of the maven
standard named artifacts.
MGCody...how would
Hi David,
* I'll carry on with the libraries in my [Perforce] SCM.
* I can map them to a project folder as I do now
(similar to sources, resources, etc).
See Stephen Connelly's blog post on dealing with non-Maven JARs:
Hi All,
I am trying to execute a particular sql script conditionally in a
profile(POM.XML).
Example: assume I had a following profile in a POM.xml
if I run mvn -Pload-test-data -e
it's executing all scripts mentioned in SrcFiles tag.
But I am trying to execute script3.sql only when a particular
Hi,
I would suggest adding a second profile which is triggered only when the
other property is specified and only executes the third script. It's a bit
of duplication, but it should work.
When both profiles get activated, the plugin configurations will get merged.
I hope this helps!
Kind
There are two typical things done - you either use two profiles or you use a
plugin which supports a skip property.
other ways are hard to understand (like adding a property to the include
pattern to make it not find the resource) and should be avoided.
i dont know if your particular
thanks very much(martin and brend) for your prompt replies .
i.e.., can I conditionally invoke a profile within the other profile?
or
create a two profiles and run a separate command for each of them?
ex: mvn -Pcreate-profile1 -e(to execute script1 and script2
You cannot conditionally trigger one profile from within the other. You
will need to have two separate ones.
On Thu, Jul 24, 2014 at 6:17 PM, hanuman hanumannallap...@gmail.com wrote:
thanks very much(martin and brend) for your prompt replies .
i.e.., can I conditionally invoke a profile
http://books.sonatype.com/mvnref-book/reference/profiles-sect-activation.html#profiles-sect-activation-config
suggests that you might be able to split your task into 2 sections.
Put the first 2 sql scripts in a profile that is always activated and
put the 3rd one into a profile that is only
Le jeudi 24 juillet 2014 12:05:37 Barrie Treloar a écrit :
On 24 July 2014 01:08, Vincent Zurczak vincent.zurc...@linagora.com wrote:
Hi,
I am not sure this is the right mailing-list.
Maybe I should have posted to the dev list. Anyway...
I have started working on new Maven plug-in
I am running a target in ant. This target depends on external task
from ddlutils.
profile
iddb/id
build
plugins
plugin
groupIdorg.apache.maven.
plugins/groupId
Can you not just add all database drivers and have any of them available
at run-time?
Ron
On 24/07/2014 5:18 PM, Mansour Al Akeel wrote:
I am running a target in ant. This target depends on external task
from ddlutils.
profile
iddb/id
build
Let me make sure I understand what you suggest.
You are suggesting to add all available JDBC drivers to the plugin
dependencies list. This should solve the problem.
It might be a work around, but wondering if there's a solution that
allows me to access maven pom dependencies from taskdef, for the
Hi Arnaud,
What version of Java are you using. I am using Java 8U11.
Regards
Alex
On 22/07/14 20:51, Arnaud bourree wrote:
I used argLine-Djava.library.path=.../argLine without issue with
Netbeans 8 and Surefire 2.17
Arnaud
2014-07-21 22:03 GMT+02:00 Alexander a...@j2anywhere.com:
I
On 24/07/2014 5:52 PM, Mansour Al Akeel wrote:
Let me make sure I understand what you suggest.
You are suggesting to add all available JDBC drivers to the plugin
dependencies list. This should solve the problem.
It also allows the system administrator to select the database at
installation
Hello
I am having a heck of a time working with XSD files and maven. I am working on
a mac. It looks like I have the latest and greatest xjc.
Any idea what my bug is?
Kind regards
Andy
$ which java
/usr/bin/java
$ java -version
java version 1.7.0_21
Java(TM) SE Runtime Environment (build
24 matches
Mail list logo