|
10 | 10 |
|
11 | 11 | <name>JMeterWebSocketSampler</name> |
12 | 12 | <url>http://maven.apache.org</url> |
| 13 | + <properties> |
| 14 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 15 | + <jetty.version>9.2.9.v20150224</jetty.version> |
| 16 | + <jMeter.version>2.13</jMeter.version> |
| 17 | + </properties> |
13 | 18 | <build> |
14 | 19 | <plugins> |
15 | 20 | <plugin> |
|
20 | 25 | <source>1.7</source> |
21 | 26 | <target>1.7</target> |
22 | 27 | <excludes> |
23 | | - <exclude>**\JMeter\plugins\controler\websocketapp\**</exclude> |
24 | | - </excludes> |
| 28 | + <exclude>**\JMeter\plugins\controler\websocketapp\**</exclude> |
| 29 | + </excludes> |
25 | 30 | </configuration> |
26 | 31 | </plugin> |
27 | 32 | <plugin> |
|
43 | 48 | </plugins> |
44 | 49 | </build> |
45 | 50 |
|
46 | | - <properties> |
47 | | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
48 | | - </properties> |
49 | 51 |
|
50 | 52 | <dependencies> |
51 | 53 | <dependency> |
|
58 | 60 | <dependency> |
59 | 61 | <groupId>org.eclipse.jetty.websocket</groupId> |
60 | 62 | <artifactId>websocket-client</artifactId> |
61 | | - <version>9.1.1.v20140108</version> |
62 | | - <classifier>hybrid</classifier> |
| 63 | + <version>${jetty.version}</version> |
| 64 | + <classifier>hybrid</classifier> |
63 | 65 | <type>jar</type> |
64 | 66 | </dependency> |
65 | 67 | <dependency> |
66 | 68 | <groupId>org.apache.jmeter</groupId> |
67 | 69 | <artifactId>ApacheJMeter</artifactId> |
68 | | - <version>2.10</version> |
| 70 | + <version>${jMeter.version}</version> |
69 | 71 | <type>jar</type> |
70 | 72 | <scope>provided</scope> |
| 73 | + <!--for some reason those jars are missing, and failing the package. since it is provided anyway - there is no implication for excluding them--> |
| 74 | + <exclusions> |
| 75 | + <exclusion> |
| 76 | + <artifactId>commons-math3</artifactId> |
| 77 | + <groupId>commons-math3</groupId> |
| 78 | + </exclusion> |
| 79 | + <exclusion> |
| 80 | + <artifactId>commons-pool2</artifactId> |
| 81 | + <groupId>commons-pool2</groupId> |
| 82 | + </exclusion> |
| 83 | + <exclusion> |
| 84 | + <artifactId>d-haven-managed-pool</artifactId> |
| 85 | + <groupId>d-haven-managed-pool</groupId> |
| 86 | + </exclusion> |
| 87 | + </exclusions> |
71 | 88 | </dependency> |
72 | 89 | <dependency> |
73 | 90 | <groupId>org.apache.jmeter</groupId> |
74 | 91 | <artifactId>ApacheJMeter_core</artifactId> |
75 | | - <version>2.10</version> |
| 92 | + <version>${jMeter.version}</version> |
76 | 93 | <type>jar</type> |
77 | 94 | <scope>provided</scope> |
| 95 | + <!--for some reason those jars are missing, and failing the package. since it is provided anyway - there is no implication for excluding them--> |
| 96 | + <exclusions> |
| 97 | + <exclusion> |
| 98 | + <artifactId>commons-math3</artifactId> |
| 99 | + <groupId>commons-math3</groupId> |
| 100 | + </exclusion> |
| 101 | + <exclusion> |
| 102 | + <artifactId>commons-pool2</artifactId> |
| 103 | + <groupId>commons-pool2</groupId> |
| 104 | + </exclusion> |
| 105 | + <exclusion> |
| 106 | + <artifactId>d-haven-managed-pool</artifactId> |
| 107 | + <groupId>d-haven-managed-pool</groupId> |
| 108 | + </exclusion> |
| 109 | + </exclusions> |
78 | 110 | </dependency> |
79 | 111 | <dependency> |
80 | 112 | <groupId>org.apache.jmeter</groupId> |
81 | 113 | <artifactId>ApacheJMeter_http</artifactId> |
82 | | - <version>2.10</version> |
| 114 | + <version>${jMeter.version}</version> |
83 | 115 | <type>jar</type> |
84 | 116 | <scope>provided</scope> |
| 117 | + <!--for some reason those jars are missing, and failing the package. since it is provided anyway - there is no implication for excluding them--> |
| 118 | + <exclusions> |
| 119 | + <exclusion> |
| 120 | + <artifactId>commons-math3</artifactId> |
| 121 | + <groupId>commons-math3</groupId> |
| 122 | + </exclusion> |
| 123 | + <exclusion> |
| 124 | + <artifactId>d-haven-managed-pool</artifactId> |
| 125 | + <groupId>d-haven-managed-pool</groupId> |
| 126 | + </exclusion> |
| 127 | + <exclusion> |
| 128 | + <artifactId>commons-pool2</artifactId> |
| 129 | + <groupId>commons-pool2</groupId> |
| 130 | + </exclusion> |
| 131 | + </exclusions> |
85 | 132 | </dependency> |
86 | 133 | </dependencies> |
87 | 134 | </project> |
0 commit comments