Hi,
I need to copy files after the filtering of resources but before execute the
war goal. In the Ant plugin I have to specify a goal after the ant will be
called and I tried different goals like package, compile but wether its too
early and the filtered resource are not copied yet or its too
I would like to set a password protected repository. In order to
download from repository you need to enter usernae and password to
apache authentication prompt. Where should I configure it? in the pom
or settings file?
repositories
repository
idinternal/id
nameMyCompany
Hi,
I am trying to run mvn -e jboss:deploy, and it retuns a http response
code: 500. Can anyone give me a clue what is missing here. my settings.xml
looks like this.
?xml version=1.0 encoding=UTF-8?
settings
servers
server
iddefault/id
usernametest/username
Hi,
On Mon, 5 Feb 2007 00:37:44 -0800 (PST), juergen.schumacher wrote
Hi,
I need to copy files after the filtering of resources but before
execute the war goal. In the Ant plugin I have to specify a goal
after the ant will be called and I tried different goals like
package, compile but
Hello
the *-javadoc.jars of my multi-module project is created as expected when I
run with -DperformRelease=true.
I know want to create an aggregated javadoc, using mvn javadoc:javadoc.
I've set aggregatetrue/aggregate but javadoc fails :
...
Loading source file
Hi Nicolas,
On 2/5/07, nicolas de loof [EMAIL PROTECTED] wrote:
It seems my module dependencies were not loaded by javadoc, as I get similar
errors with struts ActionMapping references.
Is this a known limitation ? Is there a workaround ?
It's a bug and it is supposed to be fixed in 2.1. Are
My project did not define a plugin version and I was using 2.0.
setting verion=2.2 solved this.
Isn't maven expected to auto-update plugins when a stable release is
available ?
Thanks.
2007/2/5, Stephane Nicoll [EMAIL PROTECTED]:
Hi Nicolas,
On 2/5/07, nicolas de loof [EMAIL PROTECTED]
Hello,
I'm in front of a pretty strange situation.
I have some jars that are on the central repo, meaning that I can see them on the
appropriate pages [1] and [2].
But when I include them in a project, and launch some goals (actuelly jetty:run),
they are not downloaded and maven 2.0.4
Hi again,
I've found where the problem is: I was using a mirror[1] that has not been updated.
Since we've released version 0.9 on January 31st, that is 6 days ago, the mirror
might have some sync issues.
Cheers,
Sébastien
[1] http://mirrors.dotsrc.org/maven2
Sebastien Pennec wrote:
On 2/5/07, nicolas de loof [EMAIL PROTECTED] wrote:
My project did not define a plugin version and I was using 2.0.
setting verion=2.2 solved this.
Isn't maven expected to auto-update plugins when a stable release is
available ?
No, you have to run mvn -U or you have to specify the version in
Hi Manuel,
thx for your reply and the screenshot. I tried the process-resources but it
doesnt help. Actually the war plugin needs some sub-goals like war:exploding
etc. I use now a workaround for copy files from different places but its not
that sexy. But important is its working now and maybe
Dear Maven Users
I have recently converted my java command-line application to Maven. While
building an packaging the application generally works well, I still cannot
figure out a good workflow for deploying the application to a local directory
for testing purposes.
I would like to use the
Hi,
any particular reason why you can't run test from your src\test directory,
since all your mainapp classes will be in the classpath ?
do you need to have your app installed for testing purposes?
hth
marco
On 2/5/07, Christian Plessl [EMAIL PROTECTED] wrote:
Dear Maven Users
I have
I actually had a related issue - our project is comprised of many jar
and war fragments and, good though the jetty plugin is, it's helpful
when debugging webapps in eclipse when hotswap fails (which is
always), to be able to have it automatically copy changed class files
into the running
In settings.xml - something like
servers
server
idinternal/id
username.../username
password.../password
/server
/servers
Andy
Maruf Aytekin wrote:
I would like to set a password protected repository. In order to
download from repository you need to enter usernae and password to
I think this is for deploying artifacts. and the settings are the
settings to login the server. I have an http server running to serve my
artifact repository username and passsword protected. I found this
solution usses url with username and password:
repository
idinternal/id
Hello
First you need to set up the element outputfilename as seen here:
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/examples/s
chema_output.html
Also you need to include the annotated classes in your hibernate.cfg.xml
file
Regards
Johann Reyes
-Original Message-
Hi Marco
any particular reason why you can't run test from your src\test directory,
since all your mainapp classes will be in the classpath ?
The expected results of these ad-hoc tests are not formally defined. Since the application is a command-line application, I would like to be able to
Hi all,
From within a maven pom, it is possible to use the ${os.name}, ${os.arch}
and ${os.version} macros to get access to system information.
Is it possible to get the OS family in this way too, as described below?
http://docs.codehaus.org/display/MAVENUSER/Profiles
Something like
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
No, Andrew was right. The servers/server entry in settings.xml is for
any remote server. Just give it a try ;-)
Cheers,
Rodrigo Ruiz
Maruf Aytekin wrote:
I think this is for deploying artifacts. and the settings are the
settings to login the
Hi
If you read your own link :)
profiles
...
profile
os
nameWindows XP/name
familyWindows/family
architecturex86/architecture
version5.1/version
/os
/profile
/profiles
Hermod
-Original Message-
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent:
We also have the same problem without finding any solution for the moment.
If someone has a solution, it would be great.
Rémy
2007/1/26, Wayne Fay [EMAIL PROTECTED]:
I'm trying to add some new reports to our existing project/site and
right now I'm working on Findbugs...
When I run Findbugs,
On Mon, February 5, 2007 3:24 pm, [EMAIL PROTECTED] wrote:
If you read your own link :)
And if you read my question you'll see I am asking whether it's possible
to access the OS family through a macro such as ${maven.os.family}. I am
well aware that it is possible to activate profiles by OS
Hi
The way I read it:
From within a maven pom, it is possible to use the ${os.name}, ${os.arch}
and ${os.version} macros to get access to system information.
Is it possible to get the OS family in this way too, as described below?
http://docs.codehaus.org/display/MAVENUSER/Profiles
You said
Hi,
I'm having the same problem. Anybody an idea?
--
View this message in context:
http://www.nabble.com/Unnamed-Group-plugin-on-Continuum-tf3161723.html#a8806705
Sent from the Continuum - Users mailing list archive at Nabble.com.
On Mon, February 5, 2007 3:48 pm, [EMAIL PROTECTED] wrote:
Have you tried ${activeProfile.os.family} ?
Yes, it doesn't work.
Regards,
Graham
--
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Hi
It might be ${activeProfiles.activeProfile.os.family} (Have'nt tried it)
Hermod
-Original Message-
From: Graham Leggett [mailto:[EMAIL PROTECTED]
Sent: Monday, February 05, 2007 3:22 PM
To: Maven Users List
Cc: users@maven.apache.org
Subject: RE: Reading the current OS family
On
On Mon, February 5, 2007 4:26 pm, [EMAIL PROTECTED] wrote:
It might be ${activeProfiles.activeProfile.os.family} (Have'nt tried it)
Didn't work either unfortunately.
Tried a number of variations (put pom. in front, tried pom.os.family),
but no luck.
Regards,
Graham
--
Hi
I am using maven 1.1 beta 3 and I am having an issue with jboss plugin.
When I use maven jboss:configure the build was successful and when I attempt
to start jboss using maven jboss:start it throws following error.
D:\java-build-process\maven\strutsmaven jboss:start
__ __
| \/ |__
Is there no solution for this problem? Other forums don't seem to have an
answer...
AyoContinuum wrote:
Hi,
I am having a bit of trouble getting continuum to alert me of builds
via google talk/jabber. I setup jabber in continuum according to the faq
on the apache continuum website.
Hi,
Thanks for the help. I am doing something wrong here I guess.
I have set the username and password in settings.xml and configured
pom.xml as below. I can deploy the files successfully but I cannot read
from the repository. It checks internal but doesn't download the plugin
from internal.
See http://jira.codehaus.org/browse/MPJBOSS-24 and the comment by Arnaud.
Cheers,
-Lukas
Build Admin wrote:
Hi
I am using maven 1.1 beta 3 and I am having an issue with jboss plugin.
When I use maven jboss:configure the build was successful and when I
attempt
to start jboss using maven
Last time I used it, it worked fine. It seems that in your case, the service
wasn't available (error 502).
Emmanuel
AyoContinuum a écrit :
Hi,
I am having a bit of trouble getting continuum to alert me of builds
via google talk/jabber. I setup jabber in continuum according to the faq on
I get an error of Failed to create assembly: Error creating assembly
archive: You must set at least one file. when I try to generate a binary
assembly. The project one works fine, but the assembly plugin fails if I
try to generate a bin distro.
I am using the built-in assemblies project and
Hi,
Thanks for the help. I am doing something wrong here I guess.
I have set the username and password in settings.xml and configured
pom.xml as below. I can deploy the files successfully but I cannot read
from the repository. It checks internal but doesn't download the plugin
from internal.
I finally got everything working, but I'm also experiencing a strange side
effect. The common-test.xml[1] script is called from each archetype's
pom.xml:
profiles
profile
idintegration-test/id
activation
property
Hello,
I have a parser project for multiple languages. A file Parser.xml is used to
generate a series
of Parser.cup files through the generate-sources phase. This generation
actually cuts the
right bits from the .xml into a .cup file.
Next, the .cup file is processed-sources with the maven cup
Hello,
I have a parser project for multiple languages. A file Parser.xml is used to
generate a series
of Parser.cup files through the generate-sources phase. This generation
actually cuts the
right bits from the .xml into a .cup file.
Next, the .cup file is processed-sources with the maven cup
How did you set yours up?
Thanks
Emmanuel Venisse wrote:
Last time I used it, it worked fine. It seems that in your case, the
service wasn't available (error 502).
Emmanuel
AyoContinuum a écrit :
Hi,
I am having a bit of trouble getting continuum to alert me of
builds
via
Hello,
I have a parser project for multiple languages. A file Parser.xml is used
to generate a series
of Parser.cup files through the generate-sources phase. This generation
actually cuts the
right bits from the .xml into a .cup file.
Next, the .cup file is processed-sources with the maven cup
Hello all.
I have next problem.
I have a project builded with maven. And now we migrated this project to
jboss portal.
This project under development and i need to have folder named
projectname.war for define this folder in JBoss deploy path. And i don't
want after change JSPs in project do
I did the configuration for the jabber notifier through the web interface
while continuum was running as a service.
Would i need to restart? do i need to make a change to the application.xml?
Thanks
AyoContinuum wrote:
How did you set yours up?
Thanks
Emmanuel Venisse wrote:
Last
I'm running into this right now on a machine having to do with Spring
and trying to download version 2.4.1 jars. Was there ever any
resolution to this?
Rich
LAMY Olivier wrote:
Hi,
Look : http://jira.codehaus.org/browse/MNG-2339
I think it's a big issue because sometimes it's impossible to
Hi!
My goal is compile and run TestNG test in Sample application using Maven2.
I`m new to Maven, so I`m shure solution for my problem is trivial. I`ve looked
for it through the I-Net but found nothing.
Here's my steps:
I generate project using archetypes mechanism:
mvn archetype:create
I've searched on this and from what I can tell, this question has not been
directly asked before...
I have an EAR artifact that declares dependencies on several of my own jars,
a war, and some 3rd party jars. This is sufficient to get the artifacts
included in my EAR, however, if I actually
Looks like the Spring Context 2.0.2 jars were published with
${project.version} in them which is not being properly interpreted by
Maven. So instead of using the ${project.version} from the
spring-context-2.0.2.pom (which should substitute 2.0.2), Maven is
using the version from the currently
Nigel Magnay [EMAIL PROTECTED] writes:
I actually had a related issue - our project is comprised of many jar
and war fragments and, good though the jetty plugin is, it's helpful
when debugging webapps in eclipse when hotswap fails (which is
always), to be able to have it automatically copy
Still haven't seen any response - this has us wedged, can anyone shed
any light on this for me?
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 31, 2007 6:23 PM
To: Maven Users List
Subject: compile tries to bundle up the ear - should it?
I'm
I am behind a proxy server...does anyone have information as to how to set up
jabber in this situation?
thanks
Emmanuel Venisse wrote:
Last time I used it, it worked fine. It seems that in your case, the
service wasn't available (error 502).
Emmanuel
AyoContinuum a écrit :
Hi,
Hi,
I'm using jdk1.5.0_03 with maven 1.1.
I ran multiproject:site-deploy which ran site:generate on all of my
subprojects successfully, but when it started to deploy the site using the
file system method, it failed to create the needed directories.
Is there a property or a goal that I need to
EJ Ciramella wrote:
Still haven't seen any response - this has us wedged, can anyone shed
any light on this for me?
If you run mvn anything in some project/module subdirectory, you are
assuming that all dependencies are built and installed, and therefore
available either from your local
You need to setup a pluginRepositories section too
Andy
On 5 Feb 2007, at 16:03, Maruf Aytekin wrote:
Hi,
Thanks for the help. I am doing something wrong here I guess.
I have set the username and password in settings.xml and configured
pom.xml as below. I can deploy the files successfully
The modules need to be downloaded since they are dependencies at compile
time (the default), even in an EAR package. Modules will never be picked up
from their target directories (part of the design of Maven). You need to run
'mvn install' on the other modules to ensure they are in your local
Hello!
I started a migration plan to Maven 2. I want to know if I could use Ant
inside maven, it is possible?
Thanks in advance
Federico
Federico Ferrara wrote:
I started a migration plan to Maven 2. I want to know if I could use Ant
inside maven, it is possible?
I've successfully done this using the maven-antrun-plugin.
Regards,
Graham
--
smime.p7s
Description: S/MIME Cryptographic Signature
Any more information you could provide about why it failed to create the
needed directories (run with the -e option)? The directory that is used
to copy the files to is taken from either the maven.site.stage.directory
property or (if this is not set) the pom.siteDirectory setting in your
Wait - even if I'm simply doing a compile? Why should it start trying
to build an ear?
I tried a mvn compile that results in all kinds of failures cause it
tries to build up an ear (and there's no war/ejbs to include).
The ear file building is linked to the compile lifecycle phase?
Do you have artifactItems element defined in your configuration?
On 2/5/07, Riboe, Jens [EMAIL PROTECTED] wrote:
I did a cut-and-paste from the docs of the dependency plug-in
http://maven.apache.org/plugins/maven-dependency-plugin/examples/copying
-artifacts.html
To troubleshoot my
Hello,
I just created a new project in Continuum 1.0.3.
I built each project individually (there are 5) and each was successful.
My error occurs when I hit Build All. 3 of my 5 projects fail with the
following error:
Provider message: The svn command failed.
Command output:
I did something simple in .net (mostly because when I go near the
maven codebase, the vast array of poorly documented dependences like
plexus scares me and I don't have the time to figure it all out),
but
That's also what is refraining me ! I love using maven, I think the
people behind it
It hasn't tried to build the EAR yet:
[INFO] Building ltyApp_ear
[INFO]task-segment: [compile]
You have specified 'mvn compile' in the EAR project and it is simply trying
to download dependencies at this stage so it can do the compile.
My suggestion would be to not run the compile phase
BTW, I'ce just tried running 'mvn compile' in an EAR module on one of my
projects and the ear plugin substitutes the ear-generate-application-xml
goal for the usual compile goal as explained in
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.ht
ml.
So, it is quite safe
So if (in my case) we do a compile prior to running findbugs each night
(a case where we DON'T need an ear file), I'm going to have to start
performing a mvn install instead?
P.S - this is running via cruisecontrol and always from the top
directory. We're very used to an ant based build where we
Again, I'm sitting at the top most pom level and running mvn compile.
No one here expects to cd around to build the various modules.
-Original Message-
From: Greg Jones [mailto:[EMAIL PROTECTED]
Sent: Monday, February 05, 2007 6:14 PM
To: 'Maven Users List'
Subject: RE: compile tries to
Do you have artifactItems element defined in your configuration?
Yes. Exactly as stated in the docs
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
executions
execution
idcopy/id
You need to run 'mvn install' at least once to ensure your dependencies are
in a repository. In fact, if your cruisecontrol build is running on another
machine, you will need to run 'mvn deploy' at least once to get a snapshot
in your corporate repository.
Then, you can run 'mvn compile' at will,
Yeah, I mentioned cruisecontrol, just not looking forward to telling
developers they need to run the install process now even if all they
want is a simple compile.
I still don't see any good reason why you'd have to build up an ejb file
(or war or ear) just to get your classes to compile. These
I think you are having this problem I described here:
http://www.nabble.com/dependency-plugin-at-maven.org-tf3019806.html#a840
6709
(assuming you are copying dependency:copy from the command line?)
-Original Message-
From: Riboe, Jens [mailto:[EMAIL PROTECTED]
Sent: Monday, February 05,
Try clearing your checkout directory. Thanks.
-Original Message-
From: Chris Russell [mailto:[EMAIL PROTECTED]
Sent: Monday, February 05, 2007 5:55 PM
To: continuum-users@maven.apache.org
Subject: Build error when using Build All button
Hello,
I just created a new project in
Hopefully they're all using Eclipse and they can run 'mvn eclipse:eclipse'
to generate the Eclipse project files they need so that they can compile
their Java code as they develop.
You don't need to build your EJB, WAR and EAR files just to get your classes
to compile UNLESS other modules depend
I have defined a profile within my settings.xml file (located in
maven/config) and activated it:
wps-profile
1.4-SNAPSHOT
1.3-SNAPSHOT
wps-profile
I then utilized those profile properties throughout a multi-project
hierarchy.
Good day to you, Rahamim,
Although I haven't tried it, I am guessing yes with the help of Maven Remote
Resources plugin.
To make your properties file available in the remote repository, pack that
properties file into a binary and deploy it in your remote repository.
And to be able to use that
Good day to you, yuubouna,
You may also wan to take a look at [1] for more info about the Dependency
Mechanism of Maven2.
Cheers,
Franz
[1] http://docs.codehaus.org/display/MAVENUSER/Dependency+Mechanism
yuubouna wrote:
hello Maria,
Thank for the info, really helps!
I figure out how
Hi,
I use apache-tomcat-5.5.17 as a server for the project site,the url is
http://localhost:8080/pcie/, I have added the configuration in the
pom.xmllike this:
distributionManagement
site
idmaven/id
urlscp://localhost:8080/pcie//url
/site
/distributionManagement
I have start up the
Hi,
I am pleased to announce the release of OpenJPA Maven Plugin version
1.0-alpha.
This release includes:
1) Mojo to invoke OpenJPA PCEnhancer tool on mapped persistable
classes.
2) Plugin documentation.
Feedback and suggestions are welcome.
Cheers,
Rahul
Good day,
I am not sure whether that is possible. But if you are familiar with the
Maven classes, maybe you could use Reflection Properties ( see [1] ) to get
that ( assuming it was set in your osfamily//os ).
Cheers,
Franz
[1] http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
Good day to, Leonardo,
I don't have experience in what you are doing but I think the root of the
problem is that the maven plugin you are using to generate the cup files
given the xml files are not regenerating the cup files.
You may want to check that plugin documentation and see whether it
http://www.nabble.com/forum/ViewPost.jtp?post=61258framed=yskin=177
Brett Porter wrote:
The order is determined by the build lifecycle. You probably want:
@phase generate-sources
in your plugin.
Within phases, order is currently indeterminate, but we intend for it
to be the order
http://www.nabble.com/forum/ViewPost.jtp?post=8404137framed=yskin=177
claims this is fixed in 2.0.5, any confirmation?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Tim Kettler schrieb:
Am Sonntag, den 04.02.2007, 10:48 +0100 schrieb Arnaud Bailly:
Hello to all,
I wonder if there exists or if someone is working on a Maven shell: an
application that would load a pom (or poms) once, do all the
initialization work then wourd accept maven commands or some
I think you are having this problem I described here:
From that entry I got I was able to configure the old one.
I am not really sure I understand the point of publishing a plug-in
description to the Maven site, which does not work when taken directly
from it by cut-and-paste.
The
81 matches
Mail list logo