Problem in context loading

2011-09-08 Thread anamika gupta
Hi, I am building my applications using maven, but a strange thing happens. In one of my java class , i have the code app = new Application(); String[] paths = {applicationContext.xml}; appContext = new ClassPathXmlApplicationContext(paths); So, as per my knowledge, it should search for

Resources tag info required

2011-09-08 Thread anamika gupta
if i put resources tag in my pom.xml, then it includes only those files and folders which i described in the resources tag and leave all the files and folders which are in the src/main/resources folders. Can you please tell me the reason. Any help is greatly appreciated. -- View this message in

Re: Resources tag info required

2011-09-08 Thread anamika gupta
Can you please tell me which tag is that *(for default folder inclusion, which in turn exists )* -- View this message in context: http://maven.40175.n5.nabble.com/Resources-tag-info-required-tp4781659p4781860.html Sent from the Maven - Users mailing list archive at Nabble.com.

Clean Command

2011-09-02 Thread anamika gupta
Hi, I need to clean my target folder every time i create the jar file or war file , can you please tell me what to write in pom.xml to do it. Any help is appreciated -- View this message in context: http://maven.40175.n5.nabble.com/Clean-Command-tp4762653p4762653.html Sent from the Maven -

WebApp content Info required

2011-08-26 Thread anamika gupta
Hi, I have to include the content of htdocs folder but not htdocs in my war file. htdocs path is project.src.main.webapp. Can you please tell me how to do that. My pom.xml is given below:- plugin artifactIdmaven-war-plugin/artifactId

Re: Jar plugin issue

2011-08-26 Thread anamika gupta
Thanks , with your reply problem resolved -- View this message in context: http://maven.40175.n5.nabble.com/Jar-plugin-issue-tp4736854p4737509.html Sent from the Maven - Users mailing list archive at Nabble.com. - To

Re: Jar plugin issue

2011-08-26 Thread anamika gupta
Thanks -- View this message in context: http://maven.40175.n5.nabble.com/Jar-plugin-issue-tp4736854p4737511.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail:

XML files are not getting included while compiling the source

2011-08-25 Thread anamika gupta
I have many XML files in src/main/java directory and its sub directory. When I run mvn compile, these XML files will not be copied to the target/classes -- View this message in context:

Re: XML files are not getting included while compiling the source

2011-08-25 Thread anamika gupta
Can you please tell me what entries to do in the pom.xml file so that it includes the .xml file -- View this message in context: http://maven.40175.n5.nabble.com/XML-files-are-not-getting-included-while-compiling-the-source-tp4734115p4734142.html Sent from the Maven - Users mailing list archive

Jar plugin issue

2011-08-25 Thread anamika gupta
Hi, I am using maven-jar-plugin-2.3.2, now i am trying to include 2 files from other folder but now when it is creating the jar, it ends up with only with only a few files in it (just the stuff in META-INF). The file that I included is not in the jar either not the classes. pom.xml is:-

EAR Creation

2011-08-22 Thread anamika gupta
Hi, I have to create the ear file of an application which consists a war file of the same application. Can you please tell me what entries to write in pom.xml so that it creates the war file of the module and then package the same war file into the ear file. Any help would be greatly

SQL plugin info required

2011-08-18 Thread anamika gupta
Hi, I need to execute a sql file if there is updation in the file (i.e. file revision number changed in the svn). Can you please suggest me, how to do that in maven. Any help will be greatly appreciated -- View this message in context:

Re: Sql Loader Info Required

2011-08-18 Thread anamika gupta
Thanks, with your post my problem has resloved. Thanks a lot -- View this message in context: http://maven.40175.n5.nabble.com/Sql-Loader-Info-Required-tp4692361p4711068.html Sent from the Maven - Users mailing list archive at Nabble.com.

Sql Loader Info Required

2011-08-12 Thread anamika gupta
Hi, I have to load the data from .csv file to oracle using maven. usually we do it by using sqlloader. can you please suggest me a plugin that will do the same. Any help is appreciated. -- View this message in context:

Release plugin information required

2011-08-10 Thread anamika gupta
Hi, When i run release:prepare on the maven-release-plugin then it prompt for the release verion, tag version. Is there is any way or configuration, that i can do in the pom.xml, so that the release plugin don't prompt for the release version and run by taking the default values. Any help

Re: Release plugin information required

2011-08-10 Thread anamika gupta
Hi, I am not running the maven command from command prompt. We have hudson and Maven integration. So, Hudson triggers the maven to make the build. I need an option in the pom.xml, so that release plugin run with the default values. Can you please suggest me any configuration for this plugin,

Maven sql uograde plugin information required

2011-08-09 Thread anamika gupta
Hi, I want to execute a sql file, if its revision number is updated in the svn i.e. if there is any modification in the file. Can you please suggest a maven plugin that will fulfill this requirement. Any help is appreciated. -- View this message in context:

Error at dbupgrade-maven-plugin:filelist-upgrade

2011-08-08 Thread anamika gupta
Hi, I am getting the following error while executing dbupgrade:fileList. Any help would be greatly appreciated. Thanks a lot in advance. *Error:-* Failed to execute goal org.codehaus.mojo:dbupgrade-maven-plugin:1.0-beta-1:filelist-upgrade (default) on project contactusDataAccessServices: