Skip to content

Commit 2c2afda

Browse files
committed
jetty:run should use ${project.build.directory}/${project.build.finalName} directory
1 parent 6dd5c3f commit 2c2afda

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,15 @@
122122
</connectors>
123123
<contextPath>/client</contextPath>
124124
<webXml>${basedir}/WEB-INF/web.xml</webXml>
125-
<webAppSourceDirectory>${basedir}/target/generated-webapp</webAppSourceDirectory>
125+
<webAppSourceDirectory>${project.build.directory}/${project.build.finalName}</webAppSourceDirectory>
126126
</configuration>
127127
</plugin>
128128
<plugin>
129129
<groupId>org.apache.tomcat.maven</groupId>
130130
<artifactId>tomcat7-maven-plugin</artifactId>
131131
<configuration>
132132
<tomcatWebXml>${basedir}/WEB-INF/web.xml</tomcatWebXml>
133-
<warSourceDirectory>./target/generated-webapp</warSourceDirectory>
133+
<warSourceDirectory>${project.build.directory}/${project.build.finalName}</warSourceDirectory>
134134
</configuration>
135135
</plugin>
136136
<plugin>

client/tomcatconf/components-nonoss.xml.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ under the License.
8282
<dao name="NetappPool" class="com.cloud.netapp.dao.PoolDaoImpl" singleton="false"/>
8383
<dao name="NetappVolume" class="com.cloud.netapp.dao.VolumeDaoImpl" singleton="false"/>
8484
<dao name="NetappLun" class="com.cloud.netapp.dao.LunDaoImpl" singleton="false"/>
85+
<dao name="Configuration configuration server" class="com.cloud.configuration.dao.ConfigurationDaoImpl" singleton="false">
86+
<param name="premium">true</param>
87+
</dao>
8588
</management-server>
8689
<configuration-server class="com.cloud.server.ConfigurationServerImpl" extends="components.xml:configuration-server">
8790
<dao name="Configuration configuration server" class="com.cloud.configuration.dao.ConfigurationDaoImpl" singleton="false">

0 commit comments

Comments
 (0)