[ 
http://issues.ops4j.org/browse/PAXURL-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12126#action_12126
 ] 

Alin Dreghiciu commented on PAXURL-47:
--------------------------------------

As I see your artifatc reportincident.web is an war file. This means that (As 
in maven) you have to specify the type as being war because when not specied we 
consider jar as default (as in maven). So your command should have been:

install 
wrap:mvn:org.apache.camel.example/reportincident.web/1.0-SNAPSHOT/war?Webapp-Context=reportincidentWeb
 

Note the /war after version.


> Not possible to install or wrap a war file from maven repository
> ----------------------------------------------------------------
>
>                 Key: PAXURL-47
>                 URL: http://issues.ops4j.org/browse/PAXURL-47
>             Project: Pax URL
>          Issue Type: Bug
>            Reporter: Charles Moulliard
>            Assignee: Alin Dreghiciu
>
> Hi,
> The following command does not work : 
> install 
> wrap:mvn:org.apache.camel.example/reportincident.web/1.0-SNAPSHOT?Webapp-Context=reportincidentWeb
> java.lang.RuntimeException: URL 
> [mvn:org.apache.camel.example/reportincident.web/1.0-SNAPSHOT] could not be 
> resolved. (enable TRACE logging for details)
> but this one well :
> s...@root:osgi> install 
> wrap:file:///D:/Dvlpt/Java/workspace-ganymede/osgi/reportincident.web/target/reportincident.web-1.0-SNAPSHOT.war?Webapp-Context=reportincident
> Bundle ID: 179

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

        

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to