On Friday 25 April 2008 Brian E. Fox wrote:
> A few tips. Try mvn help:effective-profiles -PmyProfile
According to my knowledge and the documentation [1] it's
help:active-profiles and not help:effective-profiles.
hth,
- martin
[1] http://maven.apache.org/plugins/maven-help-plugin/
signature.a
On Wednesday 23 April 2008 Wendy Smoak wrote:
> On Wed, Apr 23, 2008 at 5:08 PM, Martin Höller <[EMAIL PROTECTED]> wrote:
> > I'm having problems with a multimodule project with EJB3 dependencies.
> > It seems maven is not able to include EJB3 modules in the classpath of
> > other child-modules wh
--- Mark Struberg <[EMAIL PROTECTED]> schrieb:
> For me, it would be nice to configure a plugin which sends an email with a
> simple http href
> pointing to the artifact to a list of given email adresses. If the mail body
> is inside the
> plugin
> config, it would also be possible to fill the ac
Hi Dan!
I think i generally understand your problem, since i have a similar scenario:
120MB of testdata +
many ~30MB ears packaged for and needed by my Operations&Infrastructure guys in
the US.
But, would you like to cope with all the different setup scenarios, like
archiva, maven-proxy,
etc?
Brian, the dependency plugin works, but there are a few issues that I
need to address for my client:
1. I am dealing with large artifacts ( order of 100M like installer
), download this type of snappshot artifacts thru dependency
will consume large amount diskspace over time. But this c
to use dependency plugin, user have to declare the artifact as
dependency. for my case, I would like to
allow user to pass them in as -D properties
do you think we can overwrite the dependency value as properties? any
how let me try this method first.
Thanks
-D
On Thu, Apr 24, 2008 at 8:29
How is that different than the dependency:copy where it takes all those
things?
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 11:20 PM
To: Maven Users List
Subject: API to figure out the exact URL of a deployed artifact?
Hello,
I would like t
Hello,
I would like to write a generic mojo to download a deployed artifact
with given groupId, artifactId, and version as params. For snapshot,
i like to get the latest one.
I spent some times with deploy plugin hoping for a clue but not
finding any thing yet.
Suggestions are greatly appreciat
I have an idea: maven uses the first plugin config it sees, so if that
other project is using ant anywhere else, and it runs first, the
dependency won't actually be used.
-Original Message-
From: bheath [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 7:58 PM
To: users@maven.apach
Hi All,
Recently I found out from this forum how to get an ant ftp target to work
from maven.
I got it working one one project, but the exact same plugin did not work on
another project on another machine.
It gave me errors as if I did not have the dependencies correct
this is the error
[INFO]
-
Actually yes:
http://blogs.sonatype.com/brian/2008/04/17/120848550.html
-Original Message-
From: Michael Ransley [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 7:21 PM
To: users@maven.apache.org
Subject: Using a distribution built by the assembly plugin as a
dependency...
H
Hello,
In the FAQ located at:
http://maven.apache.org/plugins/maven-assembly-plugin/faq.html
It says the following:
"Can I use an artifact created by the assembly plugin as a dependency?" and
the short answer is yes but it doesn't give an example. Does anyone have an
example of how to do this?
>I have a problem with legacy in maven 2, i've configured a profile
called
>"myProfile"in my POM parent and i have my project pom which inherits
this
>pom parent, but when i execute "mvn -PmyProfile myProject" the profile
is
>not activated, can you see the problem
Yes it's right over oh y
That is a weird one, but try changing your configLocation to :
${basedir}/config/CheckStyle Rules.xml
This will give an absolute path to checkstyle. You also might want to
get rid of the space in the file name.
-Original Message-
From: Hart, Leo [mailto:[EMAIL PROTECTED]
Sent: Thursday,
Hi Nick,
On 24/04/2008, at 6:50 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
wrote:
It would be something like:
org.apache.maven.plugins
maven-dependency-plugin
2.0
list-deps
generate-resources
I'm trying to migrating my build process from Ant to Maven and have been
struggling quite a bit so far.
I want to integrate CheckStyle into the build, so I've added the
following:
org.apache.maven.plugins
maven-checkstyle-plugin
false
false
config/CheckS
You need to specify this pom as a element in your child
pom...simply adding it in the parent directory doesn't magically do it
for you ;-) Also, super-pom is normally reserved to mean the pom
included in the maven core...the true super pom. A more appropriate term
is a corporate pom for a corp wid
In your pom.xml file add the following:
org.apache.maven.plugins
maven-compiler-plugin
1.5
1.5
Hello, I'm trying to come up with a way such that new maven projects I create
are ready to use JDK 1.5 by inheritance from a super POM. I'm having no
luck, hence this post. I'm new to maven (thanks to this forum for telling me
maven defaults to jdk 1.3) so super POMs are a little unfamiliar to me,
<>
Good point, thanks.
~Daniel
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello folks, I solved this issue, what got it to work was including
META-INF/context.xml
In the configuration element of my maven-war-plugin.
Thanks for Alan Stoll for pointing this out.
Alessandro Ferrucci :)
On 4/24/08 1:27 PM, "Alessandro Ferrucci" <[EMAIL PROTECTED]> wrote:
> I tri
I tried Daniel's suggestion but that unfortunately did not work.
Alessandro Ferrucci :)
On 4/24/08 12:13 PM, "Wayne Fay" <[EMAIL PROTECTED]> wrote:
> Did you not see Daniel Allen's response to your original email? Did
> you try his suggested configuration? What happened when you tried, did
> it
Hi,
I have a problem with legacy in maven 2, i've configured a profile called
"myProfile"in my POM parent and i have my project pom which inherits this
pom parent, but when i execute "mvn -PmyProfile myProject" the profile is
not activated, can you see the problem
thanks
--
View this mes
On Thu, Apr 24, 2008 at 12:46 AM, Salgar, Mehmet (external) <
[EMAIL PROTECTED]> wrote:
> I would try to find the JIRA for m2eclipse and write this there...
Sounds like you may be running into this (or a variation of)...
http://jira.codehaus.org/browse/MNGECLIPSE-438
You should try to put it in src/main/resources/data and then access it with
the same descriptor ("jdbc:hsqldb:data/db-name")
Tomas Darbois
Edifixio Grenoble - Projet ScorWare
04 76 29 89 27
[EMAIL PROTECTED]
-Message d'origine-
De : oliver.maven [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 2
i am not doing unit tests for now , i only want to run the application with
hsqldb configured.Previously i put a directory called "data" in my project's
root directory,and used "jdbc:hsqldb:data/db-name" url to access dabtabse,so
where to put the "data" directory in maven, so that the "jdbc:hsqld
"mvn install:install-file" each of the vendor jars independently.
Then specify a on each of them in your project's pom.xml file.
This is the usual way to declare dependencies. Is there a reason this
is not acceptable?
Wayne
On 4/24/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I a
Did you not see Daniel Allen's response to your original email? Did
you try his suggested configuration? What happened when you tried, did
it not work?
Wayne
On 4/24/08, Alessandro Ferrucci <[EMAIL PROTECTED]> wrote:
> Well actually you don't NEED to have the context.xml in a webapp, WEB-INF is
>
Hi,
I am relatively new to maven. I am developing a web app that is dependent on
multiple jar files supplied by another vendor. I need to setup my project so
it can compile with this vendors jars on the class path, but am not sure of the
best way to approach this. I have tried unzipping all the
Well actually you don't NEED to have the context.xml in a webapp, WEB-INF is
required but META-INF/context.xml is not required (perhaps maven assumes
that it's required, but that is a different argument).
Is there an override param/element to have it excluded? Or am I screwed in
this scenario? Is
Hi Oliver,
oliver.maven wrote:
> hi,
> i am a maven newbie, i want use hsqldb as my development
> database,normally it need a directroy to store the related files
> where to put this directory within the maven's directory structure?
> thanks a lot!
there's no defined place. However, what are you
Alessandro Ferrucci wrote:
> I'm just bumping this email back up the listserv stack to see if
> anyone knows how I can do this :)
>
> thanks
>
> Alessandro Ferrucci
>
>
> Alessandro Ferrucci wrote:
>> hey guys
>>
>> I'm trying to exclude a context.xml from a webapp. I have the
>> following s
hi,
i am a maven newbie, i want use hsqldb as my development database,normally it
need a directroy to store the related files
where to put this directory within the maven's directory structure? thanks a
lot!
oliver.maven
2008-04-24
I'm just bumping this email back up the listserv stack to see if anyone
knows how I can do this :)
thanks
Alessandro Ferrucci
Alessandro Ferrucci wrote:
hey guys
I'm trying to exclude a context.xml from a webapp. I have the
following snippet in my build element:
Hi,
In Maven 2.0.8 I built my war with maven-war-plugin:2.1-alpha-1 and my
zip with maven-assembly-plugin:2.2-beta-2
The war/zip contained dependent jars as "jarname-version-SNAPSHOT.jar"
when the depend jars were located in the localrepository.
The war/zip contained dependent jars as "jarnam
I did it too. Thanks for your attention.
iiggzz wrote:
>
> I found it out! So if anybody has the same problem go ahead and ask me.
> Now I have another problem. I need to specify the path to my files like
> this: ${projectName}-mymodule/myfile.txt so after creation it should look
> like this: he
We have a similar structure, we release the super-pom and the poms of the
subsystems always only have a released version of the parent.
Nicole
On 24/04/2008, Eugene Batogov <[EMAIL PROTECTED]> wrote:
>
> Hello !
> I am trying to use maven-release-plugin.
>
> Our project is consist of 3 levels.
Is there any way to do the same thing (always hit only one internal
repo) using only a shared parent pom.xml (and specifically without
altering anything in settings.xml, as I know of no automatic way to
share a common settings.xml among a team)?
Dan
-Original Message-
From: Wayne Fay [ma
Wayne,
Ok thanks. I appreciate the clarification. Right now I have those
settings in my company's super pom as I like to call it.
Thanks,
Daniel King
Vurv
The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this
message
Looking at the dates of your emails, your original query came before
Maven 2.0.9 was released, and this functionality was not available
until 2.0.9. So the previous response would have been "you can't"
which is probably why you didn't get one.
Wayne
On 4/24/08, [EMAIL PROTECTED] <[EMAIL PROTECTED
I'm not 100% sure (still new at Maven myself) but I believe that copying
files to webapp/* takes place in a different phase. So what I think is
happening is that you've excluded the context.xml file from your main
resources phase, but it gets included in the WAR packaging secondary
resource phase,
Siegmann Daniel, NY wrote:
> Questions on "best practices". Lets say I'm working toward
> version 1.0,
> releasing snapshots as I go. But I also want to release a few
> alphas and
> betas. Would you name the versions
>
> 1.0-alpha-1-SNAPSHOT
> 1.0-alpha-1
> 1.0-alpha-2-SNAPSHOT
> 1.0-alpha-2
> ...
Have you tried declaring a
path/to/your/tests in the
build section of your pom ?
Regards,
Salvador
Mark-E wrote:
Hi,
I have several projects that I currently build with maven. I want to
start using the junit and cobertura plugins however the junit code does not
live under the src folder. I
Hi Wendy,
I tested your plugin and worked!
I think that other people need of this plugin, but don´t find in web.
You can talk with maven developer to add the url
http://myfaces.apache.org/wagon-maven-plugin/index.html
in http://maven.apache.org/plugins/index.html
Thank you very much!
-Mensa
Questions on "best practices". Lets say I'm working toward version 1.0,
releasing snapshots as I go. But I also want to release a few alphas and
betas. Would you name the versions
1.0-alpha-1-SNAPSHOT
1.0-alpha-1
1.0-alpha-2-SNAPSHOT
1.0-alpha-2
...
or
1.0-SNAPSHOT
1.0-alpha-1
1.0-SNAPSHOT
1.0-a
Hi,
I have several projects that I currently build with maven. I want to
start using the junit and cobertura plugins however the junit code does not
live under the src folder. It is in /test.
Is there a parameter that I can set that tells maven the location to look in
for the junti code, for
>Then I'm not seeing what purpose the dependencyManagement section
>serves if I've still gotta declare pretty much everything apart from
>'version' in other dependency declarations?
The group/artifact/classifier/type are part of the identifier and those
must match. The scope and version can b
Hi,
Very good!
Now, I have two options to do scp:
http://myfaces.apache.org/wagon-maven-plugin/usage.html
and
http://docs.atlassian.com/maven-upload-plugin/1.1/
I will test both.
Thank you very much!
Thanks Nick to your hint. I will try to do a plugin to wsconsume of jbossws
-Mensagem ori
Hello !
I am trying to use maven-release-plugin.
Our project is consist of 3 levels.
1. At top is SUPER-POM
2. At middle are pom files of subsystems, which have parent - SUPER-POM.
3. At bottom ara pom files of components, which have parent - pom file
subsystem.
Our SUPER-POM file present ba
Hi,
Have a look on Carlos's blog
http://www.jroller.com/carlossg/entry/slides_from_eclipsecon
Cheers,
Vincent
2008/4/21 <[EMAIL PROTECTED]>:
> I have been looking for a while for this solution.
>
> Has anyone been able to run this tutorial to complete?
>
> http://mojo.codehaus.org/pde-maven-
Hello !
I am trying to use maven-changes-plugin again, version 2.0 with our jira.
I have next configurations:
...
JIRA
https://svn.cti.ru:8443/jira/BrowseProject.jspa?id=10001
...
Hi,
I would like to be able to refer to a dependency via a property. As an
example consider the site phase which runs numerous reporting plugins
and such a plugin requires a license.
I have the license sitting in the repository as an artefact and I define
the artefact as a dependency in the depend
It would be something like:
org.apache.maven.plugins
maven-dependency-plugin
2.0
list-deps
generate-resources
list
foo.txt
Lachlan Deck wrote:
> Hi there,
>
> On 24/04/2008, at 4:37 PM, Jörg Schaible wrote:
>
>>> -- root parent pom --
>>>
>>>
>>>
>>> ...
>>> ...
>>> ...
>>> ...
>>>
>>>
>>>
>>>
>>> -- /frameworks/pom.xml --
>>>
>>>
>>> ...
>>> ..
Hello,
I think dep.mgmt. is meant to declare "if an artifact with this
groupId/artifactId appears somewhere in the dependency tree, include the
version stated here; but don't include it by default".
For instance, if your module A depends on module B which in turn depends on
module C 1.0 but yo
55 matches
Mail list logo