Skip to content

Automatic-Module-Name in JAR's Manifest-File #130

@metacodez

Description

@metacodez

It would help other Java 9 modules and their module-info.java declaration to put an entry into jansi's JAR Manifest-File, such as: Automatic-Module-Name: org.fusesource.jansi to get stable module references. In Maven, this can be achieved by tweaking the maven-jar-plugin similar to:

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-jar-plugin</artifactId>
	<configuration>
		<archive>
			...
			<manifestEntries>
				<Automatic-Module-Name>org.fusesource.jansi</Automatic-Module-Name>
			</manifestEntries>
		</archive>
	</configuration>
	...
</plugin>

Then other JARs using jansi can move on to Java 9's module system :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions