2015-01-11 3 views
0

Я пытаюсь развернуть на JBoss AS 7 веб-приложение через maven plugin. Я выставиться конфигурацию:Как развернуть JBoss через плагин maven?

<plugin> 
    <groupId>org.jboss.as.plugins</groupId> 
    <artifactId>jboss-as-maven-plugin</artifactId> 
    <version>7.6.Final</version> 
    <configuration> 
     <hostname>localhost</hostname> 
     <jbossHome>D:\jboss-as-web-7.0.0.Final</jbossHome> 
     <fileName>target/corporate.war</fileName> 
    </configuration> 
</plugin> 

Но когда я попытался выполнить МВН JBoss-а: развертывание я получил следующее сообщение об ошибке:

[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.6.Final:deploy (default-cli) on project corporate: Error executing FORCE_DEPLOY: Operatio 
n failed: Channel closed -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 

Как я могу исправить это?

ответ

1

Я бы попробовал последнюю версию AS 7 - 7.1.1.Final.

Смежные вопросы