You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicolas Cazottes <ni...@travelsoft.fr> on 2004/03/17 12:14:05 UTC

Maven war plugin

Hello,

Currently working on a project with maven, I needed to use the war
plugin with the ${maven.war.src.excludes} property in order to build a
packaged Web App. After a while without success, I checked the source code
of the
war jelly tag and found that the option I wanted to use is not used (or
implemented ?) in the plugin war:war goal.
Is there a reason that I am missing for this behaviour ?

Thanks,

Nicolas Cazottes


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Maven war plugin

Posted by Arto Pastinen <ar...@ofw.fi>.
Hi

callin plugin with "maven war" calls war:war.

see line in plugin:
  <goal name="war" prereqs="war:war" description="Build a war file"/>

Artsi


On Wed, 2004-03-17 at 13:14, Nicolas Cazottes wrote:
> Hello,
> 
> Currently working on a project with maven, I needed to use the war
> plugin with the ${maven.war.src.excludes} property in order to build a
> packaged Web App. After a while without success, I checked the source code
> of the
> war jelly tag and found that the option I wanted to use is not used (or
> implemented ?) in the plugin war:war goal.
> Is there a reason that I am missing for this behaviour ?
> 
> Thanks,
> 
> Nicolas Cazottes
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Information about the methods available on POM

Posted by Eric Giguere <er...@videotron.ca>.
Hello there

The best way is to look directly at the Java class : 
org.apache.maven.project.Project. This is the source for the Project bean.
Its a Java bean so look at all getter/setters... use them from your 
jelly code without the get/set prefix.

I've not seen any valid documentation on it except maybe a small page on 
the maven wiki :  http://wiki.codehaus.org/maven/WritingMavenXml ... and 
maybe the Java doc of that class.

Hope it helps.

Eric.

Arto Pastinen wrote:

>Hi
>
>I'm not sure, but those look like velocity stuff.
>
>anyway:
>pom.inceptionYear, and pom.build.resource is from project.xml
><project>
>	<inceptionYear>x</inceptionYear>
>	<build>
>		<resources/>
>	</build>
></project>
>
>
>
>On Wed, 2004-03-17 at 16:02, Vijay V wrote:
>  
>
>>Hi
>>
>>I am a new user trying to get my hands with maven.
>>
>>I would like to know the list of all methods that are available on the pom.
>>
>>I see few functions like -
>>"${pom.inceptionYear.equals("currentYear")}
>>"${pom.build.resources.isEmpty()}"
>>"${pom.getDependencyPath('aritifact')}"
>>
>>There should be lot of functions available and should be based on some 
>>api which exists.
>>Can any one kindly point as to where this documentation exists or what 
>>is the basis of invoking different functions or what is
>>the basic concept on which it is build.
>>
>>Any pointer will be highly appreciated.
>>
>>Thanks,
>>Vijay V
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Information about the methods available on POM

Posted by Arto Pastinen <ar...@ofw.fi>.
Hi

I'm not sure, but those look like velocity stuff.

anyway:
pom.inceptionYear, and pom.build.resource is from project.xml
<project>
	<inceptionYear>x</inceptionYear>
	<build>
		<resources/>
	</build>
</project>



On Wed, 2004-03-17 at 16:02, Vijay V wrote:
> Hi
> 
> I am a new user trying to get my hands with maven.
> 
> I would like to know the list of all methods that are available on the pom.
> 
> I see few functions like -
> "${pom.inceptionYear.equals("currentYear")}
> "${pom.build.resources.isEmpty()}"
> "${pom.getDependencyPath('aritifact')}"
> 
> There should be lot of functions available and should be based on some 
> api which exists.
> Can any one kindly point as to where this documentation exists or what 
> is the basis of invoking different functions or what is
> the basic concept on which it is build.
> 
> Any pointer will be highly appreciated.
> 
> Thanks,
> Vijay V
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Information about the methods available on POM

Posted by Vijay V <vi...@oracle.com>.
Hi

I am a new user trying to get my hands with maven.

I would like to know the list of all methods that are available on the pom.

I see few functions like -
"${pom.inceptionYear.equals("currentYear")}
"${pom.build.resources.isEmpty()}"
"${pom.getDependencyPath('aritifact')}"

There should be lot of functions available and should be based on some 
api which exists.
Can any one kindly point as to where this documentation exists or what 
is the basis of invoking different functions or what is
the basic concept on which it is build.

Any pointer will be highly appreciated.

Thanks,
Vijay V




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org