-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work with springboot project #63
Comments
Same problem here. Using both the maven plugin and the CLI it just doesn't produce anything at all. |
doesn't seem to work with spring-boot project. Tried both maven plugin and cli |
Sam here. Just tried the CLI and only received:
Was going to try the maven plugin but then found this issue. |
OK, I know why this happens. Springboot uses We can "fix it" with two (or more) ways, the first is very simple, on the target folder there is a Another solution is using another plugin to generate the <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<finalName>${project.name}-${project.version}</finalName>
<archive>
<manifest>
<mainClass>
${main.class}
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin> |
I have the same problem with a SpringBoot project! Im using Java 18 and SpringBoot version 2.7.0. The plugin only generates: @startuml
@enduml or:
@crossworth When I use the CLI, either with
For running I use the following command:
Is there any way to run the plugin in Maven directly / configure that the |
Same issue facing @iluwatar |
@kravitej9 @21r8390 you are missing the urm-core-2.0.0.jar in the classpath anyway it still doesn't create diagrams from spring projects no matter if jar-with-dependency .original or .war @iluwatar |
Hey @iluwatar, in the mean time => https://github.com/klingen-m/uml-reverse-mapper/tree/feature/add-war-support |
@klingen-m feel free to submit pull request, no write access needed |
i tried this maven plugin using spring pet client project here :
https://github.com/spring-projects/spring-petclinic
using this config :
uml output is only
run it with java 11 openjdk. is there any missing config of mine ?
The text was updated successfully, but these errors were encountered: