On 8 March 2011 03:11, Wayne Fay wrote:
>
> So you're proposing that the Maven client download a snapshot artifact
> named A-1.0.0-20110302.160157-17.jar and then rename it to
> A-1.0.0-SNAPSHOT.jar when it stores the file locally? This is the
> functionality that you want? (I'm making no promises
Any recommendations for developing an "embedded Maven" that will work for
both 2.x and 3.x users? My current setup works for 2.x users, but if I
upgrade to a new way for 3.x, I'm afraid it'll break 2.x support.
--
View this message in context:
http://maven.40175.n5.nabble.com/Upgrading-maven-embe
Hello,
I want to validate XML files, but the module description below only
detects the false format pattern in Java files. Although also using the
property "fileExtensions" additionally [1], I don't get my XML files
validated. I'm using version 2.6 of the Maven checkstyle plugin and
define a
Yes, maybe
I don't know how was working maven 2 for this, but if it is the simplest way
then yes.
Does it sound a reasonnable request/feature ?
thanks
Yann.
--
View this message in context:
http://maven.40175.n5.nabble.com/Issue-with-mvn3-timestamp-snapshots-being-downloaded-in-local-repository-
> I don't think that you can embed the dependent jars with the jar. IIRC the
> spec doesn't allow that. But you can shade the classes from the dependent
> jars to make one uber-jar.
As Anders stated, the standard class loader in the Sun JVM does not
have any ability to load a jar file contained wi
> snapshot artifacts will always be deployed using a timestamped version. But
> I don't understand why this behaviour has been removed for the dowload of
> jars in the local repo ?
So you're proposing that the Maven client download a snapshot artifact
named A-1.0.0-20110302.160157-17.jar and then
I did the test with the new maven 3.0.3 distribution and I still get the same
behaviour.
For me, it sounds like a regression compare to Maven 2.
I understand why for deployment this behaviour has been removed so that
snapshot artifacts will always be deployed using a timestamped version. But
I don
Have a look at the maven-assembly-plugin with
jar-with-dependencies configured. It is also
possible to define a main class to generate an executable jar.
-Ursprüngliche Nachricht-
Von: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com] Im Auftrag
von Anders Hammar
Gesendet: Mo
Hi Ankit
Jar artifacts are not meant to contain other jar's in them If you need to bind
all the required jar's within an artifact then probably you need to use war
aftifact or ellse provide the dependent jars to the container either manualy or
by release script.
Regards
Vishal
__
I don't think that you can embed the dependent jars with the jar. IIRC the
spec doesn't allow that. But you can shade the classes from the dependent
jars to make one uber-jar.
There are lots of examples of making executable jars with Maven on the
Internet. There are also lots of examples on how to
Hi
I am sorry for attaching a wrong pom.
I will try to redefine my problem.
I have a small project which has a main method in class file CheckResources.
I have some more classes which are dependent on external jar. I need to make
a executable jar file for this program which contains the depend
I get "Error reading assemblies: No assembly descriptors found" when
building my project.I'm trying to set permissions for my .sh files and
exclude a nasty .jar file that makes my application crash...I don't
think the problem is about that though
My maven-assembly plugin is added like this
I don't understand what the problem is?
Also, it looks like your trying to create a war artifact in a jar project.
You should split your project into a multi-module build, where you have on
module creating the jar and one module building the war. There are examples
of this on the Internet.
/Ander
Hi
I am facing problem while creating jar for my project.
I have added the dependencies. it adds all the jar file path in my class
path in manifest file. dependency scope is set as "compile"
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:sc
14 matches
Mail list logo