Cargo would be your best bet...http://cargo.codehaus.org/
Cheers,
Henry
On 11/16/07, mitch [EMAIL PROTECTED] wrote:
Hello, I'm using maven2 (and the m2eclipse integration plugin) and am able
to use the deploy goal successfully to deploy to a remote repository. But
I
wonder what the easiest
May I ask why you would want to do this?
On 10/17/07, li frank [EMAIL PROTECTED] wrote:
Hi all,
I want to get the central repository using rsync from several
mirrors,like *rsync
-v -t -l -r mirrors.ibiblio.org::maven2*,
but it give me message as following:
receiving file list ... rsync:
This might prove helpful
http://maven.apache.org/plugins/maven-dependency-plugin/ especially the
copy-dependencies goal.
HTH,
Henry
On 7/23/07, Dmitry [EMAIL PROTECTED] wrote:
My application is a jar file and when I run mvn package it generates my
jar
ok.
But I need to distribute my app with
ouch, is there something similar in Solaris?
Jeff Mutonho wrote:
On 7/18/07, Henry Isidro [EMAIL PROTECTED] wrote:
Try changing your java alternative setting:
sudo update-alternatives --config java
HTH,
Henry
Hmmmit's running on a Solaris machine
Try changing your java alternative setting:
sudo update-alternatives --config java
HTH,
Henry
Jeff Mutonho wrote:
On 7/17/07, Maria Odea Ching [EMAIL PROTECTED] wrote:
Hi,
Try executing 'which java' from the command line and trace from this
which java (the one displayed may be an alternate
Hi Shinjan,
You can separate the two. Place the ant project in its own project,
configure the ant run plugin there. Then, in the maven project, add the
ant project as a dependency. If you want this in one nice build, you can
place both projects under one parent, this way, when you build the
Dário Luís Coneglian Oliveros wrote:
Hi there,
I've been reading several threads about having an offline internal repository
and I wonder if there's any maven plugin or tool that can help on this matter
as of now. I've heard of a repository builder, but could not find much
information about
?? wrote:
Hi, everyone. Is there a way to invoking maven from java code? Thanks in
advance.
Hi ??,
Continuum does something like that. You can check out the continuum code
at https://svn.apache.org/repos/asf/maven/continuum/trunk. Then look at
I think there was talk of an enforcer plugin somewhere, you might want to
search for that.
HTH,
Henry
On 5/23/07, Alex Karasulu [EMAIL PROTECTED] wrote:
Hi,
Just wondering if there is a POM directive that I can use to enforce the
use
of a
specific version of maven for it's modules to be
preGoal executes the scripts you specify before the goal named. For
instance,
preGoal name=java:compile
...
/preGoal
Anything between preGoal and /preGoal would execute first and then
java:compile would be executed.
Regards,
Henry
Zheng Wen Zhe wrote:
Hi,
I have a pregoal set up
Hi Karthik,
Glad to hear that you've got it working. You can send artifacts to
specific directories in your ear by using the bundleDir tag. More info
at http://maven.apache.org/plugins/maven-ear-plugin/howto.html.
HTH,
Henry
Karthik V wrote:
I got it working finally, but dont understand
Hi Mick,
I assume you mean jars that were built from your project. In that case,
you can install those jars manually. Please see
http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html
and
Hi Lutz,
Check out dependencies. Any artifacts declared as dependencies are
placed on the classplath depending on the specified scope. This is
placed in the build section of your pom.xml.
dependencies
dependency
groupId/
artifactId/
Hi David,
Try excluding them:
testResources
testResource
...
excludes/
/testResource
/testResources
HTH,
Henry
[EMAIL PROTECTED] wrote:
Hello,
I need some config files/resources for unit test, so I place them
Hi Karthik V,
The properties tag for dependencies are no longer suppported. Can you
post your pom so that we can see what you are actually doing?
Regards,
Henry
Karthik V wrote:
looks like things have changed :( ... the properties tag is not being
recognized.
On 1/17/06, Max Cooper
Hi Stefan,
Try adding typeejb/type in your dependency declarations.
HTH,
Henry
Stefan Rademacher wrote:
Hello,
I have a problem, when I try creating an EAR file, that includes two
EJB modules. Nobody else seems to have this issue, so there might be an
easy solution...
I have a project with
in the middle of the versioned source tree.
So, how can I change the output directory for the package goal? Is
there a universal way to divert output of any and all goals?
Thanks
Dmitry
At 08:58 PM 1/10/2006, Henry Isidro wrote:
Dmitry Beransky wrote:
worked like a charm! I ended up putting
Loïc Lefèvre wrote:
Hello Henry,
first, thanks for your answer :o)
NP :-)
2/ Yes,
Remember:
local repository defined
...
repositories
repository
idXXX/id
nameLocal repository for XXX builds./name
urlfile://${basedir}/thirdparty/url
layoutdefault/layout
/repository
Hi Sanjay,
Can you post the errors you're getting?
Regards,
Henry
Sanjay Choudhary wrote:
I read the following on maven website
Profiles specified in the POM can modify the following POM elements:
- *repositories*
- *pluginRepositories*
- *dependencies*
- *plugins*
-
you need svn for that: http://subversion.tigris.org/
- Henry
Mick Knutson wrote:
How would I do that in wincvs? Or dos?
---
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
Washington Mutual (WAMU) (Emeryville, California)
Hi Loïc,
Please see inline answers.
Questions:
1/ What is the process to (ask for) update on remote repository?
I've found a broken link on the maven webpage:
http://maven.apache.org/guides/introduction/introduction-to-repositories.html
Hello Kees,
Seems to be a transitive dependency issue. Check this out:
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-CanIdisabletransitivedependencies%3F
HTH,
Henry
Kees de Kooter wrote:
I am packaging a war and amazingly it twice as large in size compared
to the old ant build. I
Hi Ilya,
Please see inline answers.
Ilya Sterin wrote:
Hello, I have two questions. First, I'm still trying to figure out how to
generate an ear archive from a multi-module project. The site, nor google
has any documentation on this, other than a listing of goals and/or how to
customize the
written using
maven-antrun-plugin. Could you give me an example?
Thanks,
Sandeep
-Original Message-
From: Henry Isidro [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 6:45 PM
To: Maven Users List
Subject: Re: Overwriting a goal in subproject
Dixit, Sandeep (ProSource Solutions
Hi Sean,
Can you explain what you mean by source files being copied to the
target directory? AFAIK, this isn't the case, source files are never
copied to the target directory.
Regards,
Henry
Sean Clarkson wrote:
Hi,
I'm new to Maven 2 - I was wondering if there was any setting you
oops make that:
inheritedfalse/inherited
-Henry
Henry Isidro wrote:
I mean try placing this in the child pom:
plugin
...
configuration
inherited${inheritGoal}/inherited
/configuration
/plugin
It might override the parent's setting.
HTH,
Henry
Dixit, Sandeep (ProSource
Dixit, Sandeep (ProSource Solutions) wrote:
How would that allow selective on and off? Wouldn't it set one value for
all (parent and child projects)?
Thanks,
Sandeep
Yup, sorry about that, I didn't fully understand your question. Have you
tried overriding the property in the child pom?
Dmitry Beransky wrote:
Hi,
I'm trying to migrate for the first time one of my projects to
Maven2. In Maven 1, I used to have the following line in the user
level configuration file:
maven.build.dir=c:/temp/maven/${pom.artifactId}
this was for Windows-based workstations; on a server,
Rinku wrote:
I don't see an outputDirectory/ specified under build/ element for
profile/ in the pom descriptor.
http://maven.apache.org/maven-model/maven.html
Not sure if its an 'error of omission' in online docs or if a
profile does (or does not) supports overriding the build
Dmitry Beransky wrote:
worked like a charm! I ended up putting the following into the
profile section:
properties
buildDir${java.io.tmpDir}/maven/${pom.artifactId}/buildDir
/properties
now the settings file is portalble among different platforms. Very
cool, indeed.
Thanks
Dmitry
I
Dixit, Sandeep (ProSource Solutions) wrote:
I apologize. Error on my part... inheritedfalse/inherited did work.
I have one more question:
Project structure:
--
LEVEL 1: GENRIC_PROJ: has app server deploy goal
LEVEL 1: PROJ_PARENT: inherits GENRIC_PROJ and SHOULD NOT inherit the
Man-Chi Leung wrote:
how can I change the generated jar location from default
project_dir/target/ to project_dir/target/lib?
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
configuration
Henry Isidro wrote:
Man-Chi Leung wrote:
how can I change the generated jar location from default
project_dir/target/ to project_dir/target/lib?
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-jar-plugin/artifactId
configuration
Davis Ford wrote:
Thanks Brian,
I will check into dependency-maven-plugin. In the meantime, I had
solved it. This seems to be anti-Maven, b/c it uses an environment
variable, but it seems to work. I added these two goals to maven.xml
goal name=check-props
j:if
[EMAIL PROTECTED] wrote:
Hello,
I'm trying to compile a simple program using: mave java:compile command.
build:start:
java:prepare-filesystem:
java:compile:
[echo] Compiling to C:\repotest/target/classes
[echo] No java source files to compile.
BUILD SUCCESSFUL
When I looked for
Sebastien Arbogast wrote:
Is there a way to integrate Maven (1 or 2) into an IDE (IntelliJ or Eclipse)
so that I can use the debugging capacities of my IDE : breakpoints,
line-by-line execution, watchpoints, etc. ?
--
Sébastien Arbogast
Blog : http://www.sebastien-arbogast.com
The Epseelon
Matt Raible wrote:
Is it possible to check a mirror of ibiblio for dependency if ibiblio
is down? If I put the following in my pom.xml, it checks this mirror
first, rather than ibiblio. It seems like a better practice to check
ibiblio first.
repositories
repository
idplanetmirror/id
Michael Niemaz wrote:
Hi all,
I'm looking for pointers to jelly documentation and samples, a part
from the tab libraries documentation on maven.
I'm kinda struggling to write scripts so I thought there would a place
somewhere that would help me.
thanx,
--mike
Baard Johansen wrote:
Hi,
I installed the binary Maven 2.0 distribution, and was hoping that the
latest version of plugins were to be used. This appears not to be so. For
instance, for the maven-site-plugin my Maven use the 2.0-beta-2 version,
instead of the latest 2.0-beta-4.
How can I tell
Jochen Wiedmann wrote:
Hi,
I'd like to use the assembly plugin for creating distributions. After
reading the documentation and doing some first attempts, I do have the
following questions:
- There are predefined ID's like bin and src. These are (to me) very welcome
for reading as examples.
li pan wrote:
Hi,
If my project depends on another project which is neither writen by myself
nor has a maven POM(there are tons of these type on www.sf.net), what is the
best way to include it in my project?
Thanks
Maven dependencies are named: artifactId-version.package so the first
to do
Arnaud Bailly wrote:
Hi,
I have a project that contains a bunch of modules and I want to make
a source distribution of each module.
Do I need to configure assembly in each module ?
What is the configuration ? I tried to copy verbatim what's on the FAQ
but it doesn't work :-( Nothing gets
Christian Schulte wrote:
Hi,
how do I make maven fetch e.g. junit-3.8.1-sources.jar so that this
file gets copied into the local repository ? I tried putting a
dependency to it in the root pom like this
dependencies
dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
Matthew Wheaton wrote:
Hello,
I am an avid Maven fan, and am struggling to understand how to model my new
projects based on my Maven 1.x experience.
I have a number of Eclipse projects, one called csi_libs.
csi_libs, contains all the compile time (and some deployment) 3rd party jars
needed
Stephane Nicoll wrote:
Use the right scope. If you don't want them to be included, specify the
scope of your dependency (compile / provided).
Hope it helps,
Stéphane
Just to clarify things further, the compile scope includes the
dependencies in the final package and the provided scope does
Markus M. May wrote:
Also each component generates more then one artifact (one for the EJBs,
one common and at least one for the client side, and sometimes one for
the resources - this is needed for JWS). Would this be possible with
Maven2 as well? I heard something about masks and filters -are
Hi. I'm trying to run an ant task from the antrun plugin. When I try to
define some dependencies as provided so that the packaging won't
include them, the build stops and complains that the ant task can't find
classes found in those provided dependencies. Everything works fine if
I specify
Alexandre Poitras wrote:
Just wanted to add, that you need a subproject C to produce the ear
file and include jars A and B. It is quite easy to setup. Look in the
guides on the Maven site but don't be shy to ask if you need any help!
On 11/23/05, Alexandre Poitras [EMAIL PROTECTED] wrote:
Alexandre Poitras wrote:
I think he also needs to add manifest entries so the ejb jar can loads
class from the other jar. If you don't do that your A project won't be
in your B project class path.
Yup you're right there...I didn't mention it anymore since you already
said something about
. Is this a bug? I figured Maven would be able to
determine the dependency type itself without needing me to specify the
type explicitly.
Other than that, it works like a charm. Thanks for the help!
-Original Message-
From: Henry Isidro [mailto:[EMAIL PROTECTED]
Sent: November 23, 2005
[EMAIL PROTECTED] wrote:
Dear All:
who can tell me the all phase about maven-antrun-plugin and the detail
description about every phase? thanks.
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasepackage/phase what is the
Stephane Nicoll wrote:
Well it should. Could you please show your POM and the structure of your
project please?
Thx,
Stéphane
On 11/21/05, Henry Isidro [EMAIL PROTECTED] wrote:
I'm using the RAR plugin and I found out that it does not create a JAR
file to include in the package. So, I
I'm using the RAR plugin and I found out that it does not create a JAR
file to include in the package. So, I invoked the JAR plugin and
everything worked fine. Now, I tried using the install plugin to install
the rar file into my local repository and what happened was the plugin
installed the
Brett Porter wrote:
That bug is fixed in SVN - however, I'm not sure that the exceution
should be needed, but I don't quite understand what you are attempting
- hopefully someone with more RAR experience than me (that's anyone :)
will know the answers.
- Brett
There are two problems I
Ballard, Ken wrote:
This is a question for Maven 1 2, although I know that the answers will be
different.
Let's say that I have a multiproject with subprojects. Some build jars, one
builds a war, a couple that build an ejb jar and an ejb client jar, and one
builds an ear. Now let's say that I
Dion Gillard wrote:
As the defacto maintainer of the maven 1 was5 plugin, and someone who
isn't moving to m2 at this point, we've been asked this at sourceforge
a couple of times, but it needs someone to step up and do the work.
The antrun plugin probably couldn't be used (guessing here), as
Matthew L Daniel wrote:
Is there an easy/built in way to include the dependency jar files when
building a jar package? Or do I need to build my own plugin?
Sounds suspiciously like an EAR to me. If you ignore the
META-INF/application.xml, it's a zip file with all your jars packaged
Simon McClenahan wrote:
I'm running Maven under Windows, and I was unable to specify the drive
letter. Conveniently I do everything on my C: drive, and I have ended up
using the following:
maven.repo.remote=file:///localhost/projects/online/trunk/,http://www.ib
iblio.org/maven/
I know it
Jarrell, Maury wrote:
Forgive me for asking what must be a very basic question. I've searched the
Maven site and scoured the archives for this list and haven't found an
answer.
I have a simple java project defined in an Ant file. The dependencies for
my current project are in jars in the
59 matches
Mail list logo