Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
. into specific directories inside the .ear? On 1/18/06, Karthik V <[EMAIL PROTECTED]> wrote: > > and yes, the ear, war and jar projects have parent tags pointing to the > pom project > > > On 1/18/06, Karthik V < [EMAIL PROTECTED]> wrote: > > > >

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
and yes, the ear, war and jar projects have parent tags pointing to the pom project On 1/18/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Hi, > > Thank you. I couldn't find a single difference :( ... As for the super > pom, I have a pom project that has mod

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
1.0-SNAPSHOT > ejb > > > whatever > web-project > 1.0-SNAPSHOT > war > > > > > > org.apache.maven.plugins > maven-ear-plugin > > > > > > Regards, &

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
: > > Hi Karthik V, > > The tag for dependencies are no longer suppported. Can you > post your pom so that we can see what you are actually doing? > > Regards, > Henry > > Karthik V wrote: > > > looks like things have changed :( ... the tag is not being >

Artifact[commons-collections:commons-collections:jar] is not a dependency of the project.

2006-01-17 Thread Karthik V
I have an ear project, and the pom contains the following lines - org.apache.maven.plugins maven-ear-plugin commons-collections commons-collections true /

Re: Ear file doesnt contain war and jar

2006-01-17 Thread Karthik V
ce/plugins/ear/properties.html > > Note that the ear.bundle.dir property will allow you to control the > directory (inside the ear file) where the dependency ends up. > > -Max > > On Tue, 2006-01-17 at 13:18 -0500, Karthik V wrote: > > when someone answers th

Re: Ear file doesnt contain war and jar

2006-01-17 Thread Karthik V
when someone answers this question, please give a general answer to this question - how do I copy a jar file specified as dependency into the final artifact, inside the folder I want? On 1/17/06, Karthik V <[EMAIL PROTECTED]> wrote: > > I have an ear project that needs to pack 2 ot

Re: How to display the compiled files?

2006-01-17 Thread Karthik V
verbose may be the one you are looking for > > -D > > > On 1/17/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > Is there an option in maven-compiler-plugin to list the files being > > compiled? I'm trying to have an set, but the compiler seems > to &

Ear file doesnt contain war and jar

2006-01-17 Thread Karthik V
I have an ear project that needs to pack 2 other projects artifacts (jar and war). In the ear project pom, I've added dependencies on both. However, the ear file produced doesnt contain these. How do I fix this problem?

How to display the compiled files?

2006-01-17 Thread Karthik V
Is there an option in maven-compiler-plugin to list the files being compiled? I'm trying to have an set, but the compiler seems to be compiling unwanted files. I'm looking for an equivalent of ANT's .

Re: Filtering resources

2006-01-13 Thread Karthik V
ou trying to accomplish? Are these > > classes unit tests or something? > > > > -john > > > > Karthik V wrote: > > > there seems to be one ( > > > > http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html).. > > > but isnt it possible

Re: Filtering resources

2006-01-13 Thread Karthik V
usions/exclusions to be specified. > > I guess my question is, what are you trying to accomplish? Are these > classes unit tests or something? > > -john > > Karthik V wrote: > > there seems to be one ( > > http://maven.apache.org/plugins/maven-compiler-plugin/compil

Re: Filtering resources

2006-01-13 Thread Karthik V
this at all? On 1/12/06, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > Isn't there an exclude sources setting in the compiler? > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 12, 2006 11:12 AM > To: Maven Use

Re: war project resources copied to web-inf/classes

2006-01-13 Thread Karthik V
eb-inf/classes > > > > Edwin Punzalan wrote: > > > > > > > > If your packaging is war, files from src/main/webapp are copied into > > > your war archive root. Please use this. > > > > > > src/main/resources are always copied into target/cl

war project resources copied to web-inf/classes

2006-01-12 Thread Karthik V
I have a war project in m2 and want to copy some resource files to target. In my src/main/resources folder, I have some files, along with a web-inf folder containing some more files. But maven always seems to copy it to target/web-inf/classes and not target. How do I change this behavior? I tried

Re: Filtering resources

2006-01-12 Thread Karthik V
can some one answer this please? On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > ok .. that 2nd question was silly .. i managed it ... pls help me wth the > 1st one. > > > On 1/11/06, Karthik V < [EMAIL PROTECTED]> wrote: > > > > In m2, how do I p

Re: Filtering resources

2006-01-11 Thread Karthik V
ok .. that 2nd question was silly .. i managed it ... pls help me wth the 1st one. On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > In m2, how do I prevent some classes from being included to the final jar > file? > > Also, I need to add some files (like the xmls generat

Filtering resources

2006-01-11 Thread Karthik V
In m2, how do I prevent some classes from being included to the final jar file? Also, I need to add some files (like the xmls generated by xdoclet) to the jar. These files go to the generated-sources directory and not to the src/main/resources. How do I add these to the final jar?

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
, it is not a good idea, usually, to place generated files in the src > tree. > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 11, 2006 12:07 > To: Maven Users List > Subject: Re: [m2] Unavoidable multiple source directories:

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
> However, if you are using antrun plugin to generate source, it can do that > for you > > http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html > > -D > > > On 1/11/06, Karthik V <[EMAIL PROTECTED]> wrote: > > > > I need to add the sources gen

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
I need to add the sources generated thru xdoclet (its in a separate folder).. is there a cleaner way of adding it, other than using this build-helper? On 1/11/06, dan tran <[EMAIL PROTECTED]> wrote: > > http://mojo.codehaus.org/build-helper-maven-plugin/ > > On 1/11/06, Geoffrey <[EMAIL PROTECTE

Re: Trouble in generating source files

2006-01-10 Thread Karthik V
gt; XDoclet assumes that there is a serious problem with the source file and > ignores it. > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 10, 2006 12:48 > To: Maven Users List > Subject: Re: Trouble in generating source files > > &g

Re: Trouble in generating source files

2006-01-10 Thread Karthik V
weird, but i found the answer myself ... changed the line to and it worked. What I dont understand is, why doesnt the line search inside the main folder and locate the source files? Does it really make a difference when I add the subfolder "java" when I use **/** ? On 1/10/06,

Trouble in generating source files

2006-01-10 Thread Karthik V
Below is a snippet from my m2 project pom. I used this fine in m1 (in the form of project.properties) and generated source using xdoclet. But now, I dont get a single java file, though I get some required xml files. generate-sources xdoclet

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
Can someone tell me how it works? On 1/5/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Guess what .. it started working now .. though I have no idea when it > might stop ... thanks for ur replies .. > > On 1/5/06, Tim Davies < [EMAIL PROTECTED]> wrote: > > > >

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
te: > > >Likely the [WARINING] [INFO] message is generic and we are seeing > >different flavors of repository access failures. > >The use of 'blacklisted' implies any further attempts will also fail. > >Have we done something to warrant such persona non grata treatme

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
org\apache\maven\plugins\maven-install-plugin" from you local > repository and try again. It has maybe become corrupted in some way. > > > Mike Perham wrote: > > >Maybe the remote machine is down. Try a mirror or in a few hours. > > > >-Original Message--

Re: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
by default. > > -Original Message- > From: Karthik V [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 05, 2006 8:49 AM > To: Maven Users List > Subject: Repository 'central' will be blacklisted -- any clue? > > > Any clue

Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
Any clue about this error? [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-inst all-plugin' could not be retrieved from repository: central due to an error: Err or transferring file [INFO] Repository 'central' will be blacklisted [INFO] -

Re: Error building POM (may not be this project's POM)

2006-01-05 Thread Karthik V
Oh .. thanks .. Could you tell me where to set it? On 1/5/06, Dixit, Sandeep (ProSource Solutions) < [EMAIL PROTECTED]> wrote: > > I remember this error. It was to do with my proxy - username/password > -settings. > > -Original Message----- > From: Karthik V [mailto:

Re: Error building POM (may not be this project's POM)

2006-01-05 Thread Karthik V
Has anyone seen this error n knows how to correct it ? ... please help. On 1/4/06, Karthik V <[EMAIL PROTECTED]> wrote: > > Hi, > > I installed some jars into the repository using install:install-file. Now > I have this problem - every time I run mvn, I get the below error,

Re: [m2] examples of xdoclet generating hibernate mappings please?

2006-01-04 Thread Karthik V
I too need help on using ejbdoclet and hibernate doclet in m2 ... I have a working project done with m 1.0.2, but have to translate the project.properties and maven.xml to m2. Can you please point me to some link that gives more info? I've been desperately searching for this but I didn't find any d

Error building POM (may not be this project's POM)

2006-01-04 Thread Karthik V
Hi, I installed some jars into the repository using install:install-file. Now I have this problem - every time I run mvn, I get the below error, each time with some random module (it picks one of the modules I installed manually). Please help me resolve this, and also tell me why I keep getting a

Re: Maven 2 repository question

2006-01-04 Thread Karthik V
vation -Dversion=1.0.2 -Dfile=activation.jar -Dpackaging=jar -DgeneratePom=true For remote repositories there will in future be a deploy:deploy-file equivalent but this is still in the snapshot at present. regards, TD Karthik V wrote: >In maven 2, do I have a w

Maven 2 repository question

2006-01-04 Thread Karthik V
In maven 2, do I have a way to add jar files to repositories manually? I need a few jars for my project that dont seem to be present in the maven 2 remote repository. Instead of hunting down a url for it, I'd prefer using my local copy. The repository folder in maven 2 seems to be different from

Re: Need help in organizing a maven project

2006-01-03 Thread Karthik V
mvn packaging" in the parent project directory. Hope it is clear enough since english isn't my native language! Don't be afraid to ask more if you don't understand. On 1/3/06, Karthik V wrote: > Hi, > > Thanks a lot for the quick reply. I'm not sure if I expl

Re: Need help in organizing a maven project

2006-01-03 Thread Karthik V
uot; in the type element of the dependency declaration Hope this help! On 1/3/06, Karthik V wrote: > Hi All, > > I'm new to maven and xdoclet and I have a confusion in organizing my project. > I need to run ejbdoclet and hibernatedoclet on my source, then compile. After > this, I

Need help in organizing a maven project

2006-01-03 Thread Karthik V
Hi All, I'm new to maven and xdoclet and I have a confusion in organizing my project. I need to run ejbdoclet and hibernatedoclet on my source, then compile. After this, I need to create 2 jar files, each of them containing some files from the previous steps' output. By default, one jar is cre

Re: null pointer exception in ejbdoclet

2005-12-20 Thread Karthik V
I'm going mad with this error. Not able to proceed at all. Can somebody help me out? I'll give more details if needed. Karthik V <[EMAIL PROTECTED]> wrote: Please help me understand this stack trace .. got this while trying to run ejbdoclet on a bunch of files... Dep

fileset doesnt seem to work

2005-12-20 Thread Karthik V
I'm new to maven. Trying to use maven 1.0.2 xdoclet:ejbdoclet on some ejb code to generate home interfaces and compile them. I'm using fileset in project.properties to compile only the files ending with Bean.java, and also exclude some of these Bean files. My problem is, maven doesnt seem to us

null pointer exception in ejbdoclet

2005-12-20 Thread Karthik V
Please help me understand this stack trace .. got this while trying to run ejbdoclet on a bunch of files... Deploy TEMPLATE URL: jar:file:C:\Documents and Settings\karthikv\.maven\repository\xdoclet\jars\xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-deploy_wsdd