Jason,
I believe that your 2nd pastebin output reflects a bug in the gradle
mechanism for determining dependencies.
The problem that you have referred to is that you have marked 2 maven
plugins to be excluded from the transitive dependencies of
abdera-client, because you are seeing the
Wanted to add a plug for the versions-maven-plugin
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdversions-maven-plugin/artifactId
version1.2/version
/plugin
the goal versions:display-plugin-updates will let you know if any
plugins that you are referencing have more recent versions
I was able to access the jandex jar using this repository entry:
repository
idJBoss Repo/id
urlhttps://repository.jboss.org/nexus/content/repositories/releases/url
nameJBoss Repo/name
/repository
Hope that this helps.
I'm sorry to say that I'm not familiar enough with the nexus staging
You might want to try the following:
if you don't already have a global pom properties tag you would add one.
Then in the body of the properties tag you would add the following 2
tags and their values:
properties
surefire.useFilefalse/surefire.useFile
Robert,
I believe that you have explained that the super pom or some important
aspects of it reside in artifact-handlers.xml and that if I were to
modify it and build a new version of Maven that I would have modified
the super pom and universally changed the version of a plugin available
I'm sorry to be so ignorant. Exactly how would I go about setting up a
corporate super pom and where is it documented?
I have looked on the Maven website and in the Maven Complete Reference
and I have not noticed any explanation of this capability.
On 9/25/11 8:27 AM, Baptiste MATHUS wrote:
You would normally do this by using a pluginManagement tag in your pom
and in that context declaring the plugin and setting the version to 2.7.
This is particularly useful in a parent pom because the version will be
inherited by all child poms. Then you would not include the version tag
in the
Vincent,
What version of Maven are you using? I created a project using mvn
archetype:generate, and pasted the information that you sent with your
email into that project's pom. It worked for me. I am using Maven 3.0.3.
If this remains an issue, you might try the maven-dependency-plugin or
The gwt-maven-plugin has its own user mailing list. You might want to
send your questions there.
http://mojo.codehaus.org/gwt-maven-plugin/mail-lists.html
On 9/1/11 8:14 AM, Luka Stopar wrote:
Greetings!
I'm having a problem using gwt-maven-plugin. The project compiles
fine, but I cannot
Hi,
I'm sorry to say it, but I believe that you aren't thinking about this
from a Maven perspective. Your build is specified in your pom. There
is some feature of your build that requires a reference to some
artifact outside the scope of your module. The normal way to resolve
this not
OK, what you've told us is that this issue arises in the test phase in a
build that is defined in a profile, yes? So it ought be straight forward
to add a configuration for the surefire plugin to the profile in
question. If you want to use the solution during the integration-test
phase you
What I was attempting to recommend shouldn't cause the war file to
become environment dependent, but I may not have understood.
I'm assuming that you have a pom file that is executing tests, and which
also produces a war file. In the test environment for the war producing
module you need to
Frank,
What Benson meant is that you should take a look at the
build-helper-maven-plugin
(http://mojo.codehaus.org/build-helper-maven-plugin/usage.html)
I've included the URL of the usage page. You can find an example of
adding an artifact to an existing module and a number of other
You have asked about XML packaging. In Maven parlance packaging refers
to the type of the artifact that the current Maven module will
produce. Normally packaging is a kind of Java archive, of which jar,
war, ear and osgi bundle are a partial enumeration. The other common
value for packaging is
Let me ask you a very simple question. Has the plugin that you have
created been successfully installed in your local repository at the
proper coordinates? Forget about Nexus for a bit.
Do the following 2 files exist?
fenallen wrote:
We need to use saxon for many ant:style goals during build so I have
saxon in the ${JAVA_HOME}/jre/lib/endorsed dir and it builds fine.
However, the checkstyle plugin fails with this error:
just a snipet from the full stack trace
at
At 03:43 PM 10/12/2005, Adrian wrote:
I'm trying to run an executable (windows, script on linux) via maven.xml;
program needs to take command line arguments;
I'm looking for an example on how to do this; could not find anything in
any docs, or examples except on calling built in
My M2 installation started failing last night because M2 downloaded the
following file's contents from the snapshot repository. Do I have to
upgrade my M2 installation to support this file?
file is the metadata in .m2\repository\surefire\surefire\1.4-SNAPSHOT\
maven-metadata-snapshots.xml
I've been working on adding forking to the surefire plugin, really into the
surefire package, in order to allow clover to work and to allow our
implementation to offer features similar to those provided by the JUnit Ant
task
I've run into a number of problems:
1) on windows using both
Sorry - this was supposed to go the dev list, and I've since posted a copy
there.
I didn't mean to cause any difficulties - I guess sloppy fingers are what I
deserve for staying up until 12:25 AM coding :-)
-
To
Mike Perham wrote:
I found the problem. It had nothing to do with maven and everything to
do with the VM's incompetent error reporting. The problem was that the
DateLiteralBean class below linked to classes in jarA which linked to
classes in jarB. JarB was not in the classpath.
2750
At 08:32 PM 9/26/2005, Anthony Kong wrote:
2) To proceed, I hardcoded the value in the maven:set/ tag.
It is something like:
maven:set plugin=maven-test-plugin
property=maven.test.skip
value=true/
Then there is an runtime error:
You must define an
Brett Porter wrote:
Is it worthwhile publishing a few documents that show how various
project types would be set up for m2, like this?
- Brett
On 9/24/05, Kenney Westerhof [EMAIL PROTECTED] wrote:
On Fri, 23 Sep 2005, Eric Biesterfeld wrote:
You're pretty much set up for maven use, except
Marouane Amraoui wrote:
there is way to specify multi source directory in maven project :
example my source files :
1.frwk1/src/java
2.frwk2/src/java
i want make only one project maven and only one artifact frwk.jar that containe
both source frwk1 and frwk2.
Hi,
I take it that you are
Anthony Kong wrote:
Hi, all,
I have written a custom plugin for a in-house project which will produce a
ear file at the end.
There is a number of goals defined in this plugin. One of these is:
goal name=projecct:ear-build description=Invokes ejb:install and
war:install goal
j:set
At 12:21 PM 9/18/2005, Jeroen Verhage wrote:
Transitive dependencies aren't supported in maven 1.
I remember, some time ago, Maven downloading jars that I did not
declare as a dependency so I expected transitive dependency to be
supported by the version of Maven I'm using.
Maven 1 would have
I finally worked out some Jelly code that I believe addresses your requirements
using m1.1b2:
1) my earlier remarks about the artifact plugin's namespace can be ignored, it
isn't required
2) in your multiproject context, if you add the preGoal logic to the top level
maven.xml file it will be
I have had success doing the following:
1) add xmlns:artifact=artifact to the maven.xml file's project tag
2) add the following preGoal code:
preGoal name=test:test
echo message=test:test preGoal/
!-- --
maven:set plugin=maven.test.plugin property=maven.test.skip
Andy Glick wrote:
I have had success doing the following:
1) add xmlns:artifact=artifact to the maven.xml file's project tag
2) add the following preGoal code:
preGoal name=test:test
echo message=test:test preGoal/
!-- --
maven:set plugin=maven.test.plugin property
Brett Porter wrote:
http://jira.codehaus.org/browse/MODELLO-18
when this is fixed it will be possible (however, it will be a non-default
option)
- Brett
On 9/12/05, Jörg Schaible [EMAIL PROTECTED] wrote:
Andy Glick wrote on Saturday, September 10, 2005 4:10 AM:
Marco,
When I executed
Mick,
Looking at the stack trace you included, I think that 1 scenario that
accounts for the trace is:
1) springgraph was attempting to invoke an xslt stylesheet on your
applicationContext.xml file
2) the xslt processor is looking for the spring-beans.dtd. XML processors
often have a
Marco,
When I executed maven pom:validate on your project.xml file I found 2
lines that the Modello generated parser rejected.
1) Maven 1.1 no longer supports XML entities as a means of including XML
fragments, though still supports character entities
!-- xdoclet-commons;--
so commenting
Poppe, Troy wrote:
I'm looking at the Uberjar plugin to create an executable jar file,
... snip ...
However, I don't see an option for deploying the uberjar to a repository...
... snip ...
Is there a better way to do this?
Johnny R. Ruiz wrote:
If I am not mistaken, there is an option to
At 07:09 AM 9/8/2005, Ashley Williams wrote:
I work with many projects that are based around a single source tree
- by that I mean no matter how many modules and jars are build, there
is just one directory called com with all the code underneath it. I'm
not saying this is better or worse than
At 08:02 AM 9/8/2005, Ashley Williams wrote:
Can I declare a maven property like in Ant at the top of my pom and
use it further down? Didn't see anything immediately obvious in the
maven project descriptor help page.
Ashley,
The nature of the Ant and the M1 execution environments lent
At 01:12 PM 9/8/2005, Craig McDaniel wrote:
One approach I've seen is to create *-acceptance projects to contain
the integration tests. For example, da-hibernate-acceptance. I would
end up with no tests in da-hibernate, and only tests in
da-hibernate-acceptance. Is this common? With this setup,
I was wondering if there are any existing Maven conventions for projects which
must release JDK specific artifacts? I am not aware of any and I think that
addressing the issue may lead us to rethink some policies, or possibly create
new conventions.
I think that the need to release multiple
Ashley Williams wrote:
I've mentioned in a previous post that I'm slightly fed up with editing
xml files, even with a fancy editor. I though I might knock up a
stylesheet that will enable me to write a short hand for example:
project
modelVersion 4.0.0
groupId com.acme
Ward, Bradley (MAN-Corporate) wrote:
I've got a really strange thing going on with Maven (v. 1.0.2). It seems to
be using totally different class loaders depending on how I invoke Maven.
Are you familiar with the concepts of classloader parent-child hierarchies or of the classLoader class
At 04:58 PM 9/7/2005, Andrew Niefer wrote:
I have started looking at what would need to be done in order to build
Eclipse plugins using Maven 2.
... snip ...
The install phase would be different from the normal m2 install. We would
need to gather the jars and any additional resources into
I've been working on a port of the Ant build of springmodules 0.2 to both M1 and M2. The 0.2 release consists of 5 subprojects. I have broken each out into a Maven subproject and I created a master project which includes the files project.xml, pom.xml and license.txt among others. I had thought
[I previously posted this to the moribund [EMAIL PROTECTED] list. Don't know
what I was thinking :-)]
I have just built and deployed the commons-attributes plugin in my local
repository, and last week I built and deployed the maven-hibernate-plugin. I
noticed that in each case the groupId was
Mick Knutson wrote:
... snip ...
get\classes com\blackhawk\ff\ConsumerSearch\schemas\Emaö
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
java:jar-resources:
Henri,
I'm the glick who conversed with you on the #maven irc. I got something similar
to your example to work, I think, but I'm using Maven 1.1b1 rather than Maven
1.0.1. I'm not sure why your version isn't working.
Here are my project.xml dependencies:
dependencies
dependency
Jose Gonzalez Gomez wrote:
I understand that you're deploying your snapshot versions for your
projects in your internal repository, but I don't fully understand
your environment (or maybe Maven's way of working)... let me explain:
I understand that you can publish snapshot versions of
The Ant builds of the Spring and the SpringModules projects are fairly easy to convert to
M1 or M2 builds using the multiproject layout. They are easy to reconfigure because they
each is distributed with a jar per subproject, so even though their source
trees are not shipped configured as
Wendy Smoak wrote:
Where does 'maven.dependency.classpath' get created? I only see it
referenced from the Maven Java Plugin, yet if I try
ant:echo${maven.dependency.classpath}/ant:echo
in a preGoal to java:compile, it's blank.
To see the value of an ant path, fileset, dirset or filelist
I've been having difficulty building repoclean for a number of days, and I get
the same error message every time:
[INFO] -
[INFO] BUILD FAILURE
[INFO]
Trygve Laugstøl wrote:
On Mon, Aug 29, 2005 at 03:14:21AM -0400, Andy Glick wrote:
I've been having difficulty building repoclean for a number of days, and I
get the same error message every time:
Sounds like a bug in Maven somewhere, can you try to change the version
back to SNAPSHOT
I've noticed that the authors of a good many 3rd party POM's have used only the id and
version tags when declaring dependencies. From what I can gather this was standard practice some time
ago, possibly during the M1 release candidate period, but it is suboptimal today. For example, I'm using
You've asked 2 different questions here.
1) You request an easier way to download dependent files from a Maven
repository than listing them as dependencies in a POM.
2) You want to know how to share downloaded dependencies with other
developers at your location.
Regarding 1, Dan Tran
Jan Galinski wrote:
We see you.
so its just that none of you knows how to combine middlegen and maven.
Or wont tell if he knows.
Thanks Dmitry
It may be that the middlegen maven plugin is no longer available
directly from the Middlegen site. I'm familiar with the plugin and I
spent
Please bear with me if I've missed something, but from what I can gather
on the the mailing lists there may be a way to convert artifacts from M1
repositories to be M2 repository compliant artifacts.
I ask this because I have spent some time converting the 0.2 release of
springmodules from
At 09:09 AM 8/20/2005, you wrote:
Nobody knows??
... snip ...
How do I create new genapp templates??
To create new genapp templates, I have
1) downloaded the genapp plugin source from the Maven1 source code
repository - http:/svn.apache.org/repos/asf/maven/maven-1
2) downloaded the
I've been reporting the odd behavior I've noticed when using the
maven-java-plugin-1.5 in certain circumstances. The symptoms are that the
java plugin is failing when executing java:jar-resources goal on a set of
POMs from the same source repository, jakarta-commons-sandbox, iff there is
no
At 09:22 AM 8/19/2005, David Jackman wrote:
Thanks for this--it works wonderfully. Is there a similar schema
available for maven.xml?
... snip ...
project xmlns=http://maven.apache.org/POM/3.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Andy Glick wrote:
Using M1 b1 and a build tag as shown below, java plugin produced NPEs
for maven:copy-resources in code for goal
goal name=java:jar-resources
whether or not there was a resources tag. I got the plugin to work
after adding what appears in the final section. There were
Mauricio Hernández Durán wrote:
Hi all!
Anyone knows where I can get something similar to a db plugin for maven?
What I need is from a bunch of sql scripts to have init, populate, drop
goals...
Thanks in advance!
At 08:57 AM 8/18/2005, you wrote:
Hello!
Is it possible to change the local repository of Maven? It's C:\Documents
anb settings\login\.maven and I would llike to change it.
Aurélie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
At 11:36 AM 8/18/2005, you wrote:
Is there a standard way [a 'best practice'] for declaring a project
for an XML aware editor?
... snip ...
project
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation=http://maven.apache.org/maven-v3_0_0.xsd;
and
On 8/15/05, Andy Glick [EMAIL PROTECTED] wrote:
So far using M2 2.0-alpha-3, I have made many vain attempts to construct
XML syntax that would successfully configure a plugin that accepts
includes and excludes directives to ACTUALLY use the specifications.
So far, not 1 has worked.
I've
Brett Porter wrote:
- snip
Can you file a JIRA issue? (that way you can follow the fix).
Done, MNG-739
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
So far using M2 2.0-alpha-3, I have made many vain attempts to construct
XML syntax that would successfully configure a plugin that accepts
includes and excludes directives to ACTUALLY use the specifications.
So far, not 1 has worked.
I've found some example POMs in various repositories, but
Trygve Laugstøl wrote:
The reason as to why you can't get access to the classloader of the core
is that the Mojos are supposed to be independent of their enviroment and
they should be executed independently in separate class loaders. Giving
the Mojos access to the root class loader will
It turns out that there is a working maven plugin that is distributed
with commons-attributes. It was used with out difficulty at a company
where i did some work, and I have been able to get it to work.
So the keeper of the matrix might want to move the entry for
commons-attributes out of the
Marcelo Alcantara wrote:
Good morning,
Somebody can tell me where can I found templates for the mavenide
create maven projects?
Actually the combo is empty in eclipse.
Any ideas?
Thanks in advance.
You have written to the wrong list. You are more likely to get a
response if you wrote
Vinod Panicker wrote:
My mistake. Standard output and Standard error messages are getting
added into the test reports. But how do I make it come on the
console?
add the property maven.junit.usefile = false to one of your properties
files
Wierenga, R. - SPLXE wrote:
I already got to the stage that i created an maven.xml file, included a new
goal and executed a process using ant:exec. But i'm stuck at the point in
which i have to insert the classpath value, where do i get it from?
You can use the ant:java task rather than
Any number of times I have wanted to reuse the logic of the unit test plugin
(maven-test-plugin) for integration or system or acceptance testing. The solutions that I
have come up with have invariably been ugly. Other people have had the same idea, there
is a strange maven-itest-plugin that
Roman Bruggisser wrote:
I'm new to maven and I'm wondering if there is a way to add tools.jar to the
classpath without placing it in the repository.
Thanks for any ideas.
Kenney Westerhof wrote:
On Sun, 31 Jul 2005, Roman Bruggisser wrote:
Hi,
There aren't any. However it should be on
On 7/29/05, Lach, Thierry [EMAIL PROTECTED] wrote:
I'm trying to set maven.repo.list in a plugin but it does not seem to
work. We are using ear:deploy to copy ear files not only to the maven
repository, but to pseudo-repositories on our test and production
application servers to help ensure
Using Maven 1.1b1's maven-pom-plugin, the pom:validate goal
produces error messages when executed on the project.xml file's contents
which are displayed as an example @
http://maven.apache.org/start/ten-minute-test.html.
Should this be reported in JIRA?
I've prepared a version that does pass
Brett Porter wrote:
Actually the second one is the older version and should be removed...
Are you sure you aren't running 1.1 with a MAVEN_HOME pointing at
1.0.2 which included the old schema?
- Brett
On 7/29/05, Andy Glick [EMAIL PROTECTED] wrote:
Using Maven 1.1b1's maven-pom-plugin
Brett Porter wrote:
Still, the content on
http://maven.apache.org/reference/project-descriptor.html doesn't pass
pom:validate, but that may be a reported bug. I attempted to search
JIRA, but I was unable to formulate a query that restricted its results
to a small result set.
:)
Try AND in
[EMAIL PROTECTED] wrote:
Hi
I've got a problem. My maven.dependency.classpath is empty. My
maven.repo.local shows correct dir. I've checked .maven/repository and it
is not empty. I can't use libs from .maven/repository. I'm using
maven-1.0.2 on linux. Plz help.
Sebastian
Sebastian,
I take it
Per Abich wrote:
Hello,
I am trying to retrieve a list of dependencies for all the artifacts
that I have included in my project.
The goal is, to get all those files, copy them into a specific location
and then zip them together to obtain single-file-install which is
deployable without any
Mick Knutson wrote:
Can you please show me your Maven cfg then for this please?
From: Carlos Sanchez [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Subject: Re: [maven] jcoverage examples please?
Date: Tue, 19 Jul 2005 16:18:23 -0700
Hi,
I suggest
I looked in the mailing lists and in JIRA to see if this had been reported
and I didn't find it.. Please excuse me if this is a duplicate report.
It looks as if the XML schema is out of sync with the POM documentation page.
The following fragment from the POM's documentation page does not
78 matches
Mail list logo