You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/03/04 21:54:00 UTC

[jira] [Commented] (DELTASPIKE-1416) deltaspike-core-impl.jar does not contain the Main class to execute in your Manifest.MF to Crypto

    [ https://issues.apache.org/jira/browse/DELTASPIKE-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17295598#comment-17295598 ] 

ASF subversion and git services commented on DELTASPIKE-1416:
-------------------------------------------------------------

Commit 7d11feb46868cf66a0c365e97eba71fa22f8c715 in deltaspike's branch refs/heads/master from Mark Struberg
[ https://gitbox.apache.org/repos/asf?p=deltaspike.git;h=7d11feb ]

DELTASPIKE-1416 fix missing mainclass in Manifest


> deltaspike-core-impl.jar does not contain the Main class to execute in your Manifest.MF to Crypto
> -------------------------------------------------------------------------------------------------
>
>                 Key: DELTASPIKE-1416
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1416
>             Project: DeltaSpike
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Core
>    Affects Versions: 1.9.4
>            Reporter: Daniel Dias
>            Assignee: Mark Struberg
>            Priority: Minor
>             Fix For: 1.9.5
>
>         Attachments: DELTASPIKE-1416.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In [https://deltaspike.apache.org/documentation/encryption.html]
> demo how to run java -jar deltaspike-core-impl.jar encode -masterPassword myMasterPassword -masterSalt myMasterSalt
> more in your MANIFEST.MF does not contain the Main-Class that is in META-INF of the Core:
> [https://github.com/apache/deltaspike/blob/master/deltaspike/core/impl/src/main/resources/META-INF/MANIFEST.MF]
>  
> to resolve, you must include a plugin:
> {code:java}
> <plugin>
>  <groupId>org.apache.maven.plugins</groupId>
>  <artifactId>maven-jar-plugin</artifactId>
>  <configuration>
>  <archive>
>  <manifestFile>src/main/resources/META-INF/MANIFEST.MF</manifestFile>
>  </archive>
>  </configuration>
>  </plugin>{code}
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)