2
我有pom.xml
包含已定義的值。我想用其中的一個weblogic.xml
文件中WAR象下面這樣:將pom的值導入到weblogic.xml中
<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
<context-root>someContext</context-root>
<virtual-directory-mapping>
<local-path>${foo}</local-path>
<url-pattern>*.pdf</url-pattern>
</virtual-directory-mapping>
</weblogic-web-app>
但是建立我的應用程序後,它並沒有放在那裏這個foo
變量。
可以嗎?