Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
: Hi Karthik V, The properties 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 properties tag is not being recognized. On 1/17/06, Max

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
/artifactId /plugin /plugins /build /project Regards, Dário -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 18 de janeiro de 2006 14:09 To: Maven Users List Subject: Re: Ear file doesnt contain war and jar Hi Henry, Below is my ear

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 modules like this - packagingpom

Re: Ear file doesnt contain war and jar

2006-01-18 Thread Karthik V
etc. 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: Hi, Thank you. I couldn't find a single difference

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 includes set, but the compiler seems to be compiling unwanted files. I'm looking for an equivalent of ANT's javac listfiles=true .

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?

Re: How to display the compiled files?

2006-01-17 Thread Karthik V
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 includes set, but the compiler seems to be compiling unwanted files. I'm looking for an equivalent of ANT's javac

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 other projects

Re: Ear file doesnt contain war and jar

2006-01-17 Thread Karthik V
/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 this question, please give a general answer to this question

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 - plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ear-plugin/artifactId configuration modules javaModule groupIdcommons-collections/groupId

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

2006-01-13 Thread Karthik V
war archive root. Please use this. src/main/resources are always copied into target/classes. Karthik V wrote: 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

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 Users List Subject: Re: Filtering resources can

Re: Filtering resources

2006-01-13 Thread Karthik V
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/compile-mojo.html) .. but isnt it possible to do it after compilation, when the jar happens

Re: Filtering resources

2006-01-13 Thread Karthik V
Casey [EMAIL PROTECTED] wrote: Well, looking at the jar plugin, it seems that it doesn't allow inclusions/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

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 prevent some classes from being included to the final jar

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: [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 PROTECTED]

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

2006-01-11 Thread Karthik V
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 generated thru xdoclet (its in a separate folder).. is there a cleaner way of adding

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

2006-01-11 Thread Karthik V
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: src/sandbox/java I am using xdoclet from codehaus in the generate

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: 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 generated by xdoclet) to the jar

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. execution phasegenerate-sources/phase goals

Re: Trouble in generating source files

2006-01-10 Thread Karthik V
a difference when I add the subfolder java when I use **/** ? On 1/10/06, Karthik V [EMAIL PROTECTED] wrote: 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

Re: Trouble in generating source files

2006-01-10 Thread Karthik V
: Karthik V [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 12:48 To: Maven Users List Subject: Re: Trouble in generating source files weird, but i found the answer myself ... changed the line fileset dir=src/main to fileset dir=src/main/java and it worked. What I dont

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, each time with some random

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:[EMAIL PROTECTED] Sent: Thursday

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: Repository 'central' will be blacklisted -- any clue?

2006-01-05 Thread Karthik V
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 about this error? [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-inst all

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

2006-01-05 Thread Karthik V
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- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:03 AM To: Maven Users List Subject

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

2006-01-05 Thread Karthik V
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 treatment? It remains a mystery. -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent

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

2006-01-05 Thread Karthik V
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: I just tested this on my machine and had no problems

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

Re: Maven 2 repository question

2006-01-04 Thread Karthik V
-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 way to add jar

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: [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

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

Re: Need help in organizing a maven project

2006-01-03 Thread Karthik V
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 to create 2 jar files, each of them containing some files

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

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

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... Deploy TEMPLATE URL