You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Daniel Dias (Jira)" <ji...@apache.org> on 2020/09/14 04:10:00 UTC

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

Daniel Dias created DELTASPIKE-1416:
---------------------------------------

             Summary: 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
             Fix For: 1.9.5


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)