about. Can you explain this a little
more, especially where did this Jar come from and what is in it?
Wayne
On Sat, Oct 25, 2008 at 8:35 PM, Adrian Tarau [EMAIL PROTECTED]
wrote:
I'm trying(without success) to deploy Velocity artifacts into a Maven
repository and I cannot figure out how
I'm trying(without success) to deploy Velocity artifacts into a Maven
repository and I cannot figure out how to add aditional artifacts like
sources, javadoc and also an aditional jar with all Velocity dependencies.
I was able(following some example) to install Velocity main artifact, but my
Hi Eric,
Yes you can. I had the same need to add dynamic dependency.
I can give you a short explanation how to do it.
You can create a Java bean class which has a property 'project' of type
Project, and in your maven.xml you can initialize the bean and set the
current
j:new var=bean
I had the same need for a project. In the same project I build jars,
war, ear and because those jars was not in project.xml and the ear
plugin create the application.xml only from dependiencies I made a small
tool to inject dynamic dependiences before running the ear goals; and it
works well
I have a small problem with idea plugin. I have project where I have an
artifact with type ejb.
Why the type ejb is not included in the project libraries? In fact it is
a jar.
Hi,
I'm trying to load a POM with a piece of code found in the test files :
Project project = MavenUtils.getProject(new
File(maven/test/maven/project1.xml));
project.initialize();
but I get a strange exception(the POM is valid because is teke it from a
project) :
annot evaluate method:
(AppMain.java:78)
-Original Message-
From: Adrian Tarau
Sent: Monday, November 29, 2004 10:37 AM
To: [EMAIL PROTECTED]
Subject: Loading a POM
Hi,
I'm trying to load a POM with a piece of code found in the test files :
Project project = MavenUtils.getProject(new
File(maven/test/maven
.
-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED]
Sent: Monday, November 29, 2004 10:13 AM
To: Maven Users List
Subject: Re: Loading a POM
On Mon, 2004-11-29 at 10:36, Adrian Tarau wrote:
Hi,
I'm trying to load a POM with a piece of code found in the test files :
What
How can I force the maven to stop de build process, and display a message about
why the build was failed from a Java Bean called from build.xml?
Hi,
I want to build an ear, and in the ear I want to put a war or jar which is not
define in the dependences (it is build in this project).
It is possible to add it in the dependences so the ear plugin will see it? Or I
need to write Java code for this?
Thanks.
}
includes=${maven.jar.includes}
This will fix the problem.
Hope it helps
Eric.
Adrian Tarau wrote:
Hmmm, it doesn't work.
I use it like this: in a postGoal jar:jar I want to call again the jar:jar
goal with some properties changed to create another jar. For that I must
changed
is, by default, unique. A single jar.
We have a project here that builds over 30 jars and its not really an
issue. The product we build is not a simple artifact anyway so nowhere
in our build is the unique artifact refered.
Hope it helps.
Eric.
Adrian Tarau wrote:
Hi,
It is possible to create 2 jars
to get parent's instead
#
maven.build.dir=${parent.base.dir}/target
maven.src.dir=${parent.base.dir}/src/java
With this, all projects will use the same sources and same classes. So
your master compiles, sub-projects jar using all maven built in mechanism.
What do you think?
Eric.
Adrian Tarau
Hi,
I want to change maven.jar.includes from build.xml and I set the include
pattern but the jar doesn't have any class inside(only the manifest).
The pattern is j:set var=maven.jar.includes value=com/xxx/yyy/**/
Thanks.
: maven.jar.includes could not work?
Depending on when you are calling that, you may need to use
maven:set plugin=maven-jar-plugin property=maven.jar.includes
value=com/xxx/yyy/** /
- Brett
On Mon, 22 Nov 2004 17:21:46 -0500, Adrian Tarau
[EMAIL PROTECTED] wrote:
Hi,
I want to change
Hi,
I'm using Maven 1.0 and I want to switch to release 1.0.1 but I have some
problems with some dependencies.
We have a local repository, mirrored after ibiblio/maven and I get an error
when it tries to download some jars added by me in the repository manually.
All the jars that came from
repository, jars originnally from ibilio will be
downloaded from ibilio, and your special jars won't be found in ibilio.
Regards
Jean-Marc
-Original Message-
From: Adrian Tarau [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 11:19 AM
To: [EMAIL PROTECTED]
Subject: Problems
.
Regards,
Jean-Marc
-Original Message-
From: Adrian Tarau [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 18, 2004 11:39 AM
To: Maven Users List
Subject: RE: Problems downloading dependencies in 1.0.1
Hi,
Yes, it is a multi project and I checked the settings for the repository
18 matches
Mail list logo