FIrst, don't use the name super pom. In the Maven world, there is one pom
called the super pom and it is the pom all other poms inherits implicitly.
It's part of Maven core. DOn't use that name for anything else as it will
cause confusion. What you have is a parent pom.
Regarding your question.
Phillip, you should notice (once again) that fighting Maven best practice is
causing you extra trouble. You should create a mojo that cleans these files.
It can be created smart enough to detect if anything needs to be done or
not. Put the mojo in the plugin that creates the files in the first
As always, if you tell us what you're trying to do we could maybe offer
better solutions.
As an alternative, possibly you could use the index file that Maven central
and many other repos provide? Or does the business requirements demand that
web service is used?
/Anders
On Fri, Dec 3, 2010 at
My experience is that both ways work.
/Anders
2010/12/2 Marshall Schor m...@schor.com
On 10/19/2010 6:14 AM, 冯仁君 wrote:
yes, I do this from m2eclipse, not command line. and I have set eclipse
running in jdk in the setting.ini of eclipse.
my setting:
-vm
Hello,
I just started to use Maven in a new project. My IDE is Eclipse for Java
EE, Helios SR1 (3.6.1) I am installing a none-free Java API, which ships all
the physical dependency Java jars as well. I try to use dependencies tag in
the pom.xml to automatically fill in the dependencies. I have
Hi All,
I have a project(A) containing pom.xml and that have a dependency of
dependency
groupIdca.grimoire.maven/groupId
artifactIdmaven-utils-parent/artifactId
version1.0/version
typepom/type
/dependency
And this maven-utils-parent-1.0.pom (in my local
would dependency:go-offline work?
Regards
-Original Message-
From: amaresh mourya [mailto:amaresh.mou...@gmail.com]
Sent: 03 December 2010 11:21
To: Maven Users List
Subject: How to download transitive dependencies
Hi All,
I have a project(A) containing pom.xml and that have a
Hi,
No, running dependency:go-offline didn't do the job. It just downloads
plug-ins and immediate dependencies.
$ mvn dependency:go-offline
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO]
EE, Helios SR1 (3.6.1) I am installing a none-free Java API, which ships all
the physical dependency Java jars as well. I try to use dependencies tag in
the pom.xml to automatically fill in the dependencies. I have problems
finding them:
I'd consider this a special case. Since the API comes
On Fri, 3 Dec 2010 17:39:23 +0530
amaresh mourya amaresh.mou...@gmail.com wrote:
No, running dependency:go-offline didn't do the job. It just downloads
plug-ins and immediate dependencies.
It downloads all dependencies, these are not dependencies.
And this maven-utils-parent-1.0.pom (in my
On 02/12/2010 8:12 PM, Brian Topping wrote:
On Dec 2, 2010, at 7:05 PM, Wayne Fay wrote:
Ok, so this is working great now, except for one problem. It runs
great the first time, but if I run mvn clean a second time, the
batch file is not there so it can't call it and it returns with an
error.
Hi,
dependencyManagement
dependencies
!-- Internal project dependencies --
dependency
groupId${project.groupId}/groupId
artifactIdmaven-utils/artifactId
version${project.version}/version
/dependency
!-- Third-party software --
dependency
dependency:copy-dependencies sounds like what you want.
On Fri, Dec 3, 2010 at 7:41 AM, amaresh mourya amaresh.mou...@gmail.com wrote:
Hi,
dependencyManagement
dependencies
!-- Internal project dependencies --
dependency
groupId${project.groupId}/groupId
On 03/12/2010 5:13 AM, Joyce wrote:
Hello,
I just started to use Maven in a new project. My IDE is Eclipse for Java
EE, Helios SR1 (3.6.1) I am installing a none-free Java API, which ships all
the physical dependency Java jars as well. I try to use dependencies tag in
the pom.xml to
I would make the maven-utils into a jar project that produced a library
of all of the utils and build that once.
Then each of the projects that needs these libraries would have a single
dependency on your new utils jar.
I would remove the word maven from the name since these utilitiies have
Is there some compelling reason why these files are created outside of
*target*? The idea of *target* is to be home to all artifacts of the
build process.
Curt Yanko | Continuous Integration Services | UnitedHealth Group IT
Making IT Happen, one build at a
Hi,
is there any possibility to activate a Maven profile if a system property has
either value A OR value B but NOT if it has value C?
Unfortunately it is neither allowed to specify multiple value entries like
this:
profile
idplayground/id
activation
Hey,
I was working on a Mojo on which I thought would be a trivial problem.
Though it turns out it's not.
I simply want to add a property file during the phase generate-resources
with the current version, on the classpath. Ideally it's located at the
default resourcesdir. The name of the
How is this an override? You have declared two different things
(different artifactId). But... This is why we don't declare dependencies
in Parent POMs ( I see someone else beat me to the Super POM
clarification).
We only declare dependencies as dependencyManagement items in our
Parent POMs and
You will create a folder at
${basedir}/target/generated-resources/mypluginname/
You will put your generated file in that directory
You will add that directory to the project's list fo resource directories
You will find the above solution is the maven way.
Putting generated things in folders which
That's not an answer...
Oh and I will? I'm not a native English speaker, but it does sound like
you're ordering me ;-)
I know it is not the maven way, but this is the requirement. It's not in my
power to adjust it, or at least not just yet.
But thanks anyway
--
View this message in context:
/**
* Generates the source files.
*
* @author connollys
* @goal generate-sources
* @phase generate-sources
* @since Oct 20, 2009 9:04:44 AM
*/
public class GenerateSourcesMojo
extends AbstractMojo
{
/**
* The current Maven project
*
* @parameter expression=${project}
I am explaining how the plugin has to work to do what you want. see my later
example where I give you most of the code you will need
On 3 December 2010 15:33, fhomasp thomas.peet...@realdolmen.com wrote:
That's not an answer...
Oh and I will? I'm not a native English speaker, but it does
2010/12/3 fhomasp thomas.peet...@realdolmen.com:
I simply want to add a property file during the phase generate-resources
with the current version, on the classpath. Ideally it's located at the
default resourcesdir. The name of the props file needs to be the name of
the artifact (or the
On Fri, Dec 3, 2010 at 9:36 AM, Yanko, Curtis curt_ya...@uhc.com wrote:
We only declare dependencies as dependencyManagement items in our
Parent POMs and then declare *versionless* dependencies in each app so
they are explicit and comprehensible without having to go look somewhere
else
IMHO, a not horrible migration path is:
1. use antrun, surely it can do everything (and more) that your batch file
does
2. later, using knowledge of how you accomplished it in ANT, port it to a
groovy-based plugin that uses ANT DSL
I've found the groovy-based ANT DSL plugin approach great for
Hi guys,
i'm trying to filter on proerty file with Maven and it doesn't work... (and
i don't know why). So here i come, asking for ur help :)
The pom.xml :
build
filters
filtersrc/main/filters/local.properties/filter
/filters
What is the best way to generate a changelog that lists all tags under
a given SCM root, and for each tag lists all the revisions (with
comment) between the tag and the previous tag.
I tried svn changelog:changelog -Dtype=tag but it's not really
giving me what I want.
This page says that the tag
On Fri, Dec 3, 2010 at 1:22 AM, Anders Hammar and...@hammar.net wrote:
Phillip, you should notice (once again) that fighting Maven best practice is
causing you extra trouble. You should create a mojo that cleans these files.
You always jump on me so quickly about this, but I haven't even done
On 03/12/2010 11:12 AM, Laird Nelson wrote:
On Fri, Dec 3, 2010 at 9:36 AM, Yanko, Curtiscurt_ya...@uhc.com wrote:
We only declare dependencies asdependencyManagement items in our
Parent POMs and then declare *versionless* dependencies in each app so
they are explicit and comprehensible
On 03/12/2010 1:09 PM, Phillip Hellewell wrote:
On Fri, Dec 3, 2010 at 1:22 AM, Anders Hammarand...@hammar.net wrote:
Phillip, you should notice (once again) that fighting Maven best practice is
causing you extra trouble. You should create a mojo that cleans these files.
You always jump on me
Hi Laird,
Laird Nelson wrote:
On Fri, Dec 3, 2010 at 9:36 AM, Yanko, Curtis curt_ya...@uhc.com wrote:
We only declare dependencies as dependencyManagement items in our
Parent POMs and then declare *versionless* dependencies in each app so
they are explicit and comprehensible without having
hi,
today, we encountered a strange result with the assembly plugin: we had
a jar inside a project which is a part of the project. We write an
assembly file to create a tar file. No problem for the part :-)
the problem is:
the size of the library is about 2.7 Mo. when we untar the package,
Somehow this sounds like the notorious
http://jira.codehaus.org/browse/PLXCOMP-149 and the attached
http://jira.codehaus.org/browse/MSHARED-148
Upgrade all your plugins to the latest version.
Kristian
Make sure
fr., 03.12.2010 kl. 20.47 +0100, skrev reno:
hi,
today, we encountered a
34 matches
Mail list logo