Assigning a different name to Project Object Model in Maven other than pom.xml


In Maven 2.0 it is not mandatory that we always name the Project Object Model as pom.xml. We can assign a custom name say abc.xml and invoke it using the command mvn -f abc.xml package

Same applies for ANT. Instead of assigning the default name of  build.xml, if the file name is def.xml, we can invoke using the command ant -f def.xml


 
 
 
 
Comments:

Post a Comment:
  • HTML Syntax: Allowed
 

« January 2009
SunMonTueWedThuFriSat
    
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
Today

Valid XHTML or CSS?

[This is a Roller site]
 
© Karthik