neuer
Caro 2024-06-04 13:43:34 +02:00
parent a760fcc342
commit 0899228bf7
4 changed files with 118 additions and 106 deletions

3
MvnDemoHelloWorld/.gitignore vendored 100644
View File

@ -0,0 +1,3 @@
/target/
/.classpath
/.project

View File

@ -0,0 +1,3 @@
/org.eclipse.m2e.core.prefs
/org.eclipse.core.resources.prefs
/org.eclipse.jdt.core.prefs

View File

@ -1,4 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>hs-mannheim.de</groupId> <groupId>hs-mannheim.de</groupId>
<artifactId>MvnDemoHelloWorld</artifactId> <artifactId>MvnDemoHelloWorld</artifactId>
@ -47,8 +49,10 @@
</goals> </goals>
<configuration> <configuration>
<transformers> <transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <transformer
<mainClass> de.hs_mannheim.informatik.mvn.Main</mainClass> implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>
main.MvnDemoHelloWorld</mainClass>
</transformer> </transformer>
</transformers> </transformers>
</configuration> </configuration>
@ -89,7 +93,8 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!-- Security checking the plugins (not so important for non-web applications) --> <!-- Security checking the plugins (not so important for non-web
applications) -->
<plugin> <plugin>
<groupId>org.owasp</groupId> <groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId> <artifactId>dependency-check-maven</artifactId>

View File

@ -8,6 +8,7 @@ public class MvnDemoHelloWorld {
System.out.println("Und Tschüss!"); System.out.println("Und Tschüss!");
} }
} }