Commit 36a640b3 authored by Noel Alonso's avatar Noel Alonso
Browse files

Añade componentes básicos de un proyecto

parent 86038344
Loading
Loading
Loading
Loading

pom.xml

0 → 100644
+60 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<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">

	<parent>
		<groupId>es.redmic</groupId>
		<artifactId>server-parent</artifactId>
		<version>0.3.0</version>
		<relativePath />
	</parent>

	<modelVersion>4.0.0</modelVersion>
	<artifactId>download-manager</artifactId>
	<packaging>jar</packaging>
	<version>0.1.0</version>
	<name>Download manager</name>
	<description>Microservice for manage downloads</description>

	<properties>
		<!-- REDMIC -->

		<!-- OTHERS -->
	</properties>

	<dependencies>

		<!-- Spring, Depende del microservicio. Se podría cambiar por REST, Socket... -->

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
	</dependencies>
	<repositories>
		<repository>
			<id>central</id>
			<name>libs-release</name>
			<url>https://artifactory.redmic.net/artifactory/libs-release</url>
		</repository>
		<repository>
			<id>snapshots</id>
			<name>libs-snapshot</name>
			<url>https://artifactory.redmic.net/artifactory/libs-snapshot</url>
		</repository>
	</repositories>
	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
					<executable>true</executable>
					<finalName>template</finalName>
					<outputDirectory>dist</outputDirectory>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>
+14 −0
Original line number Diff line number Diff line
package es.redmic.downloadmanager;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan({ "es.redmic.downloadmanager" })
public class DownloadManagerApplication {
	
	public static void main(String[] args) {
		SpringApplication.run(DownloadManagerApplication.class, args);
	}
}
+0 −0

Empty file added.

+0 −0

Empty file added.

+0 −0

Empty file added.

Loading