[mevenide-dev] [jira] Resolved: (MEVENIDE-591) Deployement not working for specific war/webapp name

"Milos Kleint (JIRA)" <jira-yCVjj/[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <24721203.1201879197616.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ http://jira.codehaus.org/browse/MEVENIDE-591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint resolved MEVENIDE-591.
-----------------------------------

    Resolution: Fixed

fixed.

http://fisheye.codehaus.org/changelog/mevenide/?cs=4855
http://fisheye.codehaus.org/changelog/mevenide/?cs=4854

> Deployement not working for specific war/webapp name
> ----------------------------------------------------
>
>                 Key: MEVENIDE-591
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-591
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>            Reporter: MMA
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>
> On a maven project of packaging "war", I want configure my "Run" action to deploy the generated war :
> {noformat}
> war:war org.codehaus.mevenide:netbeans-deploy-plugin:RELEASE:deploy
> {noformat}
> When I run the project, this doesn work, and leads to the following error :
> {noformat}
> ------------------------------------------------------------------------
> [ERROR]BUILD ERROR
> ------------------------------------------------------------------------
> Failed Deployment:Deployment error:
> No archive for deployment
> {noformat}
> It seems that my configuration for the webappDirectory and warName for plugin war are ignored, and that the war is looked for at "artifactname-artifactversion.war".
> Here is my pom.xml for more information :
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>com.mycompany</groupId>
>   <artifactId>mavenproject1</artifactId>
>   <packaging>war</packaging>
>   <version>1.0-SNAPSHOT</version>
>   <name>mavenproject1 Maven Webapp</name>
>   <url>http://maven.apache.org</url>
>   <dependencies>
>     <dependency>
>       <groupId>junit</groupId>
>       <artifactId>junit</artifactId>
>       <version>3.8.1</version>
>       <scope>test</scope>
>     </dependency>
>   </dependencies>
>   <build>   
>     <plugins>
>     <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
> 	<artifactId>maven-war-plugin</artifactId>
> 	<version>2.0</version>
> 	<configuration>
>             <webappDirectory>${basedir}/target/test-webapp-gen</webappDirectory>
>             <warName>test-webapp-gen</warName>
> 	</configuration>
>      </plugin>
>       </plugins>
>   </build>
>   <properties>
>         <netbeans.hint.deploy.server>Tomcat55</netbeans.hint.deploy.server>
>     </properties>
> </project>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.