27 Mar 2022 |
| Yuu Yin joined the room. | 02:31:53 |
7 Apr 2022 |
| Lorenz Leutgeb set a profile picture. | 08:33:11 |
8 Apr 2022 |
| Kevin Krouse joined the room. | 20:08:10 |
20 Apr 2022 |
| ahmed joined the room. | 23:32:48 |
21 Apr 2022 |
| An exploring bot joined the room. | 00:50:03 |
| An exploring bot left the room. | 00:50:04 |
| Wanja Hentze joined the room. | 08:58:16 |
22 Apr 2022 |
| Wanja Hentze set a profile picture. | 14:59:36 |
| Wanja Hentze changed their display name from whentze to Wanja Hentze. | 14:59:50 |
4 May 2022 |
| An exploring bot joined the room. | 15:02:48 |
| An exploring bot left the room. | 15:02:52 |
9 May 2022 |
Yuu Yin | Redacted or Malformed Event | 16:06:24 |
1 Jun 2022 |
| bite_wrighta left the room. | 13:38:18 |
21 Jun 2022 |
| dschrempf left the room. | 07:51:23 |
11 Jul 2022 |
| Gytis Ivaskevicius left the room. | 13:35:30 |
16 Jul 2022 |
Yuu Yin | seems like now there's a new way for maven fod directly in nixpkgs. https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/java-modules/maven-fod.nix
used in scim-for-keycloak and dbeaver | 15:07:26 |
Yuu Yin | https://www.youtube.com/watch?v=gQstiX7H8MQ | 15:43:10 |
Yuu Yin | have you all seen https://github.com/jlesquembre/clj-nix? | 15:45:59 |
Wanja Hentze | In reply to @yuu:matrix.org have you all seen https://github.com/jlesquembre/clj-nix? I have. There's also https://github.com/bevuta/clojure-nix-locker. | 16:32:06 |
Wanja Hentze | Full disclosure: I co-maintain that one so I'm biased. It's quite a different approach but they both have merit imo. | 16:32:59 |
Yuu Yin | Wanja Hentze: looking into it; i'll try it in a future project, thanks for the link | 17:56:05 |
Wanja Hentze | lmk if it breaks, it's a 'diamond in the rough' atm 😝 | 17:58:18 |
17 Jul 2022 |
Yuu Yin | i almost got my hopes up with mavenfod
modelio> [ERROR] Internal error: java.lang.IllegalArgumentException: Could not find specification for custom execution environment profile 'JavaSE-17' in the target platform -> [Help 1]
modelio> org.apache.maven.InternalErrorException: Internal error: java.lang.IllegalArgumentException: Could not find specification for custom execution environment profile 'JavaSE-17' in the target platform
modelio> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:120)
modelio> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
modelio> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
modelio> at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
modelio> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
modelio> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
modelio> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
modelio> at java.lang.reflect.Method.invoke (Method.java:568)
modelio> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
modelio> at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
modelio> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
modelio> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
modelio> Caused by: java.lang.IllegalArgumentException: Could not find specification for custom execution environment profile 'JavaSE-17' in the target platform
modelio> at org.eclipse.tycho.p2.target.ee.CustomEEResolutionHandler.findSpecificationUnit (CustomEEResolutionHandler.java:49)
modelio> at org.eclipse.tycho.p2.target.ee.CustomEEResolutionHandler.readFullSpecification (CustomEEResolutionHandler.java:38)
modelio> at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform (TargetPlatformFactoryImpl.java:200)
modelio> at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform (TargetPlatformFactoryImpl.java:128)
modelio> at org.eclipse.tycho.p2.target.TargetPlatformFactoryImpl.createTargetPlatform (TargetPlatformFactoryImpl.java:1)
modelio> at org.eclipse.tycho.p2.manager.ReactorRepositoryManagerImpl.computePreliminaryTargetPlatform (ReactorRepositoryManagerImpl.java:84)
modelio> at org.eclipse.tycho.p2.resolver.P2DependencyResolver.computePreliminaryTargetPlatform (P2DependencyResolver.java:226)
modelio> at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveWithCurrentEE (DefaultTychoResolver.java:207)
modelio> at org.eclipse.tycho.core.resolver.DefaultTychoResolver.resolveProject (DefaultTychoResolver.java:132)
modelio> at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:95)
modelio> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:253)
modelio> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
modelio> at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
modelio> at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
modelio> at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
modelio> at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
modelio> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
modelio> at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
modelio> at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
modelio> at java.lang.reflect.Method.invoke (Method.java:568)
modelio> at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
modelio> at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
modelio> at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
modelio> at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
modelio> [ERROR]
modelio> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
modelio> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
modelio> [ERROR]
modelio> [ERROR] For more information about the errors and possible solutions, please read the following articles:
modelio> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
| 00:53:08 |
Yuu Yin | only ant is ok in Nix. To this day I couldn't package a maven app | 00:55:40 |
Yuu Yin | mavenfod is basically what zakaria documented in the fzakaria blog. | 01:00:31 |
Yuu Yin | * mavenfod is basically what zakaria documented in the fzakaria blog on java fod. | 01:01:01 |
Yuu Yin | * only ant is ok in Nix. To this day I couldn't build a maven app | 01:02:56 |
Yuu Yin | hmm https://github.com/NixOS/nixpkgs/commit/60566767704d7eea7273dbc453374d4f7440ebda | 01:32:52 |
Yuu Yin | modelio> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.7.0:package-plugin (default-package-plugin) on project org.modelio.documentation.copyright: /build/source/doc/plugins/en/documentation.copyright.org/build.properties: bin.includes value(s) [index/] do not match any files. -> [Help 1]
modelio> [ERROR]
modelio> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
modelio> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
modelio> [ERROR]
modelio> [ERROR] For more information about the errors and possible solutions, please read the following articles:
modelio> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
modelio> [ERROR]
modelio> [ERROR] After correcting the problems, you can resume the build with the command
modelio> [ERROR] mvn <goals> -rf :org.modelio.documentation.copyright
error: builder for '/nix/store/93dwrh1rjpmww2135qfd0zxbzrzz8mn6-modelio-5.1.0-maven-deps.drv' failed with exit code 1;
https://github.com/ModelioOpenSource/Modelio/blob/v5.1.0/doc/plugins/en/documentation.copyright.org/build.properties
bin.includes = plugin.xml,\
META-INF/,\
html/,\
tocs/,\
index/
probably due to
# keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside
installPhase = ''
find $out -type f \
-name \*.lastUpdated -or \
-name resolver-status.properties -or \
-name _remote.repositories \
-delete
'';
| 02:19:35 |
Yuu Yin | * modelio> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:1.7.0:package-plugin (default-package-plugin) on project org.modelio.documentation.copyright: /build/source/doc/plugins/en/documentation.copyright.org/build.properties: bin.includes value(s) [index/] do not match any files. -> [Help 1]
modelio> [ERROR]
modelio> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
modelio> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
modelio> [ERROR]
modelio> [ERROR] For more information about the errors and possible solutions, please read the following articles:
modelio> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
modelio> [ERROR]
modelio> [ERROR] After correcting the problems, you can resume the build with the command
modelio> [ERROR] mvn <goals> -rf :org.modelio.documentation.copyright
error: builder for '/nix/store/93dwrh1rjpmww2135qfd0zxbzrzz8mn6-modelio-5.1.0-maven-deps.drv' failed with exit code 1;
https://github.com/ModelioOpenSource/Modelio/blob/v5.1.0/doc/plugins/en/documentation.copyright.org/build.properties
bin.includes = plugin.xml,\
META-INF/,\
html/,\
tocs/,\
index/
probably due to https://github.com/NixOS/nixpkgs/blob/377cb19b000664c59e30370d13175bed1f0ff703/pkgs/development/java-modules/maven-fod.nix#L33-L40
# keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside
installPhase = ''
find $out -type f \
-name \*.lastUpdated -or \
-name resolver-status.properties -or \
-name _remote.repositories \
-delete
'';
| 02:20:06 |