xlate / property-inject

Simple CDI extension to support injection of java.util.Properties values
GNU Affero General Public License v3.0
11 stars 8 forks source link

F186 Updated pom file to be able to build and test for jakarta #188

Closed mann-ed closed 3 months ago

mann-ed commented 4 months ago

New single project javax and jakarta build. See #186

To run for javax I had to use Java 8. 17 and 21 did not work. I can post error if needed. mvn clean package install integration-test test -Pjavax For jakarta i used Java 21 mvn clean package install integration-test test -Pjakarta This will update main and test source. So you will need to revert changes back if want to run javax again.

If you want to use jakarta just specify a classifier on the dependency.


<dependency>
            <groupId>io.xlate</groupId>
            <artifactId>property-inject</artifactId>
            <version>1.1.1-SNAPSHOT</version>
            <classifier>jakarta</classifier>
        </dependency>
mann-ed commented 4 months ago

I was able to figure out the argLines so now Java 21 can compile for javax. So no need for two different java versions to build now.

MikeEdgar commented 3 months ago

Closing - replaced by #194