Until the OP responds, we'll never know the answer. We're both making
assumptions here.
Wayne
On 9/11/07, Dave Feltenberger <[EMAIL PROTECTED]> wrote:
> Because ant can inherit the classpaths/dependencies. Presumably he *is*
> utilizing the lifecycle, and attaching this ant config to one of the
Because ant can inherit the classpaths/dependencies. Presumably he *is*
utilizing the lifecycle, and attaching this ant config to one of the phases,
but has a need to call specific ant tasks only sometimes. Was there
something I missed that made you think he was calling maven only to call
ant, an
Hi,
In the recent version (2.0.7) the boot directory is not in core.
I just created the core directory and placed the boot inside it and
everything works fine now..
Regards
Sateesh
Sebastien Arbogast wrote:
>
> My mistake. I just realized that I installed maven in
> /usr/local/maven-2.0.
That just sounds more complicated than it needs to be. Calling Maven
just so it will call Ant for me is too indirect when I can just call
Ant directly, right? What's the advantage when it works fine with "ant
" and I have no interest in utilizing the Maven lifecycle for
this particular Ant target/c
Can't you just pass in a -D argument and execute the argument that's passed
in?
e.g.
mvn install -DantTarget=targetToCall
then in the antrun execution:
On 9/11/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> I would just move those targets out to a build.xml file so you can
> call them directly
In maven 2 you can create an all-in-one jar with the assembly plugin
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#jar-with-dependencies
Arnaud
On 11/09/2007, zm <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I'm trying to create a jar using Maven 2, but I'm not getting wh
Thanks for the reply, Stephane. I've created a bug with an attached example:
http://jira.codehaus.org/browse/MWAR-116
-Chris
Stephane Nicoll-2 wrote:
>
> Hi,
>
> The plugin has switched to 2.1-alpha-1-SNAPSHOT since we've made a big
> big refactoring to support new cool features such as ove
Hi
There's nothing as default config for proximity , I didnt change anything on
proximity server, each repo (public,inhouse,inhouse-snapshot) are located on
some local path (c:\profile\proximity\inhouse\storage\. I copied all the
repository downloaded so far from internet and OSS here, but for
Hi,
The plugin has switched to 2.1-alpha-1-SNAPSHOT since we've made a big
big refactoring to support new cool features such as overlays
handling.
I never had this problem so far; pease create a pom to reproduce the
issue with public artifacts and create an issue in the war project.
Regards,
Sté
well,
what is your config actually? As Heinrich said, the "inhouse" repo
group is (in default config) not proxying the central!
Did you change Proximity settings or using just the default "out-of-the-box"?
I'm happy it works, but does it do what you think? :)
~t~
On 9/11/07, Sonar, Nishant <[E
Hi,
I'm trying to create a jar using Maven 2, but I'm not getting what I whant
to ...
I have a jar project (main.jar) that depends on another jar (common.jar). My
poms are working correctly, but I need to create a self dependant main.jar.
That is, I need main.jar to include the common.jar, and a
Thanks to Henry, Tamás
I have figured out the problem , the reason was I need to block the internet
acces by disabling any proxy setting (in settings.xml), and mirror the
'central' to http://somednsname:8080/px-webapp/repository/inhouse.
Also I need to be very much clear on the maven-metadata.xm
${parent.basedir} is not working for me ... I used antrun to try to echo it out
and it seems that it's not defined ..
-Original Message-
From: Roland Asmann [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 11, 2007 3:50 AM
To: Maven Users List
Subject: Re: Is there a property for paren
Try adding -U to your Maven execution ie "mvn -U compile" to force an
update of your plugins.
Wayne
On 9/11/07, Eric Wood <[EMAIL PROTECTED]> wrote:
> Is there a way to search the email archive?
>
> I'm having issues setting up maven on windows. I set it up fine on AIX
> and it is running fine th
Thanks for the pointer. I thought this had something to do with the
site plugin instead.
regards,
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
-
To unsubscribe, e-mail: [EMAIL
Hello,
I would like to have maven copy all of my dependencies to my web-inf/lib
in the ${artifactId}.${extension} style instead of the default style
(which includes version numbers in the name).
I've seen that MWAR-93 [1] addresses this problem and the fix is in the
war plugin v. 2.0.3. So
Hello,
I suppose it's the same problem as http://jira.codehaus.org/browse/MPIR-59.
It has been fixed in svn but not released yet.
regards,
Hervé
Le dimanche 9 septembre 2007, Insitu a écrit :
> Hello,
> I ran recently into a strange problem with site generation. When I add
> the locale fr, mave
Is there a way to search the email archive?
I'm having issues setting up maven on windows. I set it up fine on AIX
and it is running fine there, but I'm getting an error message on
windows that seems to indicate the my proxy isn't set up properly, but I
pretty sure that it is fine. I'm using the
Hello all,
yes, i just wanted to correct Sonar, just as Heinrich did.
So, you have to fix your settings.xml and it should work as you expected!
Thanks,
~t~
On 9/11/07, Heinrich Nirschl <[EMAIL PROTECTED]> wrote:
> If you use the standard configuration, the url for the central mirror should
> b
I don't understand why it is so slow to render the project list because the
rendering start with this line:
00:00:03,452 [http-8081-Processor11] DEBUG ServletDispatcherResult-
Forwarding to location /WEB-INF/jsp/components/projectSummaryComponent.jsp
and end with this line:
00:00:21,2
Is your dependent class a 'test' class in project A or a 'main' class in
project A ?
In eclipse, are you importing project A or you have used 'mvn
eclipse:eclipse' to generate your dependencies?
Eclipse does not distinguish between test classpath and compile classpath so
that could be part of the
If you use the standard configuration, the url for the central mirror should be
http://somednsname:8080/px-webapp/repository/public
instead of
http://somednsname:8080/px-webapp/repository/inhouse
Hope that helps,
- Henry
On 9/11/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Perhaps Tamas will reply
"Project B uses a class from Project A in a unit test."
Where is this class in Project A? Is it in src/main/java or src/test/java?
If it's in src/test/java you'll have to create a test jar:
http://maven.apache.org/guides/mini/guide-attached-tests.html
What is the scope of the dependency from Pro
in Continuum 1.1, it is in
apps/continuum/webapp/WEB-INF/classes/META-INF/plexus/application.xml
Leonardo Borges Barbosa a écrit :
Hi Emmanuel,
Thanks for the answer. Can you point out how I can set the log level as you
mentioned?
I'm not familiar with Continuum config and haven't found anythi
I would just move those targets out to a build.xml file so you can
call them directly with Ant. Then set Maven up so it calls the targets
in the build.xml file rather than embedding the Ant stuff in your pom.
Wayne
On 9/11/07, Ritz, Martin <[EMAIL PROTECTED]> wrote:
>
> I have already two profile
I have already two profiles...
I dont want to blow up my pom too much!
Is there no other easier way to call specific targets?
Martin
> Profiles will solve your problem.
>
> Wayne
>
> On 9/11/07, Ritz, Martin <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have some ant targets integrated in my p
I'm using Maven 2.0.7
I have two project, let's call them A and B.
A has only external dependencies.
B has external dependencies, but is also dependent on project A.
Project B uses a class from Project A in a unit test.
Running either "mvn test" or "mvn package" from the project B level result
Hi,
I'm using Maven on one of my projects. Now, I'm facing an issue while
trying to release the project.
We're using Accurev as SCM on our project. Considering that there's no
maven scm plugin for Accurev yet, we're trying to make the release on
the FileSystem. I found out on the site that File
Profiles will solve your problem.
Wayne
On 9/11/07, Ritz, Martin <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have some ant targets integrated in my pom.xml.
> I declared an ant build script which is therefor called from maven.
> Now I dont want to perform every ant target on every build.
> Is there a
Hi Emmanuel,
Thanks for the answer. Can you point out how I can set the log level as you
mentioned?
I'm not familiar with Continuum config and haven't found anything at the
docs.
Thanks
On 9/11/07, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
>
> Can you set the log level of org.apache.maven.scm
John Coleman wrote:
Hi Milos,
I am still on 5.5 - now I look at the log again, perhaps this is the
JIRA issue you mentioned afterall.
I may get hold of the latest NB just to try it and see.
please check the issue or some other that this one links to. it shows a
workaround with explicitly de
Hi Milos,
I am still on 5.5 - now I look at the log again, perhaps this is the
JIRA issue you mentioned afterall.
I may get hold of the latest NB just to try it and see.
John
-Original Message-
From: Milos Kleint [mailto:[EMAIL PROTECTED]
Sent: 11 September 2007 14:22
To: Maven Users L
what version of netbeans are you running on? Can you confirm that the
assembly-plugin executes as part of the build?
Milos
On 9/11/07, John Coleman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yes I have seen that bug before, but in this case there is no .dir in
> the netbeans folder.
>
> Is this really
Hi,
Yes I have seen that bug before, but in this case there is no .dir in
the netbeans folder.
Is this really related, and fixed?
TIA
John
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 11 September 2007 13:15
To: Maven Users List
Subject: Re: target discrep
Hello.
I've been trying to get a custom check installed and can't get it run.
I've followed the directions from the maven site almost to the letter
but it keeps failing on the packagenames.xml. If I take my custom check
out of the checkstyle.xml it still fails but on another check. It seems
http://code.google.com/p/q4e/wiki/Installation
-Original Message-
From: Eric Wood [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 11, 2007 8:01 AM
To: Maven Users List
Subject: RE: Re: Maven plugin for Eclipse
How do you download the Q4E plug-in? The link below says that no download
I patched the Jetty plugin to allow provided scope dependencies which
seems to solve all my duplication issues.
I've created a JIRA patch here http://jira.codehaus.org/browse/JETTY-429
- Original message -
From: "Martin Gilday" <[EMAIL PROTECTED]>
To: "Maven Users List"
Date: Tue, 11 Sep
John Coleman wrote:
I'm trying to run my project using the Mavenide for NetBeans.
I notice that the NB run setup creates a profile in pom.xml, but when
you run it in NB, it expects the artefact in a project subdirectoy of
target/executable-netbeans, so the execution fails.
But the defau
How do you download the Q4E plug-in? The link below says that no download are
avilable.
Eric
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Sanchez
Sent: Monday, September 10, 2007 1:15 PM
To: Maven Users List
Subject: Re: Re: Maven plugin for E
Yes it is.
${parent} gives you a 'pom', on which you can access all properties that you
can access directly (e.g. 'groupId', 'artifactId', 'version', 'packaging').
On Tuesday 11 September 2007 13:17, [EMAIL PROTECTED] wrote:
> Is this ${parent} property generally available, i.e. ${parent.artifac
Is this ${parent} property generally available, i.e. ${parent.artifactId},
etc
It would help me refactor a number of places where I use something similar
to this in a parent POM
${artifactId}
Roland Asmann <[EMAIL PROTECTED]> wrote on 09/11/2007 06:49:55 AM:
> Yes there is: ${pare
Hi,
For internal use at our company I have written a small maven plugin that
uses a configuration similar to:
blablabla
a_name
a_type
a_name2
a_type2
Yes there is: ${parent.basedir} should be the one you need
Be carefull though, if your child-project are deeper than one level, you
should use ${parent.parent.basedir} (and so on).
Isn't it possible for you to make a dependency of some kind to the
tools-project? Or build your tools as maven-
On 9/11/07, Roy van der Kuil <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> For internal use at our company I have written a small maven plugin that
> uses a configuration similar to:
>
> blablabla
>
>
>
> a_name
>
> a_type
>
>
>
I'd like to help out in any way I can. Should I contact one of you personally
as well, or will this mail suffice?
On Tuesday 11 September 2007 00:02, Brett Porter wrote:
> We have had requests for the ability to do this easily, but there is
> nothing at the moment. If you are interested in helpi
I'm trying to run my project using the Mavenide for NetBeans.
I notice that the NB run setup creates a profile in pom.xml, but when
you run it in NB, it expects the artefact in a project subdirectoy of
target/executable-netbeans, so the execution fails.
But the default location for the buil
I think in a way you did answer it, in that there probably isn't an
easier way than by profiles. It does work it just seems to result in a
lot of duplication in my POM. Here is a (very) cut down version of what
I mean:
2.4-SNAPSHOT
mygroup
dataTier
${
2007/9/11, Martin Gilday <[EMAIL PROTECTED]>:
>
> I think what you say is correct. I think my problem is really to do
> with the Jetty plugin. I think by saying "test" I may have misled. My
> situation simplified is this. dataTier has a dependency on Hibernate.
> This is a dependency of webApp.
I think what you say is correct. I think my problem is really to do
with the Jetty plugin. I think by saying "test" I may have misled. My
situation simplified is this. dataTier has a dependency on Hibernate.
This is a dependency of webApp. dataTier is going to be placed in the
app servers lib
2007/9/11, Martin Gilday <[EMAIL PROTECTED]>:
> I have tried provided which makes sense
> in excluding it from the WAR but then it is not available to my tests.
On second thought, are you sure of what you say?
I wrote JUnit tests referring to provided-scoped libraries (like
javax.servlet.*).
Anto
Hi Antonio,
Thanks for the link. That lead me on to
http://maven.apache.org/plugins/maven-war-plugin/examples/skinny-wars.html
So I added a block like so:
maven-war-plugin
WEB-INF/lib/MyLib*.jar
I use * to avoid duplication of my version (of course I could use
property here)
2007/9/11, Martin Gilday <[EMAIL PROTECTED]>:
>
> Is there a dependency scope which makes an artifact available for
> compilation of src/main/java and also on the test classpath, but not
> included in the resulting WAR? I have tried provided which makes sense
> in excluding it from the WAR but the
Can you set the log level of org.apache.maven.scm to DEBUG? I'd like to know
what is the command and the error.
Emmanuel
Leonardo Borges Barbosa a écrit :
Guys, I am probably missing something, but after some searching, I couldn`t
find what it is. Any help would be apreciated.
This is the SC
Damien Lecan a écrit :
2007/9/10, Emmanuel Venisse <[EMAIL PROTECTED]>:
Continuum can't be compared to Archiva because in Continuum
pages we have lot of db queries.
This server is also running Jira (same local MySql server, same Tomcat
instance), without a such slowness.
Are you interested i
2007/9/10, Emmanuel Venisse <[EMAIL PROTECTED]>:
> Continuum can't be compared to Archiva because in Continuum
> pages we have lot of db queries.
This server is also running Jira (same local MySql server, same Tomcat
instance), without a such slowness.
Are you interested in knowing what's happenin
Is there a dependency scope which makes an artifact available for
compilation of src/main/java and also on the test classpath, but not
included in the resulting WAR? I have tried provided which makes sense
in excluding it from the WAR but then it is not available to my tests.
The only solution I
Hi Graham,
Can you turn on debug logs to see if more informations are available?
Emmanuel
Graham Leggett a écrit :
Hi all,
While trying to install Continuum v1.1 beta 2 from scratch on a Windows
machine, I have managed to get it started up and working, and am trying to
enter the first set of
Thanks for the quick response.
> Hello,
>
>> Can anyone tell me how to run a batch file or shell script from maven?
>
> Look at this plugin :
> http://mojo.codehaus.org/exec-maven-plugin
>
>
> Damien
>
> -
> To unsubscribe, e-mail
Hi,
I have some ant targets integrated in my pom.xml.
I declared an ant build script which is therefor called from maven.
Now I dont want to perform every ant target on every build.
Is there a way to call only specific ant-targets from the command line (maybe
by calling the target or the id)?
--
Hello,
> Can anyone tell me how to run a batch file or shell script from maven?
Look at this plugin :
http://mojo.codehaus.org/exec-maven-plugin
Damien
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
Hello,
Can anyone tell me how to run a batch file or shell script from maven?
Thanks,
Hoos
--
Hussein Badakhchani
Xenith Consulting Limited
Blog: http://dev2dev.bea.com/blog/hoos/
-
To unsubscribe, e-mail: [EMAIL PROTECTED
I have a "tools" directory under "parent" and the children projects need
to invoke commands under "tools" during the phase of code generation. I
want to provide an absolute path to that "${parent}/tools" so that each
child can invoke from there.
Or is there other better way to solve it? is there
62 matches
Mail list logo