[
https://issues.apache.org/jira/browse/OWB-1161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17072645#comment-17072645
]
Mark Struberg commented on OWB-1161:
------------------------------------
Romain, was there any work done on that part?
Or is there another way to get one-jar like assemblies parsed right now?
> 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
> Priority: Major
>
> {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.
> Note: the snippet uses meecrowave cause it has a runner but we can do the
> same with a plain OWB as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)