Romain Manni-Bucau created OWB-1161:
---------------------------------------
Summary: Implement a MetadataDiscovery for spring boot
Key: OWB-1161
URL: https://issues.apache.org/jira/browse/OWB-1161
Project: OpenWebBeans
Issue Type: New Feature
Reporter: Romain Manni-Bucau
{code}
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>whatever</groupId>
<artifactId>whatever</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.apache.meecrowave</groupId>
<artifactId>meecrowave-core</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>1.4.2.RELEASE</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<excludeDevtools>true</excludeDevtools>
<executable>true</executable>
<mainClass>org.apache.meecrowave.runner.Cli</mainClass>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
{code}
Allows to use spring boot to create an exectable jar (potentially war but let's
keep war for another issue)
Then scanning is broken cause of spring boot layout. We should be able to
detect we run with spring boot (BOOT-INF is there) and handle the scanning
accordingly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)