aspose file tools*
The moose likes JBoss/WildFly and the fly likes jboss-maven-plugin throws exception when deploying to a remote CI server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "jboss-maven-plugin throws exception when deploying to a remote CI server" Watch "jboss-maven-plugin throws exception when deploying to a remote CI server" New topic
Author

jboss-maven-plugin throws exception when deploying to a remote CI server

Dom McMillan
Greenhorn

Joined: Jul 26, 2011
Posts: 8
Trying to deploy a war into a CI environment (JBoss 6.1.0 on RHEL 6.3) using the jboss-maven-plugin (mvn jboss:deploy) the below FileNotFoundException is thrown. What needs to be changed with the configuration to make the deployment work? Did anyone make such a deployment and could post some code?

The file path which is stated in the exception seems to be composed of two parts:
1. /opt/jbossOss/da34Infos/miniLogs/ci/
2. c:\data\workspaceIndigoMaven\myapp\target\myapp.war
I would expect only the second part to be there since that is correctly pointing to the war file on the local Windows 7 system. The first part seems to be the value of system property user.dir.



extract from pom.xml

.settings.xml (maven)

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10205
    
166

What happens if you change this:



to:



[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss-maven-plugin throws exception when deploying to a remote CI server