Can the site.xml inheritance be avoided ?

2010-02-11 Thread mfs
Hi Guys, I have a multi-module project and it just happens so that I want to have a totally seperate look & feel and menu-items in the site generated for just the parent. Hence I made my custom site.xml for that parent (reactor) module without reports and modules in the left menu. As for child

Accessing Properties in site.xml?

2010-02-10 Thread mfs
Hi Guys, Is there a way to access the properties defined in pom.xml from within site.xml ?. I am creating some custom menu items and would like the "href" for each of the items to be constructed dynamically based on some properties in pom or within some profiles. Is that possible ? Thanks in ad

Inject a new menu-item to the "Project Documentation" Menu

2010-02-10 Thread mfs
Hi Guys, Is there a way to inject a new menu-item to the "Project Documentation" menu generated by default by the site-plugin. I know one can add the Project documentation section by the tag "" in the src/site.xml, but I not only want to add these existing report menus, but also want to inject

Re: Logging

2010-02-10 Thread mfs
nk to this generated link in the generated site. Any thoughts would be appreciated.. Thanks, Farhan. brettporter wrote: > > > On 11/02/2010, at 12:33 PM, mfs wrote: > >> >> Hello Guys, >> >> I am using maven 2.2.1 and wondering if there has been any support ad

Re: Logging

2010-02-10 Thread mfs
Hello Guys, I am using maven 2.2.1 and wondering if there has been any support added to stream the build output to a file in addition to the console ?. Doesn't seem to be the case taking a look at the JIRA issues, but just wanted to be sure. We would like to publish the build logs to a centraliz

Re: Removing: jar from forked lifecycle, to prevent recursive invocation

2010-01-21 Thread mfs
Hi Guys, Though I see this warning (while using javadoc plugin), but so far its not been a worry for me and everything is working fine. Still I had some questions for the maven experts here to get a better understanding of this... Stephen mentioned in this thread, that it would be dangerous if

Re: Plugins: Goals without a phase

2010-01-05 Thread mfs
Got the answer... YES, the goal (even if bound to phase, by default) would execute independent of any build-life-cycles if executed/invoked directly from the command-line. Farhan. mfs wrote: > > If there IS a default phase associated with the plugin's goal/mojo, even > then th

Re: Plugins: Goals without a phase

2010-01-05 Thread mfs
If there IS a default phase associated with the plugin's goal/mojo, even then the plugin would execute OUTSIDE of the any of the build life-cycles IF (plugin:goal) executed from the command line ? I understand that above is true (as per your last statement) when the mojo/goal has NO default-phase

release-plugin-Doing a diff of pom.next & pom.tag with the current pom after a dryRun

2008-11-14 Thread mfs
Guys, I didn't find a way to do this, so just though to check and in my opinion if we add this feature, it would be pretty handy in my opinion. Something which my IT/RollOut team asked for when they were cutting a branch. So what i am looking for is a way to quickly check/review the changes in t

Re: [SOLUTION] Filtering resources in the EAR artifact

2008-10-27 Thread mfs
Was a problem on my end with the usage of the properties..Sorry for the noise mfs wrote: > > I am trying out what you suggested (as i have an exactly similar > scenario), but still cant get it to work, below is my configuration as in > my pom.xml..let me know if anything i

Re: [SOLUTION] Filtering resources in the EAR artifact

2008-10-23 Thread mfs
I am trying out what you suggested (as i have an exactly similar scenario), but still cant get it to work, below is my configuration as in my pom.xml..let me know if anything is missed out.. org.apache.maven.plugins maven-ear-plugin ${basedir}/src/main/re

EAR Project - Resource filtered correctly in the /target/classes folder but not in the archive ?

2008-10-23 Thread mfs
Hi Guys, I have an ear project consisting of wars and ejb modules. Also i have some resources (specific to oracle-container e.g. orion-application.xml, data-source.xml etc) in the src->main->application->META-INF folder. So basically i want to filter some properties being used in one of these fil

release-plugin : Calling a shell script to perform some other task during release:prepare

2008-08-29 Thread mfs
Hi Guys, While doing some searching on the forum i got to know that you cant hook a plugin:goal execution into another plugin, and thats somewhat what i wanted to do. Actually we are using the maven release plugin but while doing a release there are some other tasks we need to perform using a she

release plugin - BuildFailureException : The version could not be updated ?

2008-08-28 Thread mfs
Guys, I am facing this issue with the usage of maven release plugin and would really appreciate some suggestions/feedback... So i have this product/project heirarchy as below which i am trying to release using the maven-release plugin but am getting this exception "BuildFailureException: The ver

Re: Inheriting POM

2008-08-19 Thread mfs
e, and > branch, for you. > > Cheers, > Brett > > 2008/8/20 mfs <[EMAIL PROTECTED]>: >> >> I am looking to do the same, so that on cutting the branch we dont have >> to go >> through all the child poms and change their versions. >> >> A

Re: Versions in a Multiproject

2008-08-19 Thread mfs
Has anyone been able to figure out an alternate solution where doesnt need to specify the "${pom.parent.version}" in every pom ? and be able to inherit/refer the parent pom, so that we can specify the pom version(s) in a multi-module project at one place, and hence make the branching easy.. Pet

Re: Inheriting POM

2008-08-19 Thread mfs
I am looking to do the same, so that on cutting the branch we dont have to go through all the child poms and change their versions. Anyone ? dl123 wrote: > > Now, I have 20 or so POM's that are all taking a top level POM as the > parent shown below: > > > com.mycompay.apps >

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2008-05-16 Thread mfs
. Wendy Smoak-3 wrote: > > On Thu, May 15, 2008 at 8:06 PM, mfs <[EMAIL PROTECTED]> wrote: >> >> Any follow up on this ? > > AFAIK, no one is working on it. The Oracle client/driver jars are > unlikely to be available in a public repository any time soon, unles

Re: com/oracle/ojdbc14 where are Oracle driver jars?

2008-05-15 Thread mfs
Any follow up on this ? SiSi'mon wrote: > > I spoke with Oracle and they said in order for anyone to distribute the > jars, an agreement is needed from the distributor as a vendor. > > I don't have the details yet on what the receiver of the jars may need to > agree to or sign but hope ther

Re: Usage of public repositories - please suggest

2008-04-15 Thread mfs
Actually we do have Artifactory as the repository manager, thats what i meant when i used the term "internal repository", and currently we just have repo1.maven.org set up as the remote repository in it. I was interested in knowing the public repositories which one can rely on (as the remote rep

Usage of public repositories - please suggest

2008-04-15 Thread mfs
Guys, Today we came to the need of adding jcip-annotations jar in our company maven repository, but before we do so, we check if the same exists in the maven public repository (repo1.maven.org) and if not, only then we deploy the same in our internal repository. Now, while googling i did a find

shade-plugin - Embedded error : duplicate entry

2008-04-07 Thread mfs
Hi All, Am using shade plugin to package all the dependencies as well in my jar, and all works well, except for scenarios when i do a subsequent build of the project (without doing a mvn clean first), i get this duplicate entry error on one of the classes packaged in the jar.. [ERROR] BUILD ERR

Integration tests - Where to place them ?

2007-11-12 Thread mfs
Guys, Can "java/src/test" be used to package both unit and integration tests ? Or this structure specifically for the unit test-cases.. ? Like for example in my case we have an html file used for some functional/integration testing, would it be a good idea to put it in the java/src/test folder

Does Cargo m2 plug-in support oc4j 10.1.3 ?

2007-09-27 Thread mfs
Guys, Wanted to know if the current cargo m2 plugin has support for OC4J 10.1.3 container ? The containers list in the cargo documentation lists m2 support for oc4j 9.x only. Though i came across a couple of threads on the forum which seemed to give an impression that the same can be used for de

suite in junit and maven 2 - do they work together

2007-09-12 Thread mfs
Hello Folks, Am looking into how having a suite in junit4 (or even earlier versions) can integrate with the way maven2 runs the junit test-cases, i mean if we are using maven to run the test-cases, can having a suite make any difference?...because maven eventually will be running all methods whic

Question relating to dependencymanagement

2007-09-10 Thread mfs
Guys, Got a question relating to dependencyManagement..I have got 2 project "A" and "B" inheriting from a parent pom (containing dependencyManagement and other project wide attributes). Project "A" is further subdivided into 2 sub-projects "A1" and "A2". Now i am not able to inherit (or in other

generate different artifact types against a project?

2007-09-07 Thread mfs
Guys, Well i dont think this is possible, but just wanted to be sure if through any of the plugins (or otherwise) we can achieve the objective, so basically i have a project which contains some pojo(s) with some core functionality and also some servlets which provide an http interface to these co

Re: Two different configuration for notifications ?

2007-09-06 Thread mfs
ect and not to a build definition, > so for each build definitions of a project, the same notifier list is > used. > > Emmanuel > > mfs a écrit : >> Hello All, >> >> I want to configure continuum such that for every nightly build (for >> which i

Two different configuration for notifications ?

2007-09-05 Thread mfs
Hello All, I want to configure continuum such that for every nightly build (for which i have defined a seperate cron expression using the administration -> schedule option) if an error occurs an email is sent to the notifiers (as in the pom) whereas i wouldnt want issue any notification for the b

Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
Finally got it fixed...after alot of research...it was due to a maven (2.0.7) issue on windows...issue - MNG-3084...had to modify the mvn.bat file to get it working. Thanks nyways Farhan. mfs wrote: > > Dear All, > > I am getting this strange behavior where even on a build

Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServe

Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
any one...Emmanuel..you might have something on this..? mfs wrote: > > Dear All, > > I am getting this strange behavior where even on a build-failure (as > below) as shown in the Result, the success icon is shown against the > project on "show-project" scre

Re: Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
1| 2007/08/30 11:32:43 | 2007-08-30 11:32:43,548 [SocketListener0-1] WARN VelocityComponent - org.apache.velocity.runtime.exception.ReferenceException: reference : template = screens/ProjectBuild.vm [line 137,column 96] : ${requestUtil.getParameter('buildId')} is n

Strange - Success icon shown and no emails sent in case of build-failure

2007-08-30 Thread mfs
Dear All, I am getting this strange behavior where even on a build-failure (as below) as shown in the Result, the success icon is shown against the project on "show-project" screen and same is the case with history screen against a project...and even no emails are sent as its intrepreting that th

Email notification to just the committer and the administrator

2007-08-30 Thread mfs
Dear All, Is there a way i can configure Continuum to send email notifications just to 1) the committer of the code 2) administrator Write now the emails are being sent to the notifiers i have configured in the pom.xml. Thanks and Regards, Farhan. -- View this message in context: http://w

Cannot checkout sources....Invalid SCM URL

2007-08-30 Thread mfs
Hello Everyone, I am getting this error on a build done through continuum... Exception: Cannot checkout sources.//localhost/pdfp url isn't a valid svn URL. The scm url is invalid. which i am not able to figure out why...any help is much appreciated..am using maven 2 with sub-version..nyways hav

Re: mvn deploy on Artifactory gives File transfer error (Return Code 401)

2007-08-27 Thread mfs
Figured out what the problem was..secondly sorry for posting it here..since this was rather a post for artifactory list.. Farhan. mfs wrote: > > Hello Guys, > > Any clue as to why am i getting the following error on deploying an > artifact on artifactory repo using maven dep