Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy jar to Github packages #1

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

deploy jar to Github packages #1

wants to merge 18 commits into from

Conversation

nalbion
Copy link

@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
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
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