-
-
Notifications
You must be signed in to change notification settings - Fork 26.6k
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
Executable jar problem #2565
Comments
Hello @iluwatar Can you give me chance to solve above issue ? If yes then I'm willing to contribute over here and want to help you to solve executable jar problem. Thank you in advance |
Can I have a look here ? |
@satyajitbhatt are you working on it? |
No, I am not.
…On Sun, Sep 24, 2023, 8:49 PM Ilkka Seppälä ***@***.***> wrote:
@satyajitbhatt <https://github.com/satyajitbhatt> are you working on it?
—
Reply to this email directly, view it on GitHub
<#2565 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQA37LBSGJBBQPEG7M7L453X4BFPXANCNFSM6AAAAAA3XDA7MQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@iluwatar I want to go through the issue and work upon it |
Hi @iluwatar here we have 2 approaches to solve this bug |
I am trying hard to contribute but getting an error Unable to access jarfile spatial-partition/target/spatial-partition-1.26.0-SNAPSHOT.jar. It would be helpful if you review it once and suggest me something better @iluwatar |
Assigned to @Navneetsinghnegi |
I would Like to work on this issue. |
This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions. |
Hi @iluwatar, could please have a go at solving this issue? |
This issue has been automatically marked as stale because it has not had recent activity. The issue will be unassigned if no further activity occurs. Thank you for your contributions. |
Hi @iluwatar, I think I actually found a tiny configuration fix for the assembly plugin that produces a single fat JAR - e.g. $ cd proxy/
$ mvn clean package -DskipTests=true
$ ls -al target/
-rw-r--r-- 1 patrick staff 958950 Oct 8 00:12 proxy-1.26.0-SNAPSHOT.jar
...
$ java -jar target/proxy-1.26.0-SNAPSHOT.jar
00:12:39.160 [main] INFO com.iluwatar.proxy.IvoryTower -- Red wizard enters the tower.
00:12:39.162 [main] INFO com.iluwatar.proxy.IvoryTower -- White wizard enters the tower.
00:12:39.163 [main] INFO com.iluwatar.proxy.IvoryTower -- Black wizard enters the tower.
00:12:39.163 [main] INFO com.iluwatar.proxy.WizardTowerProxy -- Green wizard is not allowed to enter!
00:12:39.163 [main] INFO com.iluwatar.proxy.WizardTowerProxy -- Brown wizard is not allowed to enter! Feel free to assign the issue to me and I'll submit a PR. Thx! |
Hey I am working on this issue @iluwatar |
@iluwatar I am new to open source contribution, could you please help me to get started on this issue? |
Hi @iluwatar, |
Hi @iluwatar if only one jar file is required, putting filename in maven assembly plugin works |
The project includes Maven Assembly plugin to produce executable jars out of all the submodules (individual patterns). However, there currently seems to be a problem with the intended behaviour.
Steps to reproduce:
mvn clean package -DskipTests=true
java -jar spatial-partition/target/spatial-partition-1.26.0-SNAPSHOT.jar
Expected behaviour
Actual behavior
no main manifest attribute, in spatial-partition/target/spatial-partition-1.26.0-SNAPSHOT.jar
is printedThe text was updated successfully, but these errors were encountered: