src/main/resources is the proper directory.
Wayne
On 9/21/07, Dennis Cook <[EMAIL PROTECTED]> wrote:
> Forgive my ignorance, but I assumed that files under the main/java/resources
> would be copied to the target/classes so that they would be included in the
> resulting jar package.
>
> Opps, ba
Forgive my ignorance, but I assumed that files under the main/java/resources
would be copied to the target/classes so that they would be included in the
resulting jar package.
Opps, bad assumption. So what is the proper method for including configuration
and property files in the deployed ja
(1) I was using the eclipse plugin (I think it is the Q plugin - I have yet
to try out the other plug in) because it was the only way I knew to browse
the repositories. It had the added benefit of writing the pom.xml for you.
After having a less than optimal experience with the other features of
1. Please don't send duplicate/repeat emails. It just clutters the list.
2. Try "mvn -e site" and perhaps there will be more useful debugging
information provided about the error you've encountered.
Wayne
On 9/21/07, sukanta <[EMAIL PROTECTED]> wrote:
>
> Hi there,
>
> i am trying to generate th
Hi tim,
Thanks for pointing it out. classifier works. I have created an issue in
JIRA at http://jira.codehaus.org/browse/MNGSITE-26
Regards,
Saleem
--
View this message in context:
http://www.nabble.com/attached-tests-dependency-error-tf4489648s177.html#a12829434
Sent from the Maven - Users
I am able to successfully create an archive with the contents I need using
the resource and assembly plugin capabilities. However, the only issue I
have is that the consumer of the archive requires the archive to have a
custom name. I would like to get the assembly plugin to manage the zip
archive
Here's a technique I received just the other day. I haven't done it yet,
because the Maven port has been moved down my priority list by senior
management, but it should work
> Here's how I patch Maven jars:
> download the code from svn
> apply patch
> modify pom to add -mycompany to version nu
Thanks for the links Robert. Based on the 2nd link, it looks like there
is some sort of patch for the plugin.
Is this something that I can install locally and if so, can you
recommend the best way to do this?
Regards,
Mark
[EMAIL PROTECTED] wrote:
Known issue. check out these links.
http://w
I have a parent pom that contains several children modules. In one of the
child modules I have the following maven-clean-plugin configured:
maven-clean-plugin
Delete JAX-WS Generated Client Sources
Will the filtering of dependencySets also be fixed?
Paul
Mick Knutson wrote:
> the filtering will be fixed in the next release, but you have to
> use for now. I opened the defect about a month.
>
>
>
>
> On 9/21/07, Dave Feltenberger <[EMAIL PROTECTED]> wrote:
>
>> I think I found a bug in t
Known issue. check out these links.
http://www.nabble.com/forum/Search.jtp?forum=178&local=y&query=MJAR-30
(previous discussion)
http://jira.codehaus.org/browse/MJAR-30 (patch)
Mark Eramo <[EMAIL PROTECTED]> wrote on 09/21/2007 01:44:57 PM:
> I have been trying to exclude certain files from th
the filtering will be fixed in the next release, but you have to
use for now. I opened the defect about a month.
On 9/21/07, Dave Feltenberger <[EMAIL PROTECTED]> wrote:
>
> I think I found a bug in the assembly plugin. When I specify a single
> file in my assembly, like so:
>
>
I have been trying to exclude certain files from the jar however it does
not seem to be working. I am trying to do this with the include and
exclude switches. I searched the mailing list and some posts say this
should work, others say no so I am trying to find out if anyone has
accomplished thi
I think I found a bug in the assembly plugin. When I specify a single
file in my assembly, like so:
src/main/resources/faxing.sh
/
true
it is filtered properly using the .
I've been dealing with converting an existing web application to Maven
and had similar issues. Our developers are used to having Ant targets
that do things such as; compile, package and deploy to the app server.
What I came up with is really just writing and Ant script to do these
tasks that u
Hi Dave,
We use maven to create an installer that gets deployed to our repo. When
we want to install it somewhere we do:
wget http://my_repo/ebs/installer/MyInstaller-1.0.2.sh
sh MyInstaller-1.0.2.sh
In the past we used InstallShield, but for our apps it is overkill.
Instead we use simple
All,
I'm having an issue filtering resources with the assembly plugin.
In the documentation at:
http://maven.apache.org/plugins/maven-assembly-plugin/examples/single/filtering-some-distribution-files.html
there is an example of using the assembly plugin. Here is the part in
the pom that says ho
Well, forget production. I would think the first question would be how
to get Maven to keep deploying to a server, say JBoss.
This functionality is certainly needed and it's needed as part of a
recompile/retest process. For example, if you have a web app and you
just changed some servlets/jsp page
is there a way to configure the plugin to turn off the logger?
Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Then you probably want to look at Cargo:
http://cargo.codehaus.org/JBoss+4.x
http://cargo.codehaus.org/Maven2+plugin
They have mailing lists etc like Maven, so if you can't find what you
need or things aren't working as you expected, search the archives or
send an email to their user list.
Wayne
We are building webapps and standalone apps. Our web container is
Jboss.
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: September 21, 2007 10:00 AM
To: Maven Users List
Subject: Re: General question about how to use Maven to build and deploy
Ant
Cargo
Various othe
Ant
Cargo
Various other container-specific plugins
Manual copy
etc
We certainly do not automate deployment to Production. But it makes
sense to set up a Continuous Integration server and perhaps automate
deployment to a CI deployment environment.
What kind of app are you building, Dave? And what
Thats something i would be interested in knowing as well, as to what
people are using for automated deployment of their wars/ears or are
they still relying on some manual effort, i know of few using ant for
the same.
Farhan.
to my knowledge most of the people are currently using or ant or other
So I've now got Maven to build my jars, wars, and ears, it installs them
in my local repository and deploys to my remote repositories. But what
do I do now? In order to run and test my apps, I have to manualy copy
files to the appropriate directories, which seems a bit primative for
such a complex
No, I still have this problem, that is why I'm asking to help me.
Please,
-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED]
Sent: Friday, September 21, 2007 6:33 PM
To: Maven Users List
Subject: Re: ejb-client problem
Denis Bessmertniy schrieb:
> That is good, but maybe s
Denis Bessmertniy schrieb:
That is good, but maybe somebody will help me, because I don't have my
client jar in application.xml.
I don't understand what you mean. What has this to do with your original
question? Is the problem with the resolution of the ejb-client
dependency fixed now?
Thanks a lot.
2007/9/21, Tim Kettler <[EMAIL PROTECTED]>:
>
> Hi,
>
>
>
>custom-name
>false
>
>
>
> -Tim
>
> [1]
> http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html
>
> Rodolphe Beck schrieb:
> > Hello,
> >
> > I manage some non java proje
That is good, but maybe somebody will help me, because I don't have my
client jar in application.xml.
-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED]
Sent: Friday, September 21, 2007 5:50 PM
To: Maven Users List
Subject: Re: ejb-client problem
Denis Bessmertniy schrieb
Julien Stern a écrit :
On Fri, Sep 21, 2007 at 04:02:01PM +0200, Emmanuel Venisse wrote:
Julien Stern a écrit :
On Fri, Sep 21, 2007 at 03:42:25PM +0200, Emmanuel Venisse wrote:
you use the 1.1-beta-3 sent to the vote, right? not a previeous snapshot?
Dooh, my bad. I mixed up the numbers.
Hi,
custom-name
false
-Tim
[1] http://maven.apache.org/plugins/maven-assembly-plugin/assembly-mojo.html
Rodolphe Beck schrieb:
Hello,
I manage some non java project using the assembly plugin to create .zip
files automatically. Is it possible to use a generated zip
On Fri, Sep 21, 2007 at 04:02:01PM +0200, Emmanuel Venisse wrote:
>
>
> Julien Stern a écrit :
> >On Fri, Sep 21, 2007 at 03:42:25PM +0200, Emmanuel Venisse wrote:
> >>you use the 1.1-beta-3 sent to the vote, right? not a previeous snapshot?
> >
> >Dooh, my bad. I mixed up the numbers. Please rep
Denis Bessmertniy schrieb:
Sorry, my last letter was with wrong topic name
This wouldn't have happened if you would just create new threads for
your questions instead of hijacking existing threads. Now there are
messages which are irrelevant to the original question - which has yet
to be ans
Sorry, my last letter was with wrong topic name
Hi folks,
I building J2EE application with maven and now I encounter with problem:
Here is the dependency part of my pom from project where I consturct EAR
file
com.mhf
mhfEJBModuleClient
1.0
ejb-client
Hi folks,
I building J2EE application with maven and now I encounter with problem:
Here is the dependency part of my pom from project where I consturct EAR
file
com.mhf
mhfEJBModuleClient
1.0
ejb-client
com.mhf
mhfEJBModule
1.0
Hello,
I manage some non java project using the assembly plugin to create .zip
files automatically. Is it possible to use a generated zip name instead of
the default one : ${artifactId}-${version}.${extension}.
I know it is possible for dependencies, but I did not find it for the
resulting artifa
Julien Stern a écrit :
On Fri, Sep 21, 2007 at 03:42:25PM +0200, Emmanuel Venisse wrote:
you use the 1.1-beta-3 sent to the vote, right? not a previeous snapshot?
Dooh, my bad. I mixed up the numbers. Please replace beta-3 by beta-2
below. I was originally using beta-1 when I reported the is
Hi,
with the tag you declare an excplicit invocation of a
plugin goal during your build lifecylce. The configuration you declare
inside this execution is only effective for that excution. It is not
visible to other executions of the plugin and certainly not when you
invoke the plugin goal fr
Hi,
I would like to know it the current archetype implementation in Maven allows
for dynamic templates.
By dynamic, I mean, the user gets to provide .vm templates under
archetype-resources, and the corresponding java files get generated under
their respective directories.
If not, then, what is
Hi there,
i am trying to generate the html test reports by using the command mvn site,
i also added the plugins in my main pom.xml file which is follows
org.apache.maven.plugins
maven-surefire-report-plugin
${basedir}/targe
Hi,
Instead of supplying my arguments to maven deploy plugin deploy-file goal
at the command line, I would like to configure them in my project pom as
below. That way nobody has to remember what vm parameters to type and I
don't have to invent a batch file to store in source control to call it
Emmanuel,
just to let you know, that unfortunately, the issue
http://jira.codehaus.org/browse/CONTINUUM-1384
still happens with beta-3, albeit much less often than with beta-2.
It happened twice in the last two weeks.
In both cases there was nothing in the logs except the fact that
the cvs update
If you're doing server deploys / start / stops, it might be a good idea to
look at cargo.
http://cargo.codehaus.org/
Jim
On 9/21/07, Subashini S <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am using maven2.0.7 .
>
> I want to do something like "mvn start" which would do all the packaging
> stuff and
It seems I was wrong, it is not in the wagon project. It is in the maven
project itself. It is a combination of the
AbstractConsoleDownloadMonitor[1] and ConsoleDownloadMonitor[2], which
are logging to System.out instead of a normal logger.
Maybe if you run mvn with the -B option (Batch mode)
As far as I can see the output is caused by a class in the wagon
project, namely Debug.java [1] I don't know which class instantiated it
(it is not instantiated inside the wagon project)
Hth,
Nick Stolwijk
[1]
http://svn.apache.org/viewvc/maven/wagon/trunk/wagon-provider-api/src/main/java/or
Hi Martin,
Martin Pruefer wrote on Thursday, September 20, 2007 2:11 PM:
> Hi,
>
> is there any way to make the deploy plugin being less verbose when
> uploading via scp to a server?
> I'm building my project with 'mvn deploy' and for each artifact the
> upload progress is being logged in a very
Yes, I tried that. Result is, all 'useful' messages are gone, but the
uploading progress is still shown.
On 9/20/07, Gisbert Amm <[EMAIL PROTECTED]> wrote:
> Have you tried mvn deploy -q already?
>
> -Gisbert
>
> Martin Pruefer wrote:
> > Hi,
> >
> > is there any way to make the deploy plugin bein
Are you sure the artifact isn't attached? If the code would work the artifact
will only be attached after the site:site goals had been run. If you want to
deploy the attached artifact you would have to run:
mvn site deploy
So my question is: In what way are you going to use the attached artifact
zalym schrieb:
I followed the attached tests guide to create a dependency to my core tests.
The first part of the tutorial worked, and I could install a version of the
test jar in the local repository as models-3.0-tests.jar. When I tried to
add this as a dependency in another project, it came
Just tried it and got it working this way:
mvn install:install-file
-DgroupIdcom.davidkarlsen.com.maven.plugins
-DartifactId=maven-was-plugin
-Dversion=1.0-SNAPSHOT
-Dfile=maven-was-plugin-1.0-20060418.100451-1.jar
-DpomFile=maven-was-plugin-1.0-20060418.100451-1.pom
Note that I used t
49 matches
Mail list logo