Hi I have the following unpack goal:
execution
idunpack-modules/id
phaseverify/phase
goals
goalunpack-dependencies/goal
/goals
configuration
Hi
May I know if it is possible to programmatically list all the direct and
transitive dependencies without downloading the artifacts?
Is there any Maven's API for this kind of purpose?
--
Hez
No Wayne,
That didnot resolve the issue :(
I have narrowed down the problem and i am pretty sure the problem is with my
pom.xml
I have the following J2EE dependencies, Which of these are most likely to
cause a Faces Listener Error ?
dependency
groupIdjavax/groupId
I have to set up Ivy Repo as the local repository. Once it is set up as a
local repository I have to add couple of jar files to the repo and using
Maven I have to fetch those jar files from the repo.
Please help me go forward.
--
View this message in context:
Problem with Maven Dependency.
Hello All,
This is in reference to my earlier post
http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
When i dont build via maven and export the project as a war ( I use Eclipse
for J2EE ) and deploy it to Jboss6 via its admin console it runs fine,
whereas
Hi guys,
First, thanks for a terrific tool in Maven!
For my Open Source project Metawidget (http://metawidget.org) I am distributing
the examples as standalone Maven projects with their own POMs. However each
POM shares a couple of levels of parent POM, with the top-level parent POM
defining a
Hi,
So the first part of the problem is the zip contains multiple rar files, but
only one needs to be unpacked and tinkered with.
the maven-external-dependency-plugin might fit the bill:
http://code.google.com/p/maven-external-dependency-plugin/. If the RAR
file is not found in the local
You could deploy in place or unpacked or something similar, there is
more than one way to deploy or test your webapp without it having to be
packed into the WAR, which is what takes most of the build time for us too.
Em 13-05-2011 01:42, Ron Wheeler escreveu:
On 12/05/2011 12:53 PM, javadaisy
Java memory settings are not defined like system properties - You
shouldn't use '-D'. Try this:
set MAVEN_OPTS=-Xms=1024M -Xmx=1024M
This might not solve Your problem, but it should fix the memory
reservation/allocation.
BTW: I wouldn't modify the mvn.bat. Just set the MAVEN_OPTS as an
Hi,
In my project I added all the jars required for Spring MVC in the local
repository(C:\Documents and Settings\username\.m2\repository created by
maven.
And in the pom.xml of my project I added the dependencies information.I
created a web application and wanted to check if the jars added by me
Can you use a tool like Beyond Compare to compare the two WAR files?
That should identify the difference and point you to what needs to be
configured in Maven.
Curt Yanko | Continuous Integration Services | UnitedHealth Group IT
Making IT Happen, one build at a
Hello, Maven,
Is there a need for a Maven lifecycle supporting interactive development tasks?
The default Maven lifecycle is designed to support statically-compiled
languages like Java. But the rise of alternative languages on the JVM
languages has led to plugins that perform tasks outside of
I have narrowed down the problem and i am pretty sure the problem is with my
pom.xml
Yes, this is what Anders told you originally.
I have the following J2EE dependencies, Which of these are most likely to
cause a Faces Listener Error ?
Well, you copied and pasted the same artifact details
In my project I added all the jars required for Spring MVC in the local
repository(C:\Documents and Settings\username\.m2\repository created by
maven.
How did you add all the jars? Be specific, provide the command line
you executed or what steps you followed. Most likely, however you did
this
Hi,
I have a strange problem when building an assembly with Maven 3.0.3, and I
don't know where to debug...:
My project uses a combination of the appassembler mojo (1.1.1) and
assembly plugin (2.2.1), both attached to the package phase, to create a
tar.gz archive that basically has the
I have to set up Ivy Repo as the local repository. Once it is set up as a
local repository I have to add couple of jar files to the repo and using
Maven I have to fetch those jar files from the repo.
This list does not respond well to urgent requests. Everyone
believes their problem needs to
I've added the below to the discussion at...
http://jira.codehaus.org/browse/MNG-3092
...but include here in case anyone else has some ideas.
If you consider semantic versioning http://semver.org/
where by using carefully chosen version numbers
finally got ClassNotFoundException because of a missing dependency Jar in
the lib folder; more precisely xalan:serializer:2.7.1
PS: I tested it with Maven 3.0.3 using Java 1.6.0_24, first on Solaris 11
Express and then on Mac OS X 10.6.7.
Xalan and Xerces are special since they have been
Sorry, I'm not sure what you are recommending I do.
Should I edit my POM in Visual Studio and changed something in the
NPanday section of the plugins, or do you mean run the actual mvn command?
Also, I'm not sure about what you mean about kenai?
Cheers, Eric
On 2011-05-12 5:13 PM, Martin
I can't seem to find any documentation on this, so maybe you can just tell
me. What is the exact rule for when Maven will check for a newer snapshot
from a remote repo (when you're not using -U) ?
It seems to be something like:
1. If you don't already have the snapshot it will check.
2. If your
It is determined by the updatePolicy for the repo. Default is 24 hours.
http://maven.apache.org/ref/3.0.3/maven-settings/settings.html
Look for updatePolicy.
-Original Message-
From: Phillip Hellewell [mailto:ssh...@gmail.com]
Sent: Friday, May 13, 2011 1:49 PM
To: Maven Users List
the update frequency specified in the repository definition (which defaults
to daily if not specified)
- Stephen
---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 13 May 2011 18:49,
Hi all -
I've recently started to add things like pmd/checkstyle/findbugs to a build
pipeline but all of a sudden, when adding mvn checkstyle:checkstyle, I'm
getting out of memory exceptions.
I've set start/max memory settings to 1024 but I'm still getting this issue.
I'm open and all ears to
Sorry - if it helps, I'm executing checkstyle/pmd/cpd directly, not as part of
site output.
-Original Message-
From: EJ Ciramella [mailto:ecirame...@casenetinc.com]
Sent: Friday, May 13, 2011 2:05 PM
To: users@maven.apache.org
Subject: Checkstyle out of memory...
Hi all -
I've recently
editorial BS
Version ranges are pure evil if you want to have repeatable builds
and want some idea about what you are testing and deploying.
They seem to be used as an alternative to thinking.
End of editorial BS
I do have some ideas that I hope will help.
Although Ivy people might very well give you the wrong advice wrt how you
should use Maven...
The local Maven repo should adhere to a specific structure, unless you alter
Maven with logic to handle a different structure. As I don't think you want
to head down the path of writing your own local
Bunch of thanks to all for sharing the info. Yes my war is very big. Its
size is almost 62MB. It builds in 7 mins than other machines. It uses 30
dependencies and xml resources.
--
View this message in context:
Bunch of thanks to all for sharing the info. Yes my war is very big. Its
size is almost 62MB. It builds in 7 mins than other machines. It uses 30
dependencies and xml resources.
7 minutes is a long time just to build what is essentially a zip file.
Perhaps invest in some SSD hardware and
Or, revisit what is going in there...
Are there images and files that the end user no longer can access? How much
cruft is in there exactly and how much can you yank out?
Are there dependencies that can be removed?
Are you saying the actual zipping process takes 7 min or the entire warfile
The Maven team is pleased to announce the release of the Maven Deploy
Plugin, version 2.6
This plugin allows artifacts to be deployed to a Maven repository. See
the plugin's site for more details:
http://maven.apache.org/plugins/maven-deploy-plugin/
You should specify the version in your
PRoblem : I have to create a project (SpringMVC project). For this I have to
connect to the online repository which provides the jars required for
running the Spring MVC project. And when we build the project using the
maven commands, the jars are copied into our local repository .
So, for this I
Getting the 70 dependencies out of the build will yield the biggest ROI.
Ron
On 13/05/2011 4:29 PM, Wayne Fay wrote:
Bunch of thanks to all for sharing the info. Yes my war is very big. Its
size is almost 62MB. It builds in 7 mins than other machines. It uses 30
dependencies and xml
Heh - I see 30 dependencies mentioned below, is this a trick answer?
(sorry, trolling as I wait for posts to my questions)
-Original Message-
From: Ron Wheeler [mailto:rwhee...@artifact-software.com]
Sent: Friday, May 13, 2011 5:08 PM
To: users@maven.apache.org
Subject: Re: help - how to
Tons of people build with Spring.
What is the error?
Do you have a Maven Repo (Nexus or other) set up and working?
What have you tested?
Ron
On 13/05/2011 12:26 PM, uday shankar wrote:
PRoblem : I have to create a project (SpringMVC project). For this I have to
connect to the online
Sorry, I'm not sure what you are recommending I do.
You can generally ignore Martin, he's a bot or something.
Should I edit my POM in Visual Studio and changed something in the NPanday
section of the plugins, or do you mean run the actual mvn command?
This list knows almost nothing about
By this time on a Friday 3s look like 7s.
We had to remove over 70 out of our build.
It made lots of things better.
Some dependencies such as CXF for Web services are huge and getting them
as provided was a big help since we had a dozen or so webapps in our LMS
portal that used web services.
In addition to trimming the war (definitely a good idea)...
In your first post, you mentioned mvn.bat - so I will assume you are in a
Windows environment. Where is your ${user.home} located: local or remote?
I have seen at least one corporate environment where (for Sysadmin
convenience) home
100 points to Ron.
Ron touched on something here - not sure if you can look at any of the
transitive dependencies you may be pulling in and see if you can exclude some
of those as well.
-Original Message-
From: Ron Wheeler [mailto:rwhee...@artifact-software.com]
Sent: Friday, May 13,
Thanks, Ryan. This turned out to be exactly the solution I needed:
https://bitbucket.org/ojacobson/apacheds-maven-plugin/changeset/fcb7d7b66a41
-o
On 2011-04-29, at 9:00 AM, Ryan Connolly wrote:
Owen: I think my previous reply got it half right:
/**
* @parameter
Thanks. It's good to know that I can configure that in my settings.xml.
Phillip
On Fri, May 13, 2011 at 12:02 PM, Thiessen, Todd (Todd) tthies...@avaya.com
wrote:
It is determined by the updatePolicy for the repo. Default is 24 hours.
40 matches
Mail list logo