First, what you're trying to do is not the normal use case for Maven as a
build tool. I'd say you want to use Maven as some kind of utility.
Therefore, the way to solve your need is not as straight forward as
following the Maven way.
So, first, do you really need to use Maven? Why not continue to
thanks Anders.
I am beginner on maven. So can you please how to do that If you still want
to use Maven, I'd say the best way to solve things is to
deploy the war to a Maven repo in your current build (you can use the Maven
Ant task or any proprietary API for your repo manager). You then create
Ant Maven task: use Google. There info out there.
Repo manager API: Talk to the people at your organization who manages this.
If you still need help, ask on the users list of that repo manager.
/Anders
On Tue, Mar 29, 2011 at 08:29, ensienne t.zei...@gmail.com wrote:
thanks Anders.
I am
google is your friend: maven ant tasks deploy
- 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 29 Mar 2011 07:30, ensienne t.zei...@gmail.com wrote:
Does this list also concerns eclipse integration?
Zbynek
Kind Regards / Mit
freundlichen Grüßen /
Üdvözlettel / S
You can find the m2eclipse mailing lists here:
http://m2eclipse.sonatype.org/project-information.html
Manuel
2011/3/29 Zbynek Vavros zbynek_vav...@cz.ibm.com:
Does this list also concerns eclipse integration?
Zbynek
Kind Regards / Mit
freundlichen Grüßen /
Üdvözlettel / S
Hi,
The Mojo team is pleased to announce the release of Mojo's Cassandra
Maven Plugin version 0.7.4-1.
Mojo's Cassandra Plugin is used when you want to install and control a
test instance of Apache Cassandra from within your Apache Maven build.
The plugin has the following goals.
*
another idea could be to call Maven with the --fail-at-end (-fae)
option. But this doesn't seem to work with Maven 3 anymore.
Even if 'fail-at-end' was working: wouldn't the artifacts still be
deployed, when running 'mvn deploy' ?
Yes, You're right - didn't think about that. It could be solved
I created an Ant plugin with maven-plugin-tools-ant for a certain task, as
described here:
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
My plugin works fine otherwise, but I just noticed that it does not recurse
into the sub-projects like a normal plugin would. That
Got a bit of an architecture/style question here.
I'm familiar with the use of the dependencyManagement block in a parent pom to
fix versions of or otherwise configure a dependency. However, except for cases
which need it (for example, when transitive dependencies are otherwise pulling
in two
it depends on how often you update versions and how often you will
release the parent.
if you update versions very often, but you don't want to release the
parent very often, then don't do it.
what I tend to do is aggregate the version info as high up in each
independently releasable tree.
On
Hi everyone.
I'm having problems with M2Eclipse and resource filtering. I know it
concerns to M2E mailing list, but I´m posting it here because maybe someone
here has already solve it somehow and could help me with this.
All information is in the post I made on M2Eclipse users mailing list
Well, we put all the versions in the parent pom. It makes the versions easy
to change from the project's perspective. You don't have to browse through
many files to see where the dependency is declared. Also, two or more of the
sub-project may have a dependency on a same artifact, and if you put
I have a multi-project configuration with a parent pom specifying a compiler
plugin with a default of jdk1.5 specified in the parent pom's dependency
management section. However, I have two submodules with packaging as jars that
need to be compiled with jdk1.4.
I tried overriding the compiler
I'm getting this error using Maven 3.0.3 for a maven-metadata-local.xml file
Snapshot information corrupted with remote repository data, please verify
that no remote repository uses the id 'local'
My metadata file looks simply like this:
?xml version=1.0 encoding=UTF-8?
org.apache.solr
toolchains
On 29 March 2011 17:12, Jenison, Mark A mark.a.jeni...@jpmchase.com wrote:
I have a multi-project configuration with a parent pom specifying a compiler
plugin with a default of jdk1.5 specified in the parent pom's dependency
management section. However, I have two submodules with
juranta wrote:
Well, we put all the versions in the parent pom. It makes the versions
easy to change from the project's perspective. You don't have to browse
through many files to see where the dependency is declared. Also, two or
more of the sub-project may have a dependency on a same
We follow Stephen's path but build aggregation poms that only contain
libraries so that our project POMs only depend on our libraries.
For example if the war file needs the Apache Commons that we support in
our development environment, the project will depend on the current
version of
On Tue, Mar 29, 2011 at 1:22 PM, Ron Wheeler rwhee...@artifact-software.com
wrote:
We follow Stephen's path but build aggregation poms that only contain
libraries so that our project POMs only depend on our libraries.
For example if the war file needs the Apache Commons that we support in our
On Tue, Mar 29, 2011 at 1:59 PM, Laird Nelson ljnel...@gmail.com wrote:
Just out of curiosity, where is it written down that one can depend on an
artifact of type pom? I've always been curious about this.
Are you asking about import scope?
On Tue, Mar 29, 2011 at 2:01 PM, Wendy Smoak wsm...@gmail.com wrote:
Are you asking about import scope?
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Importing_Dependencies
I guess I am; is it required that when you're using import scope that the
type
On Tue, Mar 29, 2011 at 12:12 PM, Jenison, Mark A
mark.a.jeni...@jpmchase.com wrote:
I have a multi-project configuration with a parent pom specifying a compiler
plugin with a default of jdk1.5 specified in the parent pom's dependency
management section. However, I have two submodules with
On 29/03/2011 1:59 PM, Laird Nelson wrote:
On Tue, Mar 29, 2011 at 1:22 PM, Ron Wheelerrwhee...@artifact-software.com
wrote:
We follow Stephen's path but build aggregation poms that only contain
libraries so that our project POMs only depend on our libraries.
For example if the war file needs
Hi
What's the best procedure for uploading 3rd party artifacts to an internal
repository.
This doc explains how to update the local cached repository but not a central
internal repository.
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
I have used the depoy:deploy-file
On Tue, Mar 29, 2011 at 1:06 PM, Godschall, John
jgodsch...@firstmarblehead.com wrote:
I have used the depoy:deploy-file plugin but this does not seem to include
the pom, the md5 and sha1 files.
In addition, some projects have a parent pom structure as well.
Can you paste the command you
Tim talks about this in this blog post:
http://www.sonatype.com/people/2009/10/maven-tips-and-tricks-grouping-dependencies/
A pom artifact is an artifact like all others...it's just that the artifact
is the pom itself.
/Anders
On Tue, Mar 29, 2011 at 19:59, Laird Nelson ljnel...@gmail.com
Get your Nexus up and running (local or on a shared server) and then
read the Nexus docs.
Loading 3rd party lists is easy to do and everyone has to do it because
of the ORACLE/Sun licensing policies so you will have lots of friends
and lots of docs on the repo side.
It is not really a Maven
On Tue, Mar 29, 2011 at 3:35 PM, Anders Hammar and...@hammar.net wrote:
Tim talks about this in this blog post:
http://www.sonatype.com/people/2009/10/maven-tips-and-tricks-grouping-dependencies/
Thank you, yes, this is the first I've seen this documented. So that seems
like you don't need
Hi I am also facing the same problem now in my project.
The maven is looping and never ends. I have only the following dependency
and have axis -1.4 jar
axis
axis
1.4
jar
Thanks,
Sakthi
--
View this message in context:
Hello,
New to the group here.
First, I assumed that the developers list was for those developing
Maven as opposed to those developing USING Maven. Perhaps this is
wrong.
By any chance does anyone know why when I installed the 3.0.5 release
of the Spring Framework (with its 3.6 Eclipse developer
I faced a similar issue some times. I think, it's a bug in m2eclipse,
thus i call mvn dependency:resolve on the command line, before opening
new big projects in eclipse. That prevents eclipse freezing.
Manuel
On Tue, Mar 29, 2011 at 23:47, Dave DaveLists dbfli...@gmail.com wrote:
Hello,
New
Your assumption was correct, but even this is the wrong mailing list.
The Maven plugin used in STS or Eclipse is M2Eclipse and they have
their own development and mailing list [1].
I know it is hard in the beginning to get the right mailing list.
Maven and the default plugins (all in group
Nick Stolwijk : thanks for setting me straight on the selection of
mailing lists. That will come in handy.
Manuel Doninger: I may have used a hail mary to post in this list but
your reply was exactly correct and fixed my problem. Thank you!!!
-Dave
I want to create a report which presents some results from a build.
There is no way to recreate the data in the reporting context; the
report must come from the build proper.
Is the thing to do here to make the build proper leave the data behind
in, for example, an XML file in target, and the
On Wed, Mar 30, 2011 at 9:50 AM, Benson Margulies bimargul...@gmail.com wrote:
I want to create a report which presents some results from a build.
There is no way to recreate the data in the reporting context; the
report must come from the build proper.
Is the thing to do here to make the
On Mon, Mar 28, 2011 at 10:52 AM, Caoilte O'Connor caoi...@gmail.com wrote:
Thanks for the detailed reply Philip,
On Sat, Mar 26, 2011 at 3:43 AM, Phillip Hellewell ssh...@gmail.com wrote:
In other words, if any of my dependencies are myself, then it throws
an exception.
Were you able to
olamy wrote:
Hello Matt.
This doesn't exists anymore in 3.0.x.
So for the maven3 integration in Hudson/Jenkins, I have build a
quot;kindquot;
of embedder which you can use at least for read projects.
It should work to read projects and resolve dependencies.
You can have a look at the
Be aware that you're talking of two different strategies. Using a pom
artifact as a dependency and using import scope to import depMgmt declared
in another pom. Two different things!
/Anders
On Tue, Mar 29, 2011 at 22:18, Laird Nelson ljnel...@gmail.com wrote:
On Tue, Mar 29, 2011 at 3:35 PM,
38 matches
Mail list logo