Skip to content

deploy jar to Github packages#1

Open
nalbion wants to merge 18 commits intoduns:masterfrom
nalbion:master
Open

deploy jar to Github packages#1
nalbion wants to merge 18 commits intoduns:masterfrom
nalbion:master

Conversation

@nalbion
Copy link
Copy Markdown

@nalbion nalbion commented May 16, 2020

I couldn't find the repository this is currently deployed to, so I tried to deploy it to Github packages.

This is currently not working because I could also not find org.apache.maven.plugins:maven-nar-plugin:jar:2.1-SNAPSHOT

https://github.com/nalbion/maven-swig-plugin/runs/680404878?check_suite_focus=true

I tried to upgrade to https://github.com/maven-nar/nar-maven-plugin but that is not 100% compatible.

[ERROR] /home/runner/work/maven-swig-plugin/maven-swig-plugin/src/main/java/org/apache/maven/plugin/swig/SwigMojo.java:399: error: cannot find symbol
[ERROR] List narArtifacts = narManager.getNarDependencies( "compile" );
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: symbol: method getNarDependencies(String)
[ERROR] location: variable narManager of type NarManager
[ERROR] /home/runner/work/maven-swig-plugin/maven-swig-plugin/src/main/java/org/apache/maven/plugin/swig/SwigMojo.java:454: error: method getAOL in class NarUtil cannot be applied to given types;
[ERROR] NarUtil.getAOL( architecture, os, linker, null ).toString() ),
[ERROR] ^
[ERROR]
[ERROR] could not parse error message: required: MavenProject,String,String,Linker,String,Log
[ERROR] found: String,String,Linker,
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /home/runner/work/maven-swig-plugin/maven-swig-plugin/src/main/java/org/apache/maven/plugin/swig/SwigMojo.java:737: error: cannot find symbol
[ERROR] List narIncludes = narManager.getNarDependencies( "compile" );

https://github.com/nalbion/maven-swig-plugin/runs/680453213?check_suite_focus=true

@nalbion
Copy link
Copy Markdown
Author

nalbion commented May 16, 2020

the build is working now, but I can't get maven to deploy to Github's repo.
Github say that access by forked repos is read-only - maybe if your merge the PR the plugin will be able to be downloaded by anyone

@nalbion
Copy link
Copy Markdown
Author

nalbion commented May 16, 2020

This still isn't working

Failed to execute goal com.github.duns:swig-maven-plugin:1.3.40-1-SNAPSHOT:generate (default) on project vosk-api: Jar not found org.swig:nar-swig:nar:1.3.40-1-SNAPSHOT: Could not find artifact org.swig:nar-swig:nar:1.3.40-1-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant