Skip to content

Commit ce2be39

Browse files
mgmt track1, fix okhttp to 3 (Azure#18842)
* add jetty for track1 record run * fix okhttp v3
1 parent 4ea9fcf commit ce2be39

File tree

2 files changed

+174
-125
lines changed

2 files changed

+174
-125
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0"?>
2+
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
3+
<Configure id="Server" class="org.eclipse.jetty.server.Server">
4+
<Call name="addConnector">
5+
<Arg>
6+
<New class="org.eclipse.jetty.server.ServerConnector">
7+
<Arg name="server">
8+
<Ref refid="Server" />
9+
</Arg>
10+
<Arg name="factories">
11+
<Array type="org.eclipse.jetty.server.ConnectionFactory">
12+
<Item>
13+
<New class="org.eclipse.jetty.server.HttpConnectionFactory"/>
14+
</Item>
15+
</Array>
16+
</Arg>
17+
<Set name="port">11080</Set>
18+
</New>
19+
</Arg>
20+
</Call>
21+
</Configure>

sdk/keyvault/mgmt-v2016_10_01/pom.xml

Lines changed: 153 additions & 125 deletions
Original file line numberDiff line numberDiff line change
@@ -6,129 +6,157 @@
66
* Code generated by Microsoft (R) AutoRest Code Generator.
77
-->
88
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9-
<modelVersion>4.0.0</modelVersion>
10-
<groupId>com.microsoft.azure.keyvault.v2016_10_01</groupId>
11-
<parent>
12-
<groupId>com.microsoft.azure</groupId>
13-
<artifactId>azure-arm-parent</artifactId>
14-
<version>1.3.0</version>
15-
<relativePath>../../parents/azure-arm-parent</relativePath>
16-
</parent>
17-
<artifactId>azure-mgmt-keyvault</artifactId>
18-
<version>1.0.0-beta-2</version>
19-
<packaging>jar</packaging>
20-
<name>Microsoft Azure SDK for KeyVault Management</name>
21-
<description>This package contains Microsoft KeyVault Management SDK.</description>
22-
<url>https://github.com/Azure/azure-libraries-for-java</url>
23-
<licenses>
24-
<license>
25-
<name>The MIT License (MIT)</name>
26-
<url>http://opensource.org/licenses/MIT</url>
27-
<distribution>repo</distribution>
28-
</license>
29-
</licenses>
30-
<scm>
31-
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
32-
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
33-
<tag>HEAD</tag>
34-
</scm>
35-
<properties>
36-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37-
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
38-
</properties>
39-
<developers>
40-
<developer>
41-
<id>microsoft</id>
42-
<name>Microsoft</name>
43-
</developer>
44-
</developers>
45-
<dependencies>
46-
<dependency>
47-
<groupId>com.microsoft.azure</groupId>
48-
<artifactId>azure-client-runtime</artifactId>
49-
</dependency>
50-
<dependency>
51-
<groupId>com.microsoft.azure</groupId>
52-
<artifactId>azure-arm-client-runtime</artifactId>
53-
</dependency>
54-
<dependency>
55-
<groupId>junit</groupId>
56-
<artifactId>junit</artifactId>
57-
<scope>test</scope>
58-
</dependency>
59-
<dependency>
60-
<groupId>com.microsoft.azure</groupId>
61-
<artifactId>azure-client-authentication</artifactId>
62-
<scope>test</scope>
63-
</dependency>
64-
<dependency>
65-
<groupId>com.microsoft.azure</groupId>
66-
<artifactId>azure-mgmt-resources</artifactId>
67-
<scope>test</scope>
68-
</dependency>
69-
<dependency>
70-
<groupId>com.microsoft.azure</groupId>
71-
<artifactId>azure-arm-client-runtime</artifactId>
72-
<type>test-jar</type>
73-
<scope>test</scope>
74-
<version>1.6.5</version>
75-
</dependency>
76-
</dependencies>
77-
<build>
78-
<plugins>
79-
<plugin>
80-
<groupId>org.apache.maven.plugins</groupId>
81-
<artifactId>maven-jar-plugin</artifactId>
82-
<configuration>
83-
<archive>
84-
<manifest>
85-
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
86-
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
87-
</manifest>
88-
</archive>
89-
</configuration>
90-
</plugin>
91-
<plugin>
92-
<groupId>org.codehaus.mojo</groupId>
93-
<artifactId>build-helper-maven-plugin</artifactId>
94-
</plugin>
95-
<plugin>
96-
<groupId>org.apache.maven.plugins</groupId>
97-
<artifactId>maven-compiler-plugin</artifactId>
98-
<version>3.1</version>
99-
<configuration>
100-
<source>1.7</source>
101-
<target>1.7</target>
102-
<annotationProcessors>
103-
<annotationProcessor>
104-
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
105-
</annotationProcessor>
106-
</annotationProcessors>
107-
<debug>true</debug>
108-
<optimize>true</optimize>
109-
<compilerArguments>
110-
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
111-
<Adebug>true</Adebug>
112-
</compilerArguments>
113-
</configuration>
114-
</plugin>
115-
<plugin>
116-
<groupId>org.apache.maven.plugins</groupId>
117-
<artifactId>maven-javadoc-plugin</artifactId>
118-
<version>2.8</version>
119-
<configuration>
120-
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
121-
<bottom>
122-
<![CDATA[<code>
123-
/**
124-
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
125-
<br />* Licensed under the MIT License. See License.txt in the project root for
126-
<br />* license information.
127-
<br />*/
128-
</code>]]>
129-
</bottom>
130-
</configuration>
131-
</plugin>
132-
</plugins>
133-
</build>
9+
<modelVersion>4.0.0</modelVersion>
10+
<groupId>com.microsoft.azure.keyvault.v2016_10_01</groupId>
11+
<parent>
12+
<groupId>com.microsoft.azure</groupId>
13+
<artifactId>azure-arm-parent</artifactId>
14+
<version>1.3.0</version>
15+
<relativePath>../../parents/azure-arm-parent</relativePath>
16+
</parent>
17+
18+
<artifactId>azure-mgmt-keyvault</artifactId>
19+
<version>1.0.0-beta-2</version>
20+
<packaging>jar</packaging>
21+
22+
<name>Microsoft Azure SDK for KeyVault Management</name>
23+
<description>This package contains Microsoft KeyVault Management SDK.</description>
24+
25+
<url>https://github.com/Azure/azure-libraries-for-java</url>
26+
<licenses>
27+
<license>
28+
<name>The MIT License (MIT)</name>
29+
<url>http://opensource.org/licenses/MIT</url>
30+
<distribution>repo</distribution>
31+
</license>
32+
</licenses>
33+
34+
<scm>
35+
<url>scm:git:https://github.com/Azure/azure-libraries-for-java</url>
36+
<connection>scm:git:[email protected]:Azure/azure-libraries-for-java.git</connection>
37+
<tag>HEAD</tag>
38+
</scm>
39+
40+
<properties>
41+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42+
<legal><![CDATA[[INFO] Any downloads listed may be third party software. Microsoft grants you no rights for third party software.]]></legal>
43+
</properties>
44+
45+
<developers>
46+
<developer>
47+
<id>microsoft</id>
48+
<name>Microsoft</name>
49+
</developer>
50+
</developers>
51+
52+
<dependencies>
53+
<dependency>
54+
<groupId>com.microsoft.azure</groupId>
55+
<artifactId>azure-client-runtime</artifactId>
56+
</dependency>
57+
<dependency>
58+
<groupId>com.microsoft.azure</groupId>
59+
<artifactId>azure-arm-client-runtime</artifactId>
60+
</dependency>
61+
<dependency>
62+
<groupId>junit</groupId>
63+
<artifactId>junit</artifactId>
64+
<scope>test</scope>
65+
</dependency>
66+
<dependency>
67+
<groupId>com.microsoft.azure</groupId>
68+
<artifactId>azure-client-authentication</artifactId>
69+
<scope>test</scope>
70+
</dependency>
71+
<dependency>
72+
<groupId>com.microsoft.azure</groupId>
73+
<artifactId>azure-mgmt-resources</artifactId>
74+
<scope>test</scope>
75+
</dependency>
76+
<dependency>
77+
<groupId>com.microsoft.azure</groupId>
78+
<artifactId>azure-arm-client-runtime</artifactId>
79+
<type>test-jar</type>
80+
<scope>test</scope>
81+
<version>1.6.5</version>
82+
</dependency>
83+
<dependency>
84+
<groupId>com.squareup.okhttp3</groupId>
85+
<artifactId>okhttp</artifactId>
86+
<version>3.12.12</version>
87+
</dependency>
88+
</dependencies>
89+
90+
<build>
91+
<plugins>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-jar-plugin</artifactId>
95+
<configuration>
96+
<archive>
97+
<manifest>
98+
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
99+
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
100+
</manifest>
101+
</archive>
102+
</configuration>
103+
</plugin>
104+
105+
<plugin>
106+
<groupId>org.codehaus.mojo</groupId>
107+
<artifactId>build-helper-maven-plugin</artifactId>
108+
</plugin>
109+
110+
<plugin>
111+
<groupId>org.apache.maven.plugins</groupId>
112+
<artifactId>maven-compiler-plugin</artifactId>
113+
<version>3.1</version>
114+
<configuration>
115+
<source>1.7</source>
116+
<target>1.7</target>
117+
<annotationProcessors>
118+
<annotationProcessor>
119+
com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
120+
</annotationProcessor>
121+
</annotationProcessors>
122+
<debug>true</debug>
123+
<optimize>true</optimize>
124+
<compilerArguments>
125+
<AaddGeneratedAnnotation>true</AaddGeneratedAnnotation>
126+
<Adebug>true</Adebug>
127+
</compilerArguments>
128+
</configuration>
129+
</plugin>
130+
131+
<plugin>
132+
<groupId>org.apache.maven.plugins</groupId>
133+
<artifactId>maven-javadoc-plugin</artifactId>
134+
<version>2.8</version>
135+
<configuration>
136+
<excludePackageNames>*.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search</excludePackageNames>
137+
<bottom>
138+
<![CDATA[<code>
139+
/**
140+
<br />* Copyright (c) Microsoft Corporation. All rights reserved.
141+
<br />* Licensed under the MIT License. See License.txt in the project root for
142+
<br />* license information.
143+
<br />*/
144+
</code>]]>
145+
</bottom>
146+
</configuration>
147+
</plugin>
148+
149+
<plugin>
150+
<groupId>org.eclipse.jetty</groupId>
151+
<artifactId>jetty-maven-plugin</artifactId>
152+
<configuration>
153+
<scanIntervalSeconds>0</scanIntervalSeconds>
154+
<stopPort>11079</stopPort>
155+
<stopKey>STOP</stopKey>
156+
<waitForChild>false</waitForChild>
157+
<jettyXml>${project.basedir}/jetty.xml</jettyXml>
158+
</configuration>
159+
</plugin>
160+
</plugins>
161+
</build>
134162
</project>

0 commit comments

Comments
 (0)