Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eric Duminil
RegionChooser
Commits
cb6700f4
Commit
cb6700f4
authored
5 years ago
by
Eric Duminil
Browse files
Options
Download
Email Patches
Plain Diff
Weird manifest bugs. Scripts cannot find classes
parent
b8f660a3
master
develop
0.2.2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
buildConfig/assemblyDesc.xml
+7
-1
buildConfig/assemblyDesc.xml
pom.xml
+10
-34
pom.xml
with
17 additions
and
35 deletions
+17
-35
buildConfig/assemblyDesc.xml
+
7
-
1
View file @
cb6700f4
<?xml version="1.0" encoding="UTF-8"?>
<assembly
xmlns=
"http://maven.apache.org/ASSEMBLY/2.0.0"
<assembly
xmlns=
"http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd"
>
...
@@ -6,6 +6,12 @@
...
@@ -6,6 +6,12 @@
<formats>
<formats>
<format>
zip
</format>
<format>
zip
</format>
</formats>
</formats>
<dependencySets>
<dependencySet>
<outputDirectory>
/lib
</outputDirectory>
<unpack>
false
</unpack>
</dependencySet>
</dependencySets>
<fileSets>
<fileSets>
<fileSet>
<fileSet>
<directory>
${project.basedir}/buildConfig
</directory>
<directory>
${project.basedir}/buildConfig
</directory>
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
10
-
34
View file @
cb6700f4
...
@@ -49,24 +49,6 @@
...
@@ -49,24 +49,6 @@
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
<!-- Is it really needed? -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-dependency-plugin
</artifactId>
<executions>
<execution>
<id>
copy-dependencies
</id>
<phase>
package
</phase>
<goals>
<goal>
copy-dependencies
</goal>
</goals>
<configuration>
<outputDirectory>
${project.build.directory}/lib
</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<!-- Gets info from git, e.g. hash and datetime -->
<!-- Gets info from git, e.g. hash and datetime -->
<plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<groupId>
org.codehaus.mojo
</groupId>
...
@@ -91,27 +73,21 @@
...
@@ -91,27 +73,21 @@
<!-- Packs everything in a zip -->
<!-- Packs everything in a zip -->
<plugin>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<artifactId>
maven-assembly-plugin
</artifactId>
<configuration>
<version>
3.2.0
</version>
<archive>
<manifest>
<addClasspath>
true
</addClasspath>
<classpathPrefix>
lib/
</classpathPrefix>
<mainClass>
eu.simstadt.regionchooser.RegionChooserFX
</mainClass>
</manifest>
</archive>
<descriptors>
<descriptor>
${basedir}/buildConfig/assemblyDesc.xml
</descriptor>
</descriptors>
<finalName>
RegionChooser_${project.version}_${scmBranch}_${timestamp}_${buildNumber}
</finalName>
<appendAssemblyId>
false
</appendAssemblyId>
</configuration>
<executions>
<executions>
<execution>
<execution>
<id>
make-assembly
</id>
<!-- this is used for inheritance merges --
>
<id>
regionchooser
</id
>
<phase>
package
</phase>
<!-- bind to the packaging phase -->
<phase>
package
</phase>
<goals>
<goals>
<goal>
single
</goal>
<goal>
single
</goal>
</goals>
</goals>
<configuration>
<descriptors>
<descriptor>
${basedir}/buildConfig/assemblyDesc.xml
</descriptor>
</descriptors>
<finalName>
RegionChooser_${project.version}_${scmBranch}_${timestamp}_${buildNumber}
</finalName>
<appendAssemblyId>
false
</appendAssemblyId>
</configuration>
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets