Skip to content

Commit

Permalink
Update xmvn-generator to version 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mizdebsk committed Sep 27, 2024
1 parent 10db61d commit 17f2fa4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
14 changes: 5 additions & 9 deletions javapackages-bootstrap.spec
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Exclude automatically generated requires on java interpreter which is not
# owned by any package
%global __requires_exclude ^%{_jvmdir}/java

# Don't run OSGi dependency generators on private (bundled) JARs
%global __requires_exclude_from \\.jar$
%global __provides_exclude_from \\.jar$
%global __requires_exclude ^%{_jvmdir}/jre

# Generated list of bundled packages
%global _local_file_attrs local_generator
Expand All @@ -13,7 +9,7 @@

%global debug_package %{nil}

%global javaHomePath %{_jvmdir}/java-21-openjdk
%global javaHomePath %{_jvmdir}/jre-21-openjdk
%global mavenHomePath %{_datadir}/%{name}
%global metadataPath %{mavenHomePath}/maven-metadata
%global artifactsPath %{_prefix}/lib
Expand Down Expand Up @@ -101,9 +97,9 @@ install -D -p -m 644 downstream/xmvn-generator/src/main/rpm/xmvngen.attr %{build
echo '
%%__xmvngen_debug 1
%%__xmvngen_libjvm %{javaHomePath}/lib/server/libjvm.so
%%__xmvngen_classpath %{artifactsPath}/%{name}/xmvn-generator.jar:%{artifactsPath}/%{name}/asm.jar:%{artifactsPath}/%{name}/commons-compress.jar
%%__xmvngen_provides_generators org.fedoraproject.xmvn.generator.jpms.JPMSGeneratorFactory
%%__xmvngen_requires_generators %%{nil}
%%__xmvngen_classpath %{artifactsPath}/%{name}/xmvn-generator.jar:%{artifactsPath}/%{name}/asm.jar:%{artifactsPath}/%{name}/commons-compress.jar:%{artifactsPath}/%{name}/commons-io.jar:%{artifactsPath}/%{name}/xmvn-mojo.jar:%{artifactsPath}/%{name}/maven-model.jar:%{artifactsPath}/%{name}/plexus-utils.jar
%%__xmvngen_provides_generators org.fedoraproject.xmvn.generator.filesystem.FilesystemGeneratorFactory org.fedoraproject.xmvn.generator.jpscript.JPackageScriptGeneratorFactory org.fedoraproject.xmvn.generator.jpms.JPMSGeneratorFactory org.fedoraproject.xmvn.generator.maven.MavenGeneratorFactory
%%__xmvngen_requires_generators org.fedoraproject.xmvn.generator.filesystem.FilesystemGeneratorFactory org.fedoraproject.xmvn.generator.jpscript.JPackageScriptGeneratorFactory org.fedoraproject.xmvn.generator.maven.MavenGeneratorFactory
%%__xmvngen_post_install_hooks org.fedoraproject.xmvn.generator.transformer.TransformerHookFactory
%%jpb_env PATH=/usr/libexec/javapackages-bootstrap:$PATH
%%java_home %{javaHomePath}
Expand Down
3 changes: 3 additions & 0 deletions mbi/dist/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,9 @@ MOD xmvn
ART org.fedoraproject.xmvn xmvn-mojo
DEP org.apache.maven.resolver maven-resolver-util
DEP org.ow2.asm asm
ART org.fedoraproject.xmvn xmvn-api
ART org.fedoraproject.xmvn xmvn-core
DEP org.fedoraproject.xmvn xmvn-api
MOD xmvn-generator
ART org.fedoraproject.xmvn xmvn-generator
MOD xz-java
Expand Down
2 changes: 1 addition & 1 deletion project/xmvn-generator.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
url=https://github.com/fedora-java/xmvn-generator.git
ref=@.@.@
version=1.2.2
version=2.0.0
5 changes: 4 additions & 1 deletion project/xmvn-generator.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
<module>
<dependency>asm</dependency>
<dependency>commons-compress</dependency>
<dependency>xmvn</dependency>
<dependency>maven-model</dependency>
<dependency>plexus-utils</dependency>
<build>
<compiler>
<release>17</release>
<release>21</release>
<addSourceRoot>src/main/java</addSourceRoot>
</compiler>
<ant>
Expand Down

0 comments on commit 17f2fa4

Please sign in to comment.