collections inside node fails for plantuml-8059.jar

0 votes
asked Feb 24, 2021 in Bug by alfanse (120 points)

using plantuml jar version: https://repo1.maven.org/maven2/net/sourceforge/plantuml/plantuml/8059/plantuml-8059.jar with 

@startuml

frame "EKS" {
  component "Schema Poller" as sp
  collections "Service Gateways" as pg
  component "Platform \nFoundation \nGateway" as pfg
}

@enduml

passes online, fails with local file generation command: 

java -jar libs/plantuml.jar -o png -tpng *.pu

error: line 5, Syntax Error?

It doesn't like having `collections` nested inside `frame`?
I've also tried collections outside the frame with the same syntax error result.

1 Answer

0 votes
answered Feb 24, 2021 by The-Lu (64,340 points)
selected Feb 24, 2021 by alfanse
 
Best answer

Hello A.,

The V8059 is a very old version.

  • Could you update with a later or most recent version?

Like :

For PlantUML version spec. see:

If that can help,
Regards,
Th.

commented Feb 24, 2021 by alfanse (120 points)

that is a huge relief, thanks.

FYI maven central thinks 8059 is the latest version.
https://search.maven.org/search?q=plantuml

Group IDArtifact IDLatest VersionUpdatedOSS IndexDownload

net.sourceforge.plantuml

plantuml

‎ 8059

(99+)

15-Mar-2017open_in_newfile_download
visible in here as well:
https://repo1.maven.org/maven2/net/sourceforge/plantuml/plantuml/maven-metadata.xml
 

<metadata>

<groupId>net.sourceforge.plantuml</groupId>

<artifactId>plantuml</artifactId>

<versioning>

<latest>8059</latest>

<release>8059</release>

<versions>

...

...