Package patterns into executable jars setup (#1092)
* Adding support for maven assembly plugin to generate executable jar with all dependencies in built * Merge branch 'master' into issue-989 # Conflicts: # abstract-document/pom.xml # pom.xml * Adding maven assemly plugin for projects with name A * Update in format as per checkstyle, i.e. Spcae in place of tab with size of 2
This commit is contained in:
		
				
					committed by
					
						 Ilkka Seppälä
						Ilkka Seppälä
					
				
			
			
				
	
			
			
			
						parent
						
							515b7e7134
						
					
				
				
					commit
					e0b728c5e2
				
			| @@ -1,42 +1,55 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | <project xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 	<modelVersion>4.0.0</modelVersion> | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 	<parent> | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 		<artifactId>java-design-patterns</artifactId> | ||||||
|     THE SOFTWARE. | 		<groupId>com.iluwatar</groupId> | ||||||
|  | 		<version>1.23.0-SNAPSHOT</version> | ||||||
| --> | 	</parent> | ||||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 	<artifactId>abstract-document</artifactId> | ||||||
|          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | 	<dependencies> | ||||||
|     <modelVersion>4.0.0</modelVersion> | 		<dependency> | ||||||
|     <parent> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|         <artifactId>java-design-patterns</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|         <groupId>com.iluwatar</groupId> | 			<scope>test</scope> | ||||||
|         <version>1.23.0-SNAPSHOT</version> | 		</dependency> | ||||||
|     </parent> | 	</dependencies> | ||||||
|     <artifactId>abstract-document</artifactId> | 	<build> | ||||||
|     <dependencies> | 		<plugins> | ||||||
|         <dependency> | 			<!-- Maven assembly plugin is invoked with default setting which we have  | ||||||
|             <groupId>org.junit.jupiter</groupId> | 				in parent pom and specifying the class having main method --> | ||||||
|             <artifactId>junit-jupiter-engine</artifactId> | 			<plugin> | ||||||
|             <scope>test</scope> | 				<groupId>org.apache.maven.plugins</groupId> | ||||||
|         </dependency> | 				<artifactId>maven-assembly-plugin</artifactId> | ||||||
|     </dependencies> | 				<executions> | ||||||
|  | 					<execution> | ||||||
|  | 						<configuration> | ||||||
|  | 							<archive> | ||||||
|  | 								<manifest> | ||||||
|  | 									<mainClass>com.iluwatar.abstractdocument.App</mainClass> | ||||||
|  | 								</manifest> | ||||||
|  | 							</archive> | ||||||
|  | 						</configuration> | ||||||
|  | 					</execution> | ||||||
|  | 				</executions> | ||||||
|  | 			</plugin> | ||||||
|  | 		</plugins> | ||||||
|  | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -1,42 +1,56 @@ | |||||||
| <?xml version="1.0"?> | <?xml version="1.0"?> | ||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | <project | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 	xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 	<modelVersion>4.0.0</modelVersion> | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 	<parent> | ||||||
|     THE SOFTWARE. | 		<groupId>com.iluwatar</groupId> | ||||||
|  | 		<artifactId>java-design-patterns</artifactId> | ||||||
| --> | 		<version>1.23.0-SNAPSHOT</version> | ||||||
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | 	</parent> | ||||||
|     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | 	<artifactId>abstract-factory</artifactId> | ||||||
|   <modelVersion>4.0.0</modelVersion> | 	<dependencies> | ||||||
|   <parent> | 		<dependency> | ||||||
|     <groupId>com.iluwatar</groupId> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|     <artifactId>java-design-patterns</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|     <version>1.23.0-SNAPSHOT</version> | 			<scope>test</scope> | ||||||
|   </parent> | 		</dependency> | ||||||
|   <artifactId>abstract-factory</artifactId> | 	</dependencies> | ||||||
|   <dependencies> | 	<build> | ||||||
|     <dependency> | 		<plugins> | ||||||
|       <groupId>org.junit.jupiter</groupId> | 			<!-- Maven assembly plugin is invoked with default setting which we have  | ||||||
|       <artifactId>junit-jupiter-engine</artifactId> | 				in parent pom and specifying the class having main method --> | ||||||
|       <scope>test</scope> | 			<plugin> | ||||||
|     </dependency> | 				<groupId>org.apache.maven.plugins</groupId> | ||||||
|   </dependencies> | 				<artifactId>maven-assembly-plugin</artifactId> | ||||||
|  | 				<executions> | ||||||
|  | 					<execution> | ||||||
|  | 						<configuration> | ||||||
|  | 							<archive> | ||||||
|  | 								<manifest> | ||||||
|  | 									<mainClass>com.iluwatar.abstractfactory.App</mainClass> | ||||||
|  | 								</manifest> | ||||||
|  | 							</archive> | ||||||
|  | 						</configuration> | ||||||
|  | 					</execution> | ||||||
|  | 				</executions> | ||||||
|  | 			</plugin> | ||||||
|  | 		</plugins> | ||||||
|  | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -1,27 +1,18 @@ | |||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |  | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |  | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |  | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |  | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |  | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |  | ||||||
|     THE SOFTWARE. |  | ||||||
|  |  | ||||||
| --> |  | ||||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | <project xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
| 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 	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"> | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||||
| @@ -56,11 +47,11 @@ | |||||||
| 			<version>1.0.0</version> | 			<version>1.0.0</version> | ||||||
| 			<scope>test</scope> | 			<scope>test</scope> | ||||||
| 		</dependency> | 		</dependency> | ||||||
|     	<dependency> | 		<dependency> | ||||||
|       		<groupId>org.junit.jupiter</groupId> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|       		<artifactId>junit-jupiter-engine</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|       		<scope>test</scope> | 			<scope>test</scope> | ||||||
|     	</dependency> | 		</dependency> | ||||||
| 		<dependency> | 		<dependency> | ||||||
| 			<groupId>org.mockito</groupId> | 			<groupId>org.mockito</groupId> | ||||||
| 			<artifactId>mockito-all</artifactId> | 			<artifactId>mockito-all</artifactId> | ||||||
| @@ -68,4 +59,25 @@ | |||||||
| 			<scope>test</scope> | 			<scope>test</scope> | ||||||
| 		</dependency> | 		</dependency> | ||||||
| 	</dependencies> | 	</dependencies> | ||||||
|  | 	<build> | ||||||
|  |     <plugins> | ||||||
|  |       <!-- Maven assembly plugin is invoked with default setting which we have  | ||||||
|  |         in parent pom and specifying the class having main method --> | ||||||
|  |       <plugin> | ||||||
|  |         <groupId>org.apache.maven.plugins</groupId> | ||||||
|  |         <artifactId>maven-assembly-plugin</artifactId> | ||||||
|  |         <executions> | ||||||
|  |           <execution> | ||||||
|  |             <configuration> | ||||||
|  |               <archive> | ||||||
|  |                 <manifest> | ||||||
|  |                   <mainClass>com.iluwatar.acyclicvisitor.App</mainClass> | ||||||
|  |                 </manifest> | ||||||
|  |               </archive> | ||||||
|  |             </configuration> | ||||||
|  |           </execution> | ||||||
|  |         </executions> | ||||||
|  |       </plugin> | ||||||
|  |     </plugins> | ||||||
|  |   </build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
							
								
								
									
										104
									
								
								adapter/pom.xml
									
									
									
									
									
								
							
							
						
						
									
										104
									
								
								adapter/pom.xml
									
									
									
									
									
								
							| @@ -1,47 +1,61 @@ | |||||||
| <?xml version="1.0"?> | <?xml version="1.0"?> | ||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | <project | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 	xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 	<modelVersion>4.0.0</modelVersion> | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 	<parent> | ||||||
|     THE SOFTWARE. | 		<groupId>com.iluwatar</groupId> | ||||||
|  | 		<artifactId>java-design-patterns</artifactId> | ||||||
| --> | 		<version>1.23.0-SNAPSHOT</version> | ||||||
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | 	</parent> | ||||||
|     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | 	<artifactId>adapter</artifactId> | ||||||
|   <modelVersion>4.0.0</modelVersion> | 	<dependencies> | ||||||
|   <parent> | 		<dependency> | ||||||
|     <groupId>com.iluwatar</groupId> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|     <artifactId>java-design-patterns</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|     <version>1.23.0-SNAPSHOT</version> | 			<scope>test</scope> | ||||||
|   </parent> | 		</dependency> | ||||||
|   <artifactId>adapter</artifactId> | 		<dependency> | ||||||
|   <dependencies> | 			<groupId>org.mockito</groupId> | ||||||
|     <dependency> | 			<artifactId>mockito-core</artifactId> | ||||||
|       <groupId>org.junit.jupiter</groupId> | 			<scope>test</scope> | ||||||
|       <artifactId>junit-jupiter-engine</artifactId> | 		</dependency> | ||||||
|       <scope>test</scope> | 	</dependencies> | ||||||
|     </dependency> | 	<build> | ||||||
|     <dependency> | 		<plugins> | ||||||
|       <groupId>org.mockito</groupId> | 			<!-- Maven assembly plugin is invoked with default setting which we have  | ||||||
|       <artifactId>mockito-core</artifactId> | 				in parent pom and specifying the class having main method --> | ||||||
|       <scope>test</scope> | 			<plugin> | ||||||
|     </dependency> | 				<groupId>org.apache.maven.plugins</groupId> | ||||||
|   </dependencies> | 				<artifactId>maven-assembly-plugin</artifactId> | ||||||
|  | 				<executions> | ||||||
|  | 					<execution> | ||||||
|  | 						<configuration> | ||||||
|  | 							<archive> | ||||||
|  | 								<manifest> | ||||||
|  | 									<mainClass>com.iluwatar.adapter.App</mainClass> | ||||||
|  | 								</manifest> | ||||||
|  | 							</archive> | ||||||
|  | 						</configuration> | ||||||
|  | 					</execution> | ||||||
|  | 				</executions> | ||||||
|  | 			</plugin> | ||||||
|  | 		</plugins> | ||||||
|  | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -1,73 +1,81 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |  | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |  | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |  | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |  | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |  | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |  | ||||||
|     THE SOFTWARE. |  | ||||||
|  |  | ||||||
| --> |  | ||||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | <project xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 	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"> | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||||
|     <parent> | 	<parent> | ||||||
|         <artifactId>aggregator-microservices</artifactId> | 		<artifactId>aggregator-microservices</artifactId> | ||||||
|         <groupId>com.iluwatar</groupId> | 		<groupId>com.iluwatar</groupId> | ||||||
|         <version>1.23.0-SNAPSHOT</version> | 		<version>1.23.0-SNAPSHOT</version> | ||||||
|     </parent> | 	</parent> | ||||||
|     <modelVersion>4.0.0</modelVersion> | 	<modelVersion>4.0.0</modelVersion> | ||||||
|     <artifactId>aggregator-service</artifactId> | 	<artifactId>aggregator-service</artifactId> | ||||||
|     <packaging>jar</packaging> | 	<packaging>jar</packaging> | ||||||
|     <dependencies> | 	<dependencies> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.springframework</groupId> | 			<groupId>org.springframework</groupId> | ||||||
|             <artifactId>spring-webmvc</artifactId> | 			<artifactId>spring-webmvc</artifactId> | ||||||
|         </dependency> | 		</dependency> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.springframework.boot</groupId> | 			<groupId>org.springframework.boot</groupId> | ||||||
|             <artifactId>spring-boot-starter-web</artifactId> | 			<artifactId>spring-boot-starter-web</artifactId> | ||||||
|         </dependency> | 		</dependency> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.junit.jupiter</groupId> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|             <artifactId>junit-jupiter-engine</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|             <scope>test</scope> | 			<scope>test</scope> | ||||||
|         </dependency> | 		</dependency> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.mockito</groupId> | 			<groupId>org.mockito</groupId> | ||||||
|             <artifactId>mockito-core</artifactId> | 			<artifactId>mockito-core</artifactId> | ||||||
|             <scope>test</scope> | 			<scope>test</scope> | ||||||
|         </dependency> | 		</dependency> | ||||||
|     </dependencies> | 	</dependencies> | ||||||
|  |  | ||||||
|     <build> | 	<build> | ||||||
|         <plugins> | 		<plugins> | ||||||
|             <plugin> | 			<plugin> | ||||||
|                 <groupId>org.springframework.boot</groupId> | 				<groupId>org.springframework.boot</groupId> | ||||||
|                 <artifactId>spring-boot-maven-plugin</artifactId> | 				<artifactId>spring-boot-maven-plugin</artifactId> | ||||||
|                 <executions> | 				<executions> | ||||||
|                     <execution> | 					<execution> | ||||||
|                         <goals> | 						<goals> | ||||||
|                             <goal>repackage</goal> | 							<goal>repackage</goal> | ||||||
|                         </goals> | 						</goals> | ||||||
|                     </execution> | 					</execution> | ||||||
|                 </executions> | 				</executions> | ||||||
|             </plugin> | 			</plugin> | ||||||
|         </plugins> | 			<!-- Maven assembly plugin is invoked with default setting which we have  | ||||||
|     </build> | 				in parent pom and specifying the class having main method --> | ||||||
|  | 			<plugin> | ||||||
|  | 				<groupId>org.apache.maven.plugins</groupId> | ||||||
|  | 				<artifactId>maven-assembly-plugin</artifactId> | ||||||
|  | 				<executions> | ||||||
|  | 					<execution> | ||||||
|  | 						<configuration> | ||||||
|  | 							<archive> | ||||||
|  | 								<manifest> | ||||||
|  | 									<mainClass>com.iluwatar.aggregator.microservices.App</mainClass> | ||||||
|  | 								</manifest> | ||||||
|  | 							</archive> | ||||||
|  | 						</configuration> | ||||||
|  | 					</execution> | ||||||
|  | 				</executions> | ||||||
|  | 			</plugin> | ||||||
|  | 		</plugins> | ||||||
|  | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -1,70 +1,76 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |  | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |  | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |  | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |  | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |  | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |  | ||||||
|     THE SOFTWARE. |  | ||||||
|  |  | ||||||
| --> |  | ||||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | <project xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 	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"> | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||||
|     <parent> | 	<parent> | ||||||
|         <artifactId>aggregator-microservices</artifactId> | 		<artifactId>aggregator-microservices</artifactId> | ||||||
|         <groupId>com.iluwatar</groupId> | 		<groupId>com.iluwatar</groupId> | ||||||
|         <version>1.23.0-SNAPSHOT</version> | 		<version>1.23.0-SNAPSHOT</version> | ||||||
|     </parent> | 	</parent> | ||||||
|     <modelVersion>4.0.0</modelVersion> | 	<modelVersion>4.0.0</modelVersion> | ||||||
|  |  | ||||||
|     <artifactId>information-microservice</artifactId> | 	<artifactId>information-microservice</artifactId> | ||||||
|     <packaging>jar</packaging> | 	<packaging>jar</packaging> | ||||||
|  |  | ||||||
|     <dependencies> | 	<dependencies> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.springframework</groupId> | 			<groupId>org.springframework</groupId> | ||||||
|             <artifactId>spring-webmvc</artifactId> | 			<artifactId>spring-webmvc</artifactId> | ||||||
|         </dependency> | 		</dependency> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.springframework.boot</groupId> | 			<groupId>org.springframework.boot</groupId> | ||||||
|             <artifactId>spring-boot-starter-web</artifactId> | 			<artifactId>spring-boot-starter-web</artifactId> | ||||||
|         </dependency> | 		</dependency> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.junit.jupiter</groupId> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|             <artifactId>junit-jupiter-engine</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|             <scope>test</scope> | 			<scope>test</scope> | ||||||
|         </dependency> | 		</dependency> | ||||||
|     </dependencies> | 	</dependencies> | ||||||
|  |  | ||||||
|     <build> | 	<build> | ||||||
|         <plugins> | 		<plugins> | ||||||
|             <plugin> | 			<plugin> | ||||||
|                 <groupId>org.springframework.boot</groupId> | 				<groupId>org.springframework.boot</groupId> | ||||||
|                 <artifactId>spring-boot-maven-plugin</artifactId> | 				<artifactId>spring-boot-maven-plugin</artifactId> | ||||||
|                 <executions> | 				<executions> | ||||||
|                     <execution> | 					<execution> | ||||||
|                         <goals> | 						<goals> | ||||||
|                             <goal>repackage</goal> | 							<goal>repackage</goal> | ||||||
|                         </goals> | 						</goals> | ||||||
|                     </execution> | 					</execution> | ||||||
|                 </executions> | 				</executions> | ||||||
|             </plugin> | 			</plugin> | ||||||
|         </plugins> | 			<plugin> | ||||||
|     </build> | 				<groupId>org.apache.maven.plugins</groupId> | ||||||
|  | 				<artifactId>maven-assembly-plugin</artifactId> | ||||||
|  | 				<executions> | ||||||
|  | 					<execution> | ||||||
|  | 						<configuration> | ||||||
|  | 							<archive> | ||||||
|  | 								<manifest> | ||||||
|  | 									<mainClass>com.iluwatar.information.microservices.InformationApplication</mainClass> | ||||||
|  | 								</manifest> | ||||||
|  | 							</archive> | ||||||
|  | 						</configuration> | ||||||
|  | 					</execution> | ||||||
|  | 				</executions> | ||||||
|  | 			</plugin> | ||||||
|  | 		</plugins> | ||||||
|  | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -1,69 +1,75 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |  | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |  | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |  | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |  | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |  | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |  | ||||||
|     THE SOFTWARE. |  | ||||||
|  |  | ||||||
| --> |  | ||||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | <project xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 	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"> | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||||
|     <parent> | 	<parent> | ||||||
|         <artifactId>aggregator-microservices</artifactId> | 		<artifactId>aggregator-microservices</artifactId> | ||||||
|         <groupId>com.iluwatar</groupId> | 		<groupId>com.iluwatar</groupId> | ||||||
|         <version>1.23.0-SNAPSHOT</version> | 		<version>1.23.0-SNAPSHOT</version> | ||||||
|     </parent> | 	</parent> | ||||||
|     <modelVersion>4.0.0</modelVersion> | 	<modelVersion>4.0.0</modelVersion> | ||||||
|     <artifactId>inventory-microservice</artifactId> | 	<artifactId>inventory-microservice</artifactId> | ||||||
|  |  | ||||||
|     <packaging>jar</packaging> | 	<packaging>jar</packaging> | ||||||
|     <dependencies> | 	<dependencies> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.springframework</groupId> | 			<groupId>org.springframework</groupId> | ||||||
|             <artifactId>spring-webmvc</artifactId> | 			<artifactId>spring-webmvc</artifactId> | ||||||
|         </dependency> | 		</dependency> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.springframework.boot</groupId> | 			<groupId>org.springframework.boot</groupId> | ||||||
|             <artifactId>spring-boot-starter-web</artifactId> | 			<artifactId>spring-boot-starter-web</artifactId> | ||||||
|         </dependency> | 		</dependency> | ||||||
|         <dependency> | 		<dependency> | ||||||
|             <groupId>org.junit.jupiter</groupId> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|             <artifactId>junit-jupiter-engine</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|             <scope>test</scope> | 			<scope>test</scope> | ||||||
|         </dependency> | 		</dependency> | ||||||
|     </dependencies> | 	</dependencies> | ||||||
|  |  | ||||||
|     <build> | 	<build> | ||||||
|         <plugins> | 		<plugins> | ||||||
|             <plugin> | 			<plugin> | ||||||
|                 <groupId>org.springframework.boot</groupId> | 				<groupId>org.springframework.boot</groupId> | ||||||
|                 <artifactId>spring-boot-maven-plugin</artifactId> | 				<artifactId>spring-boot-maven-plugin</artifactId> | ||||||
|                 <executions> | 				<executions> | ||||||
|                     <execution> | 					<execution> | ||||||
|                         <goals> | 						<goals> | ||||||
|                             <goal>repackage</goal> | 							<goal>repackage</goal> | ||||||
|                         </goals> | 						</goals> | ||||||
|                     </execution> | 					</execution> | ||||||
|                 </executions> | 				</executions> | ||||||
|             </plugin> | 			</plugin> | ||||||
|         </plugins> | 			<plugin> | ||||||
|     </build> | 				<groupId>org.apache.maven.plugins</groupId> | ||||||
|  | 				<artifactId>maven-assembly-plugin</artifactId> | ||||||
|  | 				<executions> | ||||||
|  | 					<execution> | ||||||
|  | 						<configuration> | ||||||
|  | 							<archive> | ||||||
|  | 								<manifest> | ||||||
|  | 									<mainClass>com.iluwatar.inventory.microservices.InventoryApplication</mainClass> | ||||||
|  | 								</manifest> | ||||||
|  | 							</archive> | ||||||
|  | 						</configuration> | ||||||
|  | 					</execution> | ||||||
|  | 				</executions> | ||||||
|  | 			</plugin> | ||||||
|  | 		</plugins> | ||||||
|  | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -1,43 +1,53 @@ | |||||||
| <?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |  | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |  | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |  | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |  | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |  | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |  | ||||||
|     THE SOFTWARE. |  | ||||||
|  |  | ||||||
| --> |  | ||||||
| <project xmlns="http://maven.apache.org/POM/4.0.0" | <project xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | 	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"> | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||||||
|   <parent> | 	<parent> | ||||||
|     <artifactId>java-design-patterns</artifactId> | 		<artifactId>java-design-patterns</artifactId> | ||||||
|     <groupId>com.iluwatar</groupId> | 		<groupId>com.iluwatar</groupId> | ||||||
|     <version>1.23.0-SNAPSHOT</version> | 		<version>1.23.0-SNAPSHOT</version> | ||||||
|   </parent> | 	</parent> | ||||||
|   <modelVersion>4.0.0</modelVersion> | 	<modelVersion>4.0.0</modelVersion> | ||||||
|   <artifactId>ambassador</artifactId> | 	<artifactId>ambassador</artifactId> | ||||||
|   <dependencies> | 	<dependencies> | ||||||
|     <dependency> | 		<dependency> | ||||||
|       <groupId>org.junit.jupiter</groupId> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|       <artifactId>junit-jupiter-engine</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|       <scope>test</scope> | 			<scope>test</scope> | ||||||
|     </dependency> | 		</dependency> | ||||||
|   </dependencies> | 	</dependencies> | ||||||
|  | 	<build> | ||||||
|  | 		<plugins> | ||||||
|  | 			<plugin> | ||||||
|  | 				<groupId>org.apache.maven.plugins</groupId> | ||||||
|  | 				<artifactId>maven-assembly-plugin</artifactId> | ||||||
|  | 				<executions> | ||||||
|  | 					<execution> | ||||||
|  | 						<configuration> | ||||||
|  | 							<archive> | ||||||
|  | 								<manifest> | ||||||
|  | 									<mainClass>com.iluwatar.ambassador.App</mainClass> | ||||||
|  | 								</manifest> | ||||||
|  | 							</archive> | ||||||
|  | 						</configuration> | ||||||
|  | 					</execution> | ||||||
|  | 				</executions> | ||||||
|  | 			</plugin> | ||||||
|  | 		</plugins> | ||||||
|  | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -68,6 +68,21 @@ | |||||||
|           </execution> |           </execution> | ||||||
|         </executions> |         </executions> | ||||||
|       </plugin> |       </plugin> | ||||||
|  |       <plugin> | ||||||
|  |         <groupId>org.apache.maven.plugins</groupId> | ||||||
|  |         <artifactId>maven-assembly-plugin</artifactId> | ||||||
|  |         <executions> | ||||||
|  |           <execution> | ||||||
|  |             <configuration> | ||||||
|  |               <archive> | ||||||
|  |                 <manifest> | ||||||
|  |                   <mainClass>com.iluwatar.api.gateway.App</mainClass> | ||||||
|  |                 </manifest> | ||||||
|  |               </archive> | ||||||
|  |             </configuration> | ||||||
|  |           </execution> | ||||||
|  |         </executions> | ||||||
|  |       </plugin> | ||||||
|     </plugins> |     </plugins> | ||||||
|   </build> |   </build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -63,6 +63,21 @@ | |||||||
|           </execution> |           </execution> | ||||||
|         </executions> |         </executions> | ||||||
|       </plugin> |       </plugin> | ||||||
|  |       <plugin> | ||||||
|  |         <groupId>org.apache.maven.plugins</groupId> | ||||||
|  |         <artifactId>maven-assembly-plugin</artifactId> | ||||||
|  |         <executions> | ||||||
|  |           <execution> | ||||||
|  |             <configuration> | ||||||
|  |               <archive> | ||||||
|  |                 <manifest> | ||||||
|  |                   <mainClass>com.iluwatar.image.microservice.ImageApplication</mainClass> | ||||||
|  |                 </manifest> | ||||||
|  |               </archive> | ||||||
|  |             </configuration> | ||||||
|  |           </execution> | ||||||
|  |         </executions> | ||||||
|  |       </plugin> | ||||||
|     </plugins> |     </plugins> | ||||||
|   </build> |   </build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -65,6 +65,21 @@ | |||||||
|           </execution> |           </execution> | ||||||
|         </executions> |         </executions> | ||||||
|       </plugin> |       </plugin> | ||||||
|  |       <plugin> | ||||||
|  |         <groupId>org.apache.maven.plugins</groupId> | ||||||
|  |         <artifactId>maven-assembly-plugin</artifactId> | ||||||
|  |         <executions> | ||||||
|  |           <execution> | ||||||
|  |             <configuration> | ||||||
|  |               <archive> | ||||||
|  |                 <manifest> | ||||||
|  |                   <mainClass>com.iluwatar.price.microservices.PriceApplication</mainClass> | ||||||
|  |                 </manifest> | ||||||
|  |               </archive> | ||||||
|  |             </configuration> | ||||||
|  |           </execution> | ||||||
|  |         </executions> | ||||||
|  |       </plugin> | ||||||
|     </plugins> |     </plugins> | ||||||
|   </build> |   </build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
| @@ -1,52 +1,64 @@ | |||||||
| <?xml version="1.0"?> | <?xml version="1.0"?> | ||||||
| <!-- | <!-- The MIT License Copyright © 2014-2019 Ilkka Seppälä Permission is hereby  | ||||||
|  | 	granted, free of charge, to any person obtaining a copy of this software  | ||||||
|     The MIT License | 	and associated documentation files (the "Software"), to deal in the Software  | ||||||
|     Copyright © 2014-2019 Ilkka Seppälä | 	without restriction, including without limitation the rights to use, copy,  | ||||||
|  | 	modify, merge, publish, distribute, sublicense, and/or sell copies of the  | ||||||
|     Permission is hereby granted, free of charge, to any person obtaining a copy | 	Software, and to permit persons to whom the Software is furnished to do so,  | ||||||
|     of this software and associated documentation files (the "Software"), to deal | 	subject to the following conditions: The above copyright notice and this  | ||||||
|     in the Software without restriction, including without limitation the rights | 	permission notice shall be included in all copies or substantial portions  | ||||||
|     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 	of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY  | ||||||
|     copies of the Software, and to permit persons to whom the Software is | 	KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  | ||||||
|     furnished to do so, subject to the following conditions: | 	MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN  | ||||||
|  | 	NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,  | ||||||
|     The above copyright notice and this permission notice shall be included in | 	DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,  | ||||||
|     all copies or substantial portions of the Software. | 	ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER  | ||||||
|  | 	DEALINGS IN THE SOFTWARE. --> | ||||||
|     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | <project | ||||||
|     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||||||
|     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 	xmlns="http://maven.apache.org/POM/4.0.0" | ||||||
|     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||||
|     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | 	<modelVersion>4.0.0</modelVersion> | ||||||
|     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | 	<parent> | ||||||
|     THE SOFTWARE. | 		<groupId>com.iluwatar</groupId> | ||||||
|  | 		<artifactId>java-design-patterns</artifactId> | ||||||
| --> | 		<version>1.23.0-SNAPSHOT</version> | ||||||
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | 	</parent> | ||||||
|          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | 	<artifactId>async-method-invocation</artifactId> | ||||||
|   <modelVersion>4.0.0</modelVersion> | 	<dependencies> | ||||||
|   <parent> | 		<dependency> | ||||||
|     <groupId>com.iluwatar</groupId> | 			<groupId>org.junit.jupiter</groupId> | ||||||
|     <artifactId>java-design-patterns</artifactId> | 			<artifactId>junit-jupiter-engine</artifactId> | ||||||
|     <version>1.23.0-SNAPSHOT</version> | 			<scope>test</scope> | ||||||
|   </parent> | 		</dependency> | ||||||
|   <artifactId>async-method-invocation</artifactId> | 		<dependency> | ||||||
|   <dependencies> | 			<groupId>org.mockito</groupId> | ||||||
|     <dependency> | 			<artifactId>mockito-core</artifactId> | ||||||
|       <groupId>org.junit.jupiter</groupId> | 			<scope>test</scope> | ||||||
|       <artifactId>junit-jupiter-engine</artifactId> | 		</dependency> | ||||||
|       <scope>test</scope> | 		<dependency> | ||||||
|     </dependency> | 			<groupId>junit</groupId> | ||||||
|     <dependency> | 			<artifactId>junit</artifactId> | ||||||
|       <groupId>org.mockito</groupId> | 			<scope>test</scope> | ||||||
|       <artifactId>mockito-core</artifactId> | 		</dependency> | ||||||
|       <scope>test</scope> | 	</dependencies> | ||||||
|     </dependency> | 	<build> | ||||||
|     <dependency> | 		<plugins> | ||||||
|       <groupId>junit</groupId> | 			<plugin> | ||||||
|       <artifactId>junit</artifactId> | 				<groupId>org.apache.maven.plugins</groupId> | ||||||
|       <scope>test</scope> | 				<artifactId>maven-assembly-plugin</artifactId> | ||||||
|     </dependency> | 				<executions> | ||||||
|   </dependencies> | 					<execution> | ||||||
|  | 						<configuration> | ||||||
|  | 							<archive> | ||||||
|  | 								<manifest> | ||||||
|  | 									<mainClass>com.iluwatar.async.method.invocation.App</mainClass> | ||||||
|  | 								</manifest> | ||||||
|  | 							</archive> | ||||||
|  | 						</configuration> | ||||||
|  | 					</execution> | ||||||
|  | 				</executions> | ||||||
|  | 			</plugin> | ||||||
|  | 		</plugins> | ||||||
|  | 	</build> | ||||||
| </project> | </project> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user