File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Dom McMillan
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happens if you change this:



to:

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic