ble time
> period, you'll probably need to code it yourself and contribute it.
>
> Wayne
>
> On 9/27/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
> > Well actually i have posted there already, but apparently that list is
> > not as active as i thought it
Well actually i have posted there already, but apparently that list is
not as active as i thought it would be.
Farhan.
On 9/27/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Any reason you're asking on this list rather than on the Cargo Users
> list directly?
>
> I personally never used Cargo when I
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
probably thats because subversion still just supports
http/https/ftp/file protocols..so you need to configure subversion
with apache so as to make accessible through http protocol, with that
done the url in connection and developerconnection tags should look
like "scm:svn:http://localhost/trunk/Tes
Makes sense...thanks man.
Farhan.
On 9/12/07, Sebastian Johnck <[EMAIL PROTECTED]> wrote:
> correct, i use profiles to configure the excludes/includes values depending
> on which test run i want to do.
>
> On 9/12/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
> >
>
hases I am running, i
> use maven includes and excludes elements in the surefire plugin.
>
> On 9/12/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
> >
> > interesting but not a good way to go ahead with (as also you
> > suggested), more because this way you would have
interesting but not a good way to go ahead with (as also you
suggested), more because this way you would have to configure in every
project's pom the directory where the test-cases reside (so as to
exclude them) what if the test-cases reside in one more than one
folder (for a single project) the sa
but does maven invoke these suites for you during its build-cycle? as
thats what i want
On 9/12/07, Sebastian Johnck <[EMAIL PROTECTED]> wrote:
> I had the this way working for a while using annotations like so:
> @Suite.SuiteClasses( { ServicesSystemTestSuite.class })
> @RunWith(Suite.class)
> Us
A one time thing but certainly worth the effort in my opinion,
eventually the goal should be to have a similar structure
enterprise-wide so as to speed up the time it takes for the new
members to adapt to a different project in the company.
Farhan.
On 9/12/07, Syed Shabir <[EMAIL PROTECTED]> wrot
Thanks Remy...
On 8/28/07, Rémy Sanlaville <[EMAIL PROTECTED]> wrote:
> > not in maven 2. It was only in maven 1.
> > In m2 you have to call aPlugin:aGoal
>
>
> Yes, it's not available in maven 2. I ask for a such feature some time ago
> and I had this reply that explain why it is not so easy.
>
Hello Guys,
Any clue as to why am i getting the following error on deploying an
artifact on artifactory repo using maven deploy:deploy-file..it says
"Failed to transfer file : [filename] Return Code 401
Farhan.
C:\Users\dummyuser>mvn deploy:deploy-file -DgroupId=itext
-DartifactId=itext -Dversio
though i wonder why would they have taken the feature out..i certainly
see it handy..
Farhan.
On 8/27/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
> i see..thanks
>
> On 8/27/07, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> > not in maven 2. It was only in maven 1.
i see..thanks
On 8/27/07, Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> not in maven 2. It was only in maven 1.
> In m2 you have to call aPlugin:aGoal
>
> Arnaud
>
> On 27/08/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
> > Well actually there are scena
l for a plugin.
>
> However, if you bind the goal to a phase, you don't even need to type
> the plugin (nor the goal) on the CLI... It just all happens
> automagically.
>
> Wayne
>
> On 8/27/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
> > Hello Guys,
>
Hello Guys,
I was just wondering if there is a way to configure/associate a
default goal for plugin so that we need not to type the goal name
explicitly on the command line
Thanks and Regards,
Farhan.
-
To unsubscribe, e-mail:
and Regards,
Farhan.
On 8/22/07, Dan Tran <[EMAIL PROTECTED]> wrote:
> You can not skip a phase, but executions within a phase can be skipped if the
> configured plugins support this option ( like sql-maven-plugin) .
>
> -D
>
> On 8/22/07, Farhan Sarwar <[EMAIL PROTE
Hello All,
Just wanted to know if there is a way to bypass a phase or a goal
(defined in a pom) on invoking the same from the command prompt ..like
we do for bypassing the test-cases with mvn "phase"
-Dmaven.test.skip=true...i doubt there is..but just wanted to be
sure..
Thanks and Regards,
Far
repository.
Farhan.
Please comment..
Thanks and Regards,
Farhan.
On 8/21/07, Eric Redmond <[EMAIL PROTECTED]> wrote:
> On 8/21/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
> >
> > Hello Guys,
> >
> > Got a question relating to the updatePolicy tag in the ma
Hello Guys,
Got a question relating to the updatePolicy tag in the maven
repository configuration, so basically an updatePolicy can have one of
the 4 possible values i.e. always,daily,interval:X (in minutes) and
never. Now my understanding of the way maven handles Snapshot
version(s) is that it wi
lves. The only way to
> "force" your projects to use your repo cache is to override the
> central repo.
>
> Thus, override "central" by specifying your proxy with an id of
> "central" and Maven will not connect directly to it.
>
> Wayne
>
> O
eal" Central, and they
> won't use your proxy for all requests which is what you want to
> configure, if you're setting up a corporate repo cache/proxy.
>
> Wayne
>
> On 8/20/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
> > I am still not clear with the
I am still not clear with the concept so if you could kindly elaborate
a bit further..i would appreciate it, to what i have understood so far
is that "central" and "snapshot" are the "ids" which maven uses to
determine if the public repository is to be overridden or not, but i
am just not clear as
1) So if the ids is just the logical name inside maven , what
difference does it make if i name the Id as "central" or "snapshot" as
you suggested earlier, and i assume thats the only change you are
suggesting to my earlier configuration in the pom.
2) Isn't that how it should be, given that if th
Hi Yoav,
It seems to be working now...Well actually the artifacts i was
refering to were actually the plugins (which were always being
downloaded from the maven public repo i.e. repo1), and after adding
the pluginrepositories section (as below) in pom those are now being
cached/downloaded from the
Hi Yoav,
Thanks for the quick follow..so basically among the two approaches
suggested, the first is the one i have opted, and have defined the
maven-public-repository-cache in the parent pom as it states (instead
of settings.xml)..or am i still missing something..
Farhan.
On 8/20/07, Yoav Landma
Dear All,
I have setup a maven public repository cache so as to maintain the
artifacts used commonly (within the organization) and hence not
require a download everytime from a maven public repository and btw i
am using Artifactory as the Repository Manager.
So in order to achieve the above i hav
Farrukh,
I think you'll require using the pluginManagement tag in the parent
pom to achieve the same behaviour for plugins.
Farhan.
On 8/20/07, Farrukh Najmi <[EMAIL PROTECTED]> wrote:
> Thank you Wayne! I had completely missed this subtle but important
> distinction between and ..
>
> So I tri
en you can invoke it from the command
>line like this:
>
> mvn -P profile-id initialize
>
>Steve
>
>Farhan Sarwar wrote:
> Hi All,
>
>
>
> Is there a way I can invoke a plug-in/goal (not linked with any phase)
> configured in a project's
d in a
pom..
On 8/16/07, Farhan Sarwar <[EMAIL PROTECTED]> wrote:
>
> Thanks for the follow-up Steve, I am still hoping that someone has a
> solution to what I want to achieve but at the same time I think what you
> have suggested is certainly a good simulation for the same…now am sti
Another quick questions folks..
I have got a profile (in a pom) which has a build configured for
maven-ant plugin in it (as below), now my understanding of
plugin/goals configured within a build is that if they are not bind to
phase they would just run independent of the maven build-cycle-phases,
How to associate a default phase with a profile, so that when i
activate/invoke the profile, i dont have to explicitly specify the
phase from the command line...something like "mvn -P someprofile", and
hence the profile is activated within whatever the default phase it is
configured with.
Whats the plugin to use in maven to execute/invoke shell scripts or a
batch file?
Farhan.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi All,
Is there a way I can invoke a plug-in/goal (not linked with any phase)
configured in a project's pom.xml (within an execution tag) from the command
line directly, also the idea is to invoke the goal irrespective of the maven
build cycle.
To be more precise let's say if I have a maven-
Hi Guys,
There is something which I am trying to achieve through maven, for which I
need some assistance..
Basically I would want to run some maven goal for which I have provided the
configuration (e.g. the parameters it expects and other stuff) in a pom for
a project. Now what I would want t
Hello Guys,
Well we are in the process of moving over our applications/modules on maven
2 and hence setting up a maven repository, as I do so I wanted to hear your
experiences with different repository managers out there, so far I just have
explored Artifactory and uptil now I am pretty happy w
Actually I am not…
Farhan Sarwar wrote:
> Hey Guys,
>
>
>
> Am experiencing a strange behavior, which I am not able to understand
> why.Basically I have got two projects A and B where project A has a
> dependency on the Project B, also I have a parent POM from which
Hey Guys,
Am experiencing a strange behavior, which I am not able to understand
why.Basically I have got two projects A and B where project A has a
dependency on the Project B, also I have a parent POM from which both these
projects are being inherited, the compilation and everything works fine
Another quick question, Where to define/configure as to which phase the
Mojo/goal is to be executed, so far with what I have read it seems that it's
the Mojo class file which has this annotation for @phase (at class level) to
tell MAVEN about the phase the goal is to be executed, just wanted to be
Got a simple question if someone could respond.
All the dependencies that we add in a project's pom are in the form of
groupid ,artifactid and version, so what in case we have some propriety
product/jar for which the maven structure (or let's say the pom) is yet not
defined, so in that case we'
39 matches
Mail list logo