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

Hugo Mougard edited comment on UIMA-3385 at 4/19/14 2:21 AM:
-------------------------------------------------------------

I just read the section on packaging and that is great - exactly what was 
needed.

Maybe it would also be possible to include what to do to produce an executable 
"slim jar" :
{code:xml|title=pom.xml}
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                            
<classpathLayoutType>repository</classpathLayoutType>
                            
<classpathPrefix>${settings.localRepository}</classpathPrefix>
                            <mainClass>myClass</mainClass>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
{code}
I'm not sure if it's really important but it would have been useful to me some 
times ago.

Cheers


was (Author: m09):
I just read the section on packaging and that is great - exactly what was 
needed.

Maybe it would also be possible to include what to do to produce an executable 
"slim jar" :
{code:xml|title=pom.xml}
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.4</version>
                <configuration>
                    <archive>
                        <manifest>
                            <addClasspath>true</addClasspath>
                            
<classpathLayoutType>repository</classpathLayoutType>
                            
<classpathPrefix>${settings.localRepository}</classpathPrefix>
                        </manifest>
                    </archive>
                </configuration>
            </plugin>
{code}
I'm not sure if it's really important but it would have been useful to me some 
times ago.

Cheers

> Make meta data discovery compatible with fat jars
> -------------------------------------------------
>
>                 Key: UIMA-3385
>                 URL: https://issues.apache.org/jira/browse/UIMA-3385
>             Project: UIMA
>          Issue Type: Improvement
>          Components: uimaFIT
>    Affects Versions: 2.0.0uimaFIT
>            Reporter: Richard Eckart de Castilho
>            Assignee: Richard Eckart de Castilho
>            Priority: Minor
>             Fix For: 2.0.1uimaFIT
>
>
> Most fat jar approaches, e.g. Maven assembly, have problems with resources at 
> the same location in the classpath in multiple JARs. E.g. if two JARs being 
> bundled into a fat jar have a types.txt file, only one survives. 
> One option to fix this would be to change the pattern that uimaFIT uses to 
> search for these files, e.g. from 
> classpath*:META-INF/org.apache.uima.fit/types.txt to 
> classpath*:META-INF/org.apache.uima.fit/**/types.txt



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to