Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 19f6f5c5

Přidáno uživatelem Pavel Fidranský před více než 5 roky(ů)

simplified ModuleLoader to load modules directly from classpath instead of special directory, modules are added to classpath as normal maven dependencies

Zobrazit rozdíly:

sources/imiger-spade-converter/pom.xml
19 19
        <plugins>
20 20
            <plugin>
21 21
                <groupId>org.apache.maven.plugins</groupId>
22
                <artifactId>maven-assembly-plugin</artifactId>
22
                <artifactId>maven-jar-plugin</artifactId>
23
                <version>3.1.1</version>
23 24
                <configuration>
24 25
                    <archive>
25
                        <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
26
                        <manifestSections>
27
                            <manifestSection>
28
                                <name>cz.zcu.kiv.imiger.plugin</name>
29
                                <manifestEntries>
30
                                    <Module-Class>cz.zcu.kiv.imiger.plugin.spade.Spade</Module-Class>
31
                                    <Module-Name>Spade JSON</Module-Name>
32
                                </manifestEntries>
33
                            </manifestSection>
34
                        </manifestSections>
26 35
                    </archive>
27
                    <descriptorRefs>
28
                        <descriptorRef>jar-with-dependencies</descriptorRef>
29
                    </descriptorRefs>
30 36
                </configuration>
31
                <executions>
32
                    <execution>
33
                        <id>make-assembly</id> <!-- this is used for inheritance merges -->
34
                        <phase>package</phase> <!-- bind to the packaging phase -->
35
                        <goals>
36
                            <goal>single</goal>
37
                        </goals>
38
                    </execution>
39
                </executions>
40 37
            </plugin>
41 38
        </plugins>
42 39
    </build>

Také k dispozici: Unified diff