jy2-di-example
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.github.wmlynar</groupId> <artifactId>jy2-di-example</artifactId> <version>0.0.39</version> </dependency>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.github.wmlynar</groupId> <artifactId>jy2-parent</artifactId> <version>0.0.39</version> </parent> <artifactId>jy2-di-example</artifactId> <dependencies> <dependency> <groupId>com.github.wmlynar</groupId> <artifactId>jy2-di</artifactId> <version>0.0.39</version> </dependency> <dependency> <groupId>com.github.wmlynar</groupId> <artifactId>jy2-tf-lib</artifactId> <version>0.0.39</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> <version>2.1.0</version> <configuration> <programs> <program> <id>jydiexample</id> <mainClass>com.github.jy2.di.example.Main</mainClass> </program> </programs> <assembleDirectory>${jy2.assembler.directory}</assembleDirectory> <repositoryLayout>${jy2.assembler.repository.layout}</repositoryLayout> <useTimestampInSnapshotFileName>${jy2.assembler.use.timestamp}</useTimestampInSnapshotFileName> <!-- <extraJvmArguments>-Xmx256m</extraJvmArguments> --> </configuration> <executions> <execution> <goals> <goal>assemble</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>graalvm</id> <activation> <activeByDefault>false</activeByDefault> </activation> <dependencies> <!-- nativeimage --> <dependency> <groupId>javax.cache</groupId> <artifactId>cache-api</artifactId> <version>1.0.0</version> </dependency> </dependencies> <build> <plugins> <!-- nativeimage --> <plugin> <groupId>com.oracle.substratevm</groupId> <artifactId>native-image-maven-plugin</artifactId> <version>19.2.0</version> <executions> <execution> <goals> <goal>native-image</goal> </goals> <phase>package</phase> </execution> </executions> <configuration> <buildArgs> -H:-UseServiceLoaderFeature --enable-url-protocols=http,https --enable-all-security-services --no-fallback --report-unsupported-elements-at-runtime -H:Log=registerResource </buildArgs> <!-- waiting for fixes --> <!-- https://github.com/oracle/graal/pull/1076 --> <!-- https://github.com/oracle/graal/pull/1406 --> <!-- no-fallback report-unsupported-elements-at-runtime -H:IncludeResources='.*\.properties' --> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>