This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JBoss and the fly likes jboss-maven-plugin throws exception when deploying to a remote CI server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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: 8142
    
  52

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
 
Similar Threads
Spring3 + JPA 2 + JBoss 6
Promblem configuring jboss-maven-plugin
Trouble remotely deploying to JBoss 4 server using Maven plugin
JBOSS6 : Unable to access Application [EAR] when i start the jboss with binding option 0.0.0.0
Very frustrated with jboss 6 and seam.