Hi Allan,
Thank you for you information. I could configure correctly.
I changed my pom.xml like following.
<project>
:
<build>
:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.0-beta-2</version>
<configuration>
<warSourceDirectory>webapp</warSourceDirectory>
</configuration>
</plugin>
</plugins>
</build>
</project>
Thanks,
Keisuke
Allan Ramirez wrote:
> Hi Keisuke,
>
> See http://docs.codehaus.org/display/MAVENUSER/FAQs
> and look for the question "How can I configure the equivalent of
> maven.war.src of war plugin in m2?"
>
> Hope this helps
>
> regards,
> -allan
>
> Keisuke Matsubara wrote:
>
>
>>Hi,
>>I want to configure maven.war.src for fitting my directories.
>>Would someone tell me method ?
>>
>>I could work by default ,but I want to fit pom.xml to my directories.
>>So I configured pom.xml like following ,but it did not work my way.
>>
>><project>
>> :
>> <build>
>> <finalName>${pom.artifactId}</finalName>
>> <sourceDirectory>src</sourceDirectory>
>> <resources>
>> <resource>
>> <directory>resources</directory>
>> </resource>
>> </resources>
>> <plugins>
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-war-plugin</artifactId>
>> <version>2.0-beta-2</version>
>> <configuration>
>> <maven.war.src>${project.dir}/resources</maven.war.src>
>> </configuration>
>> </plugin>
>> </plugins>
>> </build>
>></project>
>>
>>
>>My directories are following.
>>~/WEBAPP_NAME/
>> src/
>> JAVA_CODES
>> resources/
>> webapp/
>> WEB-INF/
>> OTHER_FILES(html,jsp ..)
>>
>>I can create war file when I change directories like following.
>>~/WEBAPP_NAME/
>> src/
>> JAVA_CODES
>> main/
>> webapp/
>> WEB-INF/
>> OTHER_FILES(html,jsp ..)
>> resources/
>>
>>Thanks in advance,
>>Keisuke
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]