True, I should have mentioned that as well. Definitely file bugs with the
artifact owners... my suggestion should just be considered an interim fix.
Think of it as a project deploying with a faulty rpm or msi installer... the
onus is on the owner to fix, not the mirror that hosts it.
Thanks;
If that does not work, check out the assembly plugin[1].
Eric
[1] http://maven.apache.org/plugins/maven-assembly-plugin/
On 1/31/07, 秋秋 [EMAIL PROTECTED] wrote:
Hi,
I think you have met with the same issue with me,I hope the following
configuration can help you:
--builder jar and war--
Hi folks,
Setting up Continuum was pretty easy and all seems to work well until I
tried to add our first project to it. This project is just a parent pom so
nothing fancy, well almost nothing.
For SCM we are running CVS without anonymous access. To get this working in
the pom I included
On 1/30/07, Andrew Williams [EMAIL PROTECTED] wrote:
Make a new project (T) and put all of the test code there in compile
scope (src/main/java)
then project A and B can both depend on T in scope test.
The Shale framework[1] has a real-life example of this technique. We wanted
to use a
Hi Fredy,
You can use the install:install-file goal of the maven-install-plugin to
do this.
For more details, please refer to
http://maven.apache.org/plugins/maven-install-plugin/index.html (see
Generic Pom Example) http://maven.apache.org/plugins/maven-install-plugin/
Hope this helps! :-)
franz see [EMAIL PROTECTED] writes:
Good day to you, Arnaud,
Thanks fro your answer Franz,
That's actually the way I did it. Here is the mojo code:
/*__
*
* Copyright (C) 2006 Arnaud Bailly / OQube
*
* This
Hi,
I am trying to use jboss-maven-plugin(maven2) from codehaus for deployment
in jboss 4.0. Here is my plugin configuration, can anyone please tell me
what I am missing in here..
plugin
groupIdorg.codehaus.mojo/groupId
Hi,
My project depends on a lot of dependencies that can be found in the
online Maven repo,
but also on a lot of own jars that were made to connect to web services
etc.
I installed them manually in the repo with mvn install:install-file.
Now I'm having this problem, when my classpath
Hi Jelle,
You may need to update to the 2.0.5 build to get dependencies in the correct
order. This was the case with plugins and it may be that they fixed this
problem at the same time.
Cheers,
Greg J.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent:
Giving the guest user the Repository Observer role worked for me.
Steve Coy
On 31/01/2007, at 9:24 AM, Brett Porter wrote:
Yes - currently the repository access is secured by default.
You can either create a user/pass and grant them read access to the
repository in question, or you can do
suppressionsLocation appears not to set any properties like
${checkstyle.suppressionsLocation}.
Just by specifying this configuration it appears to work.
However I am trying to share this configuration file with Eclipse and
so I would like to define
module name=SuppressionFilter
property
Hi all,
When I try to build my project (a maven2), I 've got this error:
Here is the error : ERROR 22001: A truncation error was encountered trying to
shrink VARCHAR 'cvs server: Autres/ReleaseNotes.txt is no longer in the repo'
to length 1024.
Is there a solution for building it although I
Hi,
I was curious if you could run maven tasks by executing a java class along
with the arguments like install, compile from the command line?
Please Help!
--
View this message in context:
http://www.nabble.com/How-to-run-maven-with-java-class-tf3148677s177.html#a8728776
Sent from the Maven -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
I am working in a rather large multi-module project in which several
modules depend on sibling and parent artifacts (within the same project).
Using Maven 2.0.4, if I try to compile / package / install / deploy the
whole project with a clean
Did you try multiple executions with a different Id for each
execution?
Place one goal in each execution and bind it to the appropriate phase.
Yes. As you can see from the snippet below, I have the executions
defined. My problem is that I need the 'serverconfig' execution to
occur *after*
Brett, and Stephen,
Thanks for your quick response.
This all makes sense.
Setting guest's role to observer worked.
But backing up a moment, in the case where I use my own account, not the
guest accout, from where would maven get the username/password to send to
archiva? From the settings
Hi all,
I would like to devel an application that depends on JOGL (from
http://jogl.dev.java.net). There is no repository for JOGL but I can
create mine using mvn deploy:deploy-file.
The problem is that JOGL provides several jar files depending on
os.arch and os.name variables values. How can I
Hi,
See http://maven.apache.org/guides/mini/guide-embedding-m2.html. It
should help.
Jan
-Original Message-
From: Apu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 31, 2007 2:17 PM
To: users@maven.apache.org
Subject: How to run maven with java class
Hi,
I was curious if you
Hello,
I am generating a web site for the artifacts that my maven build
creates. I have several .zip files (created by the assembly plugin) that
I would like to have accessible from the web site as downloads. I have
done a bit of searching and it looks like this was possible with M1
using the
Hi,
I am new to maven 2.
I download maven and following Maven in 5 Minutes to create a project
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
but I got the following error message:
Error reading settings.xml: Unrecognised tag: 'active' (position:
START_TAG seen
flyboy [EMAIL PROTECTED] wrote on 01/31/2007 09:08:15 AM:
But backing up a moment, in the case where I use my own account, not the
guest accout, from where would maven get the username/password to send
to
archiva? From the settings file? If so, sorry, I am not finding it in
the
I am looking for some advice on how to properly structure my build. I have a
multi-project build with several layers of pom abstraction, the ultimate
parent being maven-build project. The maven-build pom.xml resides in root
directory where all of my subprojects reside. Currently, the
I don't think there is any such tag as active. Though there is
activation under profile. There isn't really any need for you to have a
profile tag to begin with, so I'd remove that whole section
The full Maven2 POM reference is here:
http://maven.apache.org/ref/2.0.4/maven-model/maven.html
I
Thanks for help.. it was my mistake. provided works also fine. I have quite a
complicated structure of projects and I was referencing wrong versions already
stored in local repository.
But the debug output confused me a bit..
On Wed, Jan 31, 2007 at 08:22:32AM +0100, [EMAIL PROTECTED] wrote:
Hi
Hi Jan,
Have you used the Embedder anytime?
Seems like there are lots of issues related to it.
Basically, I am trying to make a web-interface executing basic maven tasks
like i have mentioned.
Would the MavenEmbedder be appropriate for this purpose.
Apu
Janecek Jan wrote:
Hi,
See
Hi,
I'm trying to write a plugin that creates a report. This report will
consist of several pages that i want to integrate into the standard
Maven site layout.
Unfortunately all my attempts to create more than one file (using
AbstractMavenMultiPageReport in maven-reporting-impl; extending
Assuming all your parent, module, and dependency tags are
properly defined, the reactor should be able to figure out the proper
order to build your modules to avoid problems.
I'd suspect something is wrong in one (or more) of your pom files, as
I have never seen this myself and I know there are
Declare the dependencies inside a profile which is activated when
os matches XYZ. As for the architecture, that does not yet exist in
Maven profiles/activation, so if you have a real requirement to deal
with multiple architectures, you'll need to hardcode it and specify
profiles like
I don't use jboss-m-p. However reading the error message, I would try
removing the serverdefault/ line from the config and try again.
Wayne
On 1/31/07, Vidya Mahavadi [EMAIL PROTECTED] wrote:
Hi,
I am trying to use jboss-maven-plugin(maven2) from codehaus for deployment
in jboss 4.0. Here is
Here is the issue I am trying to resolve.
I am developing a plugin. (It runs only in phase
generate-sources.) The underlaying code requires
knowledge of any user specified JAR files in order
to process java files. The user specified dependencies
should be plugin specific.
To date I have
the server specifies the corresponding server block in your
settings.xml file which should contain the username/password to login to the
machine where the jbosshome is located.
On 1/31/07, Wayne Fay [EMAIL PROTECTED] wrote:
I don't use jboss-m-p. However reading the error message, I would try
On 10/12/06, Benoit Xhenseval [EMAIL PROTECTED] wrote:
Hi *,
I've downloaded the october 9 snapshot and installed in on top of the
August one. I get this error when I do nearly anything (jar, site, etc)
BUILD FAILED
File.. file:/C:/project/objectlabkit/maven.xml
Element... attainGoal
Thanks! I'va already deal with profiles and I think this is the solution !
I just don't think about it...
Many thanks.
2007/1/31, Wayne Fay [EMAIL PROTECTED]:
Declare the dependencies inside a profile which is activated when
os matches XYZ. As for the architecture, that does not yet exist in
Read the readme.txt at
http://people.apache.org/repo/m1-snapshot-repository/maven/distributions/
HTH,
-Lukas
Jon Strayer wrote:
On 10/12/06, Benoit Xhenseval [EMAIL PROTECTED] wrote:
Hi *,
I've downloaded the october 9 snapshot and installed in on top of the
August one. I get this error
Hi Siegfried,
What do you mean by add the JAR as additional dependency ?
I am new to maven, I am not sure what that means. I looked in the documentation
and tried to google after it, but couldn't find any info.
thanks,
Atti
From: Siegfried Goeschl [EMAIL PROTECTED]
To: Maven Users List
Hi Wayne, thanks for your prompt response :-)
I have tried to create a simple testcase for my problem, and I have
discovered that the problem is not where I thought it was :-P
The problem is not in the compilation step. The problem appears with
'mvn assembly:assembly', and I have found it in my
On 1/31/07, Minto van der Sluis [EMAIL PROTECTED] wrote:
scm-passwordadam20064/scm-password
*I* promise not to tell anyone ... but you might want to change your
password anyway. ;-)
Seems like I am running out of options. Does anyone know how I can get my
projects into Continuum?
Can someone tell me how the link to the parent pom gets acquired?
All of my site paths are generated from properties that are over-ridden in
the child poms, and it appears that the url for my parent pom is also
over-ridden somehow.
I'm not sure exactly what I expect it to do, I just want to know
Robert,
Thanks for the contribution.
Are you sure your answer matches my question? The getting started page you
refer me to has a description of adding username and password in the use
case of deploying to an archiva repository. My question involves the use
case of downloading artifacts from
Hi Rodrigo,
Rodrigo Ruiz wrote:
Hi Wayne, thanks for your prompt response :-)
I have tried to create a simple testcase for my problem, and I have
discovered that the problem is not where I thought it was :-P
The problem is not in the compilation step. The problem appears with
'mvn
Hi every body:
I'm following step by step the getting sarted with java(3.2) tutorial to use
andromeda in the sample aplication timetracker.
I install maven as the tutorial indicates but when I run the comand:
C:\tempmvn archetype:create -DgroupId=testapp -DartifactId=testapp
I get the
Also, save your settings.xml somewhere and delete it from your active
configuration directory. Define everything in your POM. This way, you
will see what is being done in the settings.xml, but you will be doing
this more actively than having the settings.xml do it for you. Thanks.
This
On 1/24/07, Michael Roepke [EMAIL PROTECTED] wrote:
Hi there,
I am facing a strange error when using JAXB 2.0-SNAPSHOT with exec Maven
plugin, please see
Caused by: java.lang.LinkageError: loader constraint violation: when
resolving field DATETIME the class loader (instance of
Hi all! How can I configure scope tag, in order to, package one of the my
project's dependency artifact into the war artifact of my project?
Check it out! I'd like to include artifact comp.jar into the war artifact.
I've tried compile and provided, but both of them did not work.
Roberto UserList wrote:
Hi all! How can I configure scope tag, in order to, package one of the my
project's dependency artifact into the war artifact of my project?
Check it out! I'd like to include artifact comp.jar into the war
artifact.
I've tried compile and provided, but both of them did
I am having some issues with maven-antrun-plugin when using mapper
type=regexp
The error message says,
No supported regular expression matcher found
I am using JDK1.5, Maven2 and also tried adding lot of dependencies like
ant-apache-regexp, ant-jakarta-regexp, ant-jakarta-oro, ant-nodeps.
Here's the dependencies we use for regexp in antrun:
dependency
groupIdant/groupId
artifactIdant-apache-regexp/artifactId
version1.6.5/version
/dependency
dependency
groupIdjakarta-regexp/groupId
Can you point me to the mechanism you use to search the archives?
Thanks,
Kevan.
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 10:42 PM
To: Maven Users List
Subject: Re: Skipping Tests but Still Compiling
This compile tests but don't run
Hi Chris,
That didn't work .. Here is my pom and build.xml. Could you please check
it out and see if any issues.
Thanks for your help
Pom.xml
?xml version=1.0 encoding=UTF-8?
project
modelVersion4.0.0/modelVersion
groupIdcom.cisco.nm.glue/groupId
artifactIdant-test/artifactId
http://www.mail-archive.com/users@maven.apache.org/
Kevan Dunsmore wrote:
Can you point me to the mechanism you use to search the archives?
Thanks,
Kevan.
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 10:42 PM
To: Maven Users List
You probably want the classpathref to be maven.plugin.classpath.
-Original Message-
From: Jagan Padmanabha Pillai -X (jpadmana - Insight
Solutions, Inc. at Cisco) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 31 January, 2007 13:53
To: Maven Users List
Subject: RE:
That didn't work. I think somehow the classpath is not getting passed to
the ant script.
Even javac is failing
javac srcdir=C:\MavenProject\bug-reporting\src\main\java
classpath refid=maven.plugin.classpath/
/javac
Embedded error: The following error occurred while executing
The only other thing I can think of is that the following issue may be
affecting you:
http://jira.codehaus.org/browse/MANTRUN-49
-Original Message-
From: Jagan Padmanabha Pillai -X (jpadmana - Insight
Solutions, Inc. at Cisco) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 31 January,
Hi,
I have a plugin (maven-jaxme-plugin), which currently has a static
dependency on jaxme-0.5.2.jar. From time to time I add a bugfix to the
dependency, which I would like to use in the plugin. However, it isn't
very manageable to update the plugin anytime I update the dependency.
So I am
Thanks Chris for your quick responses.
It worked when I moved the dependencies inside the plugin section
like,
build
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phaseinstall/phase
configuration
Phillip Rhodes wrote:
I would like to create a distribution of my project. I would like the
distribution to include sources, maven files, etc... Extra credit for
zip and gz support!
Can someone point me to a plugin that would come close to this
functionality?
Thanks!
Phillip
If you
Dennis Lundberg [EMAIL PROTECTED] writes:
If you just need the source files you can use the maven-source-plugin:
http://maven.apache.org/plugins/maven-source-plugin/
--
Dennis Lundberg
Assembly plugin:
http://maven.apache.org/plugins/maven-assembly-plugin/
--
OQube software
I think I have a similar problem with maven, I'm newbie too, I configured
my proxy settings in the settings.xml file, but maven does'nt retrieve the
plugins it needs I got this when I run this comand(I'm following the
tutorial to use maven with andromda in the andromda web site):
[INFO]
Regarding this plugin:
http://ws.apache.org/axis2/tools/1_1/maven-plugins/maven-java2wsdl-plugin.html
I've tried everything to make this work. I've tried manually installing
version 1.1.1. Nothing I do will resolve the following error message when I
run the plugin:
java.lang.Exception:
you can just add a dependency/ element to the plugin's configuration
to override the original dependency
On 1/31/07, Jochen Wiedmann [EMAIL PROTECTED] wrote:
Hi,
I have a plugin (maven-jaxme-plugin), which currently has a static
dependency on jaxme-0.5.2.jar. From time to time I add a bugfix
I'm running just compile but one module that has an ear artifact is
trying to bundle up the ear file (which subsequently fails because the
war and ejbs don't exist).
Is this supposed to happen or is this something I've misconfigured:
[INFO]
Hello,
I created connector (rar) project. Building works ok (rar is created).
/project
modelVersion4.0.0/modelVersion
parent
groupIdprojectId/groupId
artifactIdsearch/artifactId
version1.0-SNAPSHOT/version
/parent
artifactIdlucenar/artifactId
It looks like pmd:pmd is not checking src/test/java and that there is
no way to configure the plugin to do so.
Am I missing something?
(We noticed this when we added the pmd eclipse plugin and our unit
tests started failing the junit ruleset)
Hi.
I am facing a strange error when using JAXB 2.0-SNAPSHOT with exec Maven
plugin, please see
Why don't you simply use maven-jaxb2-plugin?
https://maven-jaxb2-plugin.dev.java.net/
Bye.
/lexi
-
To unsubscribe, e-mail:
Hi Guys
I've used mvn install:install-file in the past and usually it works great
but
I'm trying to now use it while using a custom pom for the 3rd party jar
(hibernate 3.2.2.ga since it's not in the repository yet). I'm following
the instructions in:
Hi Christian,
I tried doing what you did (I also used the same hibernate jar), and
when I checked my local repo,
the custom pom was installed along with the jar file.
Btw, what was in your custom pom?
Mine was:
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
On 1/31/07, Crossley, Jim [EMAIL PROTECTED] wrote:
Yes. As you can see from the snippet below, I have the executions
defined. My problem is that I need the 'serverconfig' execution to
occur *after* 'install-container' but *before* 'start-container'. Since
all three are bound to the same
Hi,
I want to know how to use maven2 to share the various project document
for each member of the project on the site?There are lots of various
document,where the doc shoud be place in the project's directory?
thanks
sam
On 1/31/07, 秋秋 [EMAIL PROTECTED] wrote:
I want to know how to use maven2 to share the various project document
for each member of the project on the site?There are lots of various
document,where the doc shoud be place in the project's directory?
What kind of documentation?
Anything you
There is no POM when I run 'mvn archetype:create. As describes in the
Get Started, mvn will create one for me. So I can not understand your
recommendation in your mail.
But I found that if I use the following command:
mvn -X -s D:\core-work\maven-2.0.4\conf\settings.xml archetype:create
Here's the contents of my custom pom, it's modeled after the custom poms
i've seen for previous version of Hibernate:
By the way, when is the latest version of hibernate (3.2.2.ga) going to get
into the main repository? If that's soon I wouldn't have to deal with
this. ;-)
?xml version=1.0?
HI,
Thanks for Wendy's help,I have put the word doc on the site
successfully,but there new issue,I add configuration in the src\site\.xml
like this:
menu name=worddoc
item name=claim href=claimword.doc/
item name=userguid href=userguid/quickstart.doc/
/menu
as a result,the site show
I have the following in my pom.xml
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-changes-plugin/artifactId
version2.0-beta-2/version
configuration
xmlPath${basedir}/changes.xml/xmlPath
/configuration
reportSets
On 2/1/07, Tom Huybrechts [EMAIL PROTECTED] wrote:
you can just add a dependency/ element to the plugin's configuration
to override the original dependency
Is it really that simple? That means, I won't need to change the plugin at all?
Thanks,
Jochen
--
How fast can a year go? As fast as
If the plugin dependency changes frequently, you might consider naming
the version xx-SNAPSHOT and have a suitable snapshot update policy in
your settings.xml
/Niels
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
75 matches
Mail list logo