|
11 | 11 | limitations under the License.
|
12 | 12 | -->
|
13 | 13 | <project>
|
14 |
| - <modelVersion>4.0.0</modelVersion> |
15 |
| - <groupId>com.example.texttospeech</groupId> |
16 |
| - <artifactId>tts-samples</artifactId> |
17 |
| - <packaging>jar</packaging> |
| 14 | + <modelVersion>4.0.0</modelVersion> |
| 15 | + <groupId>com.example.texttospeech</groupId> |
| 16 | + <artifactId>tts-samples</artifactId> |
| 17 | + <packaging>jar</packaging> |
18 | 18 |
|
19 |
| - <!-- Parent defines config for testing & linting. --> |
20 |
| - <parent> |
21 |
| - <artifactId>doc-samples</artifactId> |
22 |
| - <groupId>com.google.cloud</groupId> |
23 |
| - <version>1.0.0</version> |
24 |
| - <relativePath>../..</relativePath> |
25 |
| - </parent> |
| 19 | + <!-- Parent defines config for testing & linting. --> |
| 20 | + <parent> |
| 21 | + <artifactId>doc-samples</artifactId> |
| 22 | + <groupId>com.google.cloud</groupId> |
| 23 | + <version>1.0.0</version> |
| 24 | + <relativePath>../..</relativePath> |
| 25 | + </parent> |
26 | 26 |
|
27 |
| - <properties> |
28 |
| - <maven.compiler.target>1.8</maven.compiler.target> |
29 |
| - <maven.compiler.source>1.8</maven.compiler.source> |
30 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
31 |
| - </properties> |
| 27 | + <properties> |
| 28 | + <maven.compiler.target>1.8</maven.compiler.target> |
| 29 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 30 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 31 | + </properties> |
32 | 32 |
|
33 |
| - <dependencies> |
34 |
| - <!-- [START tts_java_dependencies] --> |
35 |
| - <dependency> |
36 |
| - <groupId>com.google.cloud</groupId> |
37 |
| - <artifactId>google-cloud-texttospeech</artifactId> |
38 |
| - <version>0.70.0-beta</version> |
39 |
| - </dependency> |
40 |
| - <dependency> |
41 |
| - <groupId>net.sourceforge.argparse4j</groupId> |
42 |
| - <artifactId>argparse4j</artifactId> |
43 |
| - <version>0.8.1</version> |
44 |
| - </dependency> |
45 |
| - <!-- [END tts_java_dependencies] --> |
| 33 | + <dependencies> |
| 34 | + <!-- [START tts_java_dependencies] --> |
| 35 | + <dependency> |
| 36 | + <groupId>com.google.cloud</groupId> |
| 37 | + <artifactId>google-cloud-texttospeech</artifactId> |
| 38 | + <version>0.70.0-beta</version> |
| 39 | + </dependency> |
| 40 | + <dependency> |
| 41 | + <groupId>net.sourceforge.argparse4j</groupId> |
| 42 | + <artifactId>argparse4j</artifactId> |
| 43 | + <version>0.8.1</version> |
| 44 | + </dependency> |
| 45 | + <!-- [END tts_java_dependencies] --> |
46 | 46 |
|
47 |
| - <!-- Test dependencies --> |
48 |
| - <dependency> |
49 |
| - <groupId>junit</groupId> |
50 |
| - <artifactId>junit</artifactId> |
51 |
| - <version>4.12</version> |
52 |
| - <scope>test</scope> |
53 |
| - </dependency> |
54 |
| - <dependency> |
55 |
| - <groupId>com.google.truth</groupId> |
56 |
| - <artifactId>truth</artifactId> |
57 |
| - <version>0.42</version> |
58 |
| - <scope>test</scope> |
59 |
| - </dependency> |
60 |
| - </dependencies> |
| 47 | + <!-- Test dependencies --> |
| 48 | + <dependency> |
| 49 | + <groupId>junit</groupId> |
| 50 | + <artifactId>junit</artifactId> |
| 51 | + <version>4.12</version> |
| 52 | + <scope>test</scope> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>com.google.truth</groupId> |
| 56 | + <artifactId>truth</artifactId> |
| 57 | + <version>0.42</version> |
| 58 | + <scope>test</scope> |
| 59 | + </dependency> |
| 60 | + </dependencies> |
61 | 61 |
|
62 | 62 |
|
63 |
| - <profiles> |
64 |
| - <!--Quickstart--> |
65 |
| - <profile> |
66 |
| - <id>Quickstart</id> |
67 |
| - <activation> |
68 |
| - <property> |
69 |
| - <name>Quickstart</name> |
70 |
| - </property> |
71 |
| - </activation> |
72 |
| - <build> |
73 |
| - <plugins> |
74 |
| - <plugin> |
75 |
| - <groupId>org.codehaus.mojo</groupId> |
76 |
| - <artifactId>exec-maven-plugin</artifactId> |
77 |
| - <version>1.6.0</version> |
78 |
| - <executions> |
79 |
| - <execution> |
80 |
| - <goals> |
81 |
| - <goal>java</goal> |
82 |
| - </goals> |
83 |
| - </execution> |
84 |
| - </executions> |
85 |
| - <configuration> |
86 |
| - <mainClass>com.example.texttospeech.QuickstartSample</mainClass> |
87 |
| - <cleanupDaemonThreads>false</cleanupDaemonThreads> |
88 |
| - </configuration> |
89 |
| - </plugin> |
90 |
| - </plugins> |
91 |
| - </build> |
92 |
| - </profile> |
| 63 | + <profiles> |
| 64 | + <!--Quickstart--> |
| 65 | + <profile> |
| 66 | + <id>Quickstart</id> |
| 67 | + <activation> |
| 68 | + <property> |
| 69 | + <name>Quickstart</name> |
| 70 | + </property> |
| 71 | + </activation> |
| 72 | + <build> |
| 73 | + <plugins> |
| 74 | + <plugin> |
| 75 | + <groupId>org.codehaus.mojo</groupId> |
| 76 | + <artifactId>exec-maven-plugin</artifactId> |
| 77 | + <version>1.6.0</version> |
| 78 | + <executions> |
| 79 | + <execution> |
| 80 | + <goals> |
| 81 | + <goal>java</goal> |
| 82 | + </goals> |
| 83 | + </execution> |
| 84 | + </executions> |
| 85 | + <configuration> |
| 86 | + <mainClass>com.example.texttospeech.QuickstartSample</mainClass> |
| 87 | + <cleanupDaemonThreads>false</cleanupDaemonThreads> |
| 88 | + </configuration> |
| 89 | + </plugin> |
| 90 | + </plugins> |
| 91 | + </build> |
| 92 | + </profile> |
93 | 93 |
|
94 |
| - <!--ListVoices--> |
95 |
| - <profile> |
96 |
| - <id>ListVoices</id> |
97 |
| - <activation> |
98 |
| - <property> |
99 |
| - <name>ListVoices</name> |
100 |
| - </property> |
101 |
| - </activation> |
102 |
| - <build> |
103 |
| - <plugins> |
104 |
| - <plugin> |
105 |
| - <groupId>org.codehaus.mojo</groupId> |
106 |
| - <artifactId>exec-maven-plugin</artifactId> |
107 |
| - <version>1.6.0</version> |
108 |
| - <executions> |
109 |
| - <execution> |
110 |
| - <goals> |
111 |
| - <goal>java</goal> |
112 |
| - </goals> |
113 |
| - </execution> |
114 |
| - </executions> |
115 |
| - <configuration> |
116 |
| - <mainClass>com.example.texttospeech.ListAllSupportedVoices</mainClass> |
117 |
| - <cleanupDaemonThreads>false</cleanupDaemonThreads> |
118 |
| - </configuration> |
119 |
| - </plugin> |
120 |
| - </plugins> |
121 |
| - </build> |
122 |
| - </profile> |
| 94 | + <!--ListVoices--> |
| 95 | + <profile> |
| 96 | + <id>ListVoices</id> |
| 97 | + <activation> |
| 98 | + <property> |
| 99 | + <name>ListVoices</name> |
| 100 | + </property> |
| 101 | + </activation> |
| 102 | + <build> |
| 103 | + <plugins> |
| 104 | + <plugin> |
| 105 | + <groupId>org.codehaus.mojo</groupId> |
| 106 | + <artifactId>exec-maven-plugin</artifactId> |
| 107 | + <version>1.6.0</version> |
| 108 | + <executions> |
| 109 | + <execution> |
| 110 | + <goals> |
| 111 | + <goal>java</goal> |
| 112 | + </goals> |
| 113 | + </execution> |
| 114 | + </executions> |
| 115 | + <configuration> |
| 116 | + <mainClass>com.example.texttospeech.ListAllSupportedVoices</mainClass> |
| 117 | + <cleanupDaemonThreads>false</cleanupDaemonThreads> |
| 118 | + </configuration> |
| 119 | + </plugin> |
| 120 | + </plugins> |
| 121 | + </build> |
| 122 | + </profile> |
123 | 123 |
|
124 |
| - <!--SynthesizeFile--> |
125 |
| - <profile> |
126 |
| - <id>SynthesizeFile</id> |
127 |
| - <activation> |
128 |
| - <property> |
129 |
| - <name>SynthesizeFile</name> |
130 |
| - </property> |
131 |
| - </activation> |
132 |
| - <build> |
133 |
| - <plugins> |
134 |
| - <plugin> |
135 |
| - <groupId>org.codehaus.mojo</groupId> |
136 |
| - <artifactId>exec-maven-plugin</artifactId> |
137 |
| - <version>1.6.0</version> |
138 |
| - <executions> |
139 |
| - <execution> |
140 |
| - <goals> |
141 |
| - <goal>java</goal> |
142 |
| - </goals> |
143 |
| - </execution> |
144 |
| - </executions> |
145 |
| - <configuration> |
146 |
| - <mainClass>com.example.texttospeech.SynthesizeFile</mainClass> |
147 |
| - <cleanupDaemonThreads>false</cleanupDaemonThreads> |
148 |
| - </configuration> |
149 |
| - </plugin> |
150 |
| - </plugins> |
151 |
| - </build> |
152 |
| - </profile> |
| 124 | + <!--SynthesizeFile--> |
| 125 | + <profile> |
| 126 | + <id>SynthesizeFile</id> |
| 127 | + <activation> |
| 128 | + <property> |
| 129 | + <name>SynthesizeFile</name> |
| 130 | + </property> |
| 131 | + </activation> |
| 132 | + <build> |
| 133 | + <plugins> |
| 134 | + <plugin> |
| 135 | + <groupId>org.codehaus.mojo</groupId> |
| 136 | + <artifactId>exec-maven-plugin</artifactId> |
| 137 | + <version>1.6.0</version> |
| 138 | + <executions> |
| 139 | + <execution> |
| 140 | + <goals> |
| 141 | + <goal>java</goal> |
| 142 | + </goals> |
| 143 | + </execution> |
| 144 | + </executions> |
| 145 | + <configuration> |
| 146 | + <mainClass>com.example.texttospeech.SynthesizeFile</mainClass> |
| 147 | + <cleanupDaemonThreads>false</cleanupDaemonThreads> |
| 148 | + </configuration> |
| 149 | + </plugin> |
| 150 | + </plugins> |
| 151 | + </build> |
| 152 | + </profile> |
153 | 153 |
|
154 |
| - <!--SynthesizeText--> |
155 |
| - <profile> |
156 |
| - <id>SynthesizeText</id> |
157 |
| - <activation> |
158 |
| - <property> |
159 |
| - <name>SynthesizeText</name> |
160 |
| - </property> |
161 |
| - </activation> |
162 |
| - <build> |
163 |
| - <plugins> |
164 |
| - <plugin> |
165 |
| - <groupId>org.codehaus.mojo</groupId> |
166 |
| - <artifactId>exec-maven-plugin</artifactId> |
167 |
| - <version>1.6.0</version> |
168 |
| - <executions> |
169 |
| - <execution> |
170 |
| - <goals> |
171 |
| - <goal>java</goal> |
172 |
| - </goals> |
173 |
| - </execution> |
174 |
| - </executions> |
175 |
| - <configuration> |
176 |
| - <mainClass>com.example.texttospeech.SynthesizeText</mainClass> |
177 |
| - <cleanupDaemonThreads>false</cleanupDaemonThreads> |
178 |
| - </configuration> |
179 |
| - </plugin> |
180 |
| - </plugins> |
181 |
| - </build> |
182 |
| - </profile> |
183 |
| - </profiles> |
| 154 | + <!--SynthesizeText--> |
| 155 | + <profile> |
| 156 | + <id>SynthesizeText</id> |
| 157 | + <activation> |
| 158 | + <property> |
| 159 | + <name>SynthesizeText</name> |
| 160 | + </property> |
| 161 | + </activation> |
| 162 | + <build> |
| 163 | + <plugins> |
| 164 | + <plugin> |
| 165 | + <groupId>org.codehaus.mojo</groupId> |
| 166 | + <artifactId>exec-maven-plugin</artifactId> |
| 167 | + <version>1.6.0</version> |
| 168 | + <executions> |
| 169 | + <execution> |
| 170 | + <goals> |
| 171 | + <goal>java</goal> |
| 172 | + </goals> |
| 173 | + </execution> |
| 174 | + </executions> |
| 175 | + <configuration> |
| 176 | + <mainClass>com.example.texttospeech.SynthesizeText</mainClass> |
| 177 | + <cleanupDaemonThreads>false</cleanupDaemonThreads> |
| 178 | + </configuration> |
| 179 | + </plugin> |
| 180 | + </plugins> |
| 181 | + </build> |
| 182 | + </profile> |
| 183 | + </profiles> |
184 | 184 | </project>
|
0 commit comments