Git Product home page Git Product logo

Comments (10)

robotdan avatar robotdan commented on May 27, 2024 1

Thanks @skjolber for the help! Added it back under commit 3a45068

from fusionauth-jwt.

robotdan avatar robotdan commented on May 27, 2024

Can you provide some additional detail to what you're looking for and the use case? Thanks!

from fusionauth-jwt.

skjolber avatar skjolber commented on May 27, 2024

Well an Automatic module name would be a good first step, then later a real module info (guess using moditect-maven-plugin is the fastest). Use-case: Java 11 application with modules.

from fusionauth-jwt.

robotdan avatar robotdan commented on May 27, 2024

Will this help you out? See commit 82033d0

I haven't dealt much yet with modules, so please share any feedback you have.

from fusionauth-jwt.

skjolber avatar skjolber commented on May 27, 2024

See #10 for a suggestion.

from fusionauth-jwt.

robotdan avatar robotdan commented on May 27, 2024

I removed the module-info.java file for now, JDK8 won't compile this, so I'll have to build two artifacts from this project one for Java8, and another for Java9 and only include this when compiling Java9.

from fusionauth-jwt.

skjolber avatar skjolber commented on May 27, 2024

To stay on 8, use the moditect plugin:

<plugin>
    <groupId>org.moditect</groupId>
    <artifactId>moditect-maven-plugin</artifactId>
    <version>1.0.0.Beta2</version>
    <executions>
        <execution>
            <id>add-module-infos</id>
            <phase>package</phase>
            <goals>
                <goal>add-module-info</goal>
            </goals>
            <configuration>
                <jvmVersion>${java.module.version}</jvmVersion>
                <overwriteExistingFiles>true</overwriteExistingFiles>
                <module>
                    <moduleInfoFile>src/main/moditech/module-info.java</moduleInfoFile>
                </module>
            </configuration>
        </execution>
    </executions>
</plugin>

with the module-info in a seperate source folder.

from fusionauth-jwt.

skjolber avatar skjolber commented on May 27, 2024

@robotdan and remember to import jackson modules (read: your module uses the jackson module).

from fusionauth-jwt.

skjolber avatar skjolber commented on May 27, 2024

https://github.com/FusionAuth/fusionauth-jwt/pull/10/files#diff-9b957a8dd84164d8cb3b155d2c886290R14-R16

from fusionauth-jwt.

robotdan avatar robotdan commented on May 27, 2024

Thanks @skjolber sorry - totally forgot / missed your PR with all of this in it already. Thanks for the help!

I'm obviously Java9 stupid. :-(

from fusionauth-jwt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.