You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Jörn Kottmann <ko...@gmail.com> on 2009/07/03 10:52:46 UTC

SimpleServer maven war build

Hi,

is there a reason why we do not use maven
to build the SimpleServer war file ?

Jörn

Re: SimpleServer maven war build

Posted by Jörn Kottmann <ko...@gmail.com>.
Thilo Goetz wrote:
> Jörn Kottmann wrote:
>   
>> Thilo Goetz wrote:
>>     
>>> Jörn Kottmann wrote:
>>>  
>>>       
>>>> Thilo Goetz wrote:
>>>>    
>>>>         
>>>>> Jörn Kottmann wrote:
>>>>>  
>>>>>      
>>>>>           
>>>>>> Hi,
>>>>>>
>>>>>> is there a reason why we do not use maven
>>>>>> to build the SimpleServer war file ?
>>>>>>
>>>>>> Jörn
>>>>>>             
>>>>>>             
>>>>> Sorry for the late reply.  The reason is probably
>>>>> that I originally contributed the SimpleServer, and
>>>>> I try to stay as far away from maven as I can.
>>>>> However, please feel free to add whatever you feel
>>>>> is best.
>>>>>         
>>>>>           
>>>> We could move the web.xml sample to src/main/webapp/WEB-INF and
>>>> change the packaging type to war then the build can produce a war
>>>> file.
>>>>
>>>> A user who wants to use the SimpleServer has now two options to built,
>>>> either with maven or with eclipse (which is easier because mvn
>>>> eclipse:eclipse works).
>>>>
>>>> What do you think ?
>>>>
>>>> Jörn
>>>>     
>>>>         
>>> Sorry, I have only recently started looking at the
>>> simple server again.
>>>
>>> I'm a bit confused by your question.  Are you suggesting
>>> we provide a sample pom for SimpleServer users which they
>>> can use to build individual SimpleServer analysis WARs?
>>>       
>> If I got it correctly then our users have to build the war file right
>> now them self to support their custom analysis engines. In the docs
>> its described how it can be done with eclipse.
>>
>> Thats why I thought we could provide a pom.xml which does that
>> job and then we simply distribute it as  a source project and users
>> built it completely them self, either with maven or with eclipse.
>>     
>
> Ok, let me rephrase what you're saying to make sure I
> understand you.  You're suggesting we create a project
> shell so to speak that has the simple server jar files
> in it.  Our users could take that project, drop in a
> pear file of their choice, adapt the web.xml and then
> build the whole thing with maven or eclipse.  Does that
> sound right?
>   

Yes, but the project shell could just be our source project,
assuming that people use maven to build the war file or
to set up the eclipse project.

Jörn

Re: SimpleServer maven war build

Posted by Thilo Goetz <tw...@gmx.de>.
Jörn Kottmann wrote:
> Thilo Goetz wrote:
>> Jörn Kottmann wrote:
>>  
>>> Thilo Goetz wrote:
>>>    
>>>> Jörn Kottmann wrote:
>>>>  
>>>>      
>>>>> Hi,
>>>>>
>>>>> is there a reason why we do not use maven
>>>>> to build the SimpleServer war file ?
>>>>>
>>>>> Jörn
>>>>>             
>>>> Sorry for the late reply.  The reason is probably
>>>> that I originally contributed the SimpleServer, and
>>>> I try to stay as far away from maven as I can.
>>>> However, please feel free to add whatever you feel
>>>> is best.
>>>>         
>>> We could move the web.xml sample to src/main/webapp/WEB-INF and
>>> change the packaging type to war then the build can produce a war
>>> file.
>>>
>>> A user who wants to use the SimpleServer has now two options to built,
>>> either with maven or with eclipse (which is easier because mvn
>>> eclipse:eclipse works).
>>>
>>> What do you think ?
>>>
>>> Jörn
>>>     
>>
>> Sorry, I have only recently started looking at the
>> simple server again.
>>
>> I'm a bit confused by your question.  Are you suggesting
>> we provide a sample pom for SimpleServer users which they
>> can use to build individual SimpleServer analysis WARs?
> If I got it correctly then our users have to build the war file right
> now them self to support their custom analysis engines. In the docs
> its described how it can be done with eclipse.
> 
> Thats why I thought we could provide a pom.xml which does that
> job and then we simply distribute it as  a source project and users
> built it completely them self, either with maven or with eclipse.

Ok, let me rephrase what you're saying to make sure I
understand you.  You're suggesting we create a project
shell so to speak that has the simple server jar files
in it.  Our users could take that project, drop in a
pear file of their choice, adapt the web.xml and then
build the whole thing with maven or eclipse.  Does that
sound right?

--Thilo

>> Or are you suggesting we pre-build a sample WAR with the
>> whitespace tokenizer and distribute that?
>>   
> Not sure if that makes sense, but maybe that could be the default
> case of our sample pom.
> 
> Jörn

Re: SimpleServer maven war build

Posted by Jörn Kottmann <ko...@gmail.com>.
Thilo Goetz wrote:
> Jörn Kottmann wrote:
>   
>> Thilo Goetz wrote:
>>     
>>> Jörn Kottmann wrote:
>>>  
>>>       
>>>> Hi,
>>>>
>>>> is there a reason why we do not use maven
>>>> to build the SimpleServer war file ?
>>>>
>>>> Jörn
>>>>     
>>>>         
>>> Sorry for the late reply.  The reason is probably
>>> that I originally contributed the SimpleServer, and
>>> I try to stay as far away from maven as I can.
>>> However, please feel free to add whatever you feel
>>> is best.
>>>   
>>>       
>> We could move the web.xml sample to src/main/webapp/WEB-INF and
>> change the packaging type to war then the build can produce a war
>> file.
>>
>> A user who wants to use the SimpleServer has now two options to built,
>> either with maven or with eclipse (which is easier because mvn
>> eclipse:eclipse works).
>>
>> What do you think ?
>>
>> Jörn
>>     
>
> Sorry, I have only recently started looking at the
> simple server again.
>
> I'm a bit confused by your question.  Are you suggesting
> we provide a sample pom for SimpleServer users which they
> can use to build individual SimpleServer analysis WARs?
If I got it correctly then our users have to build the war file right
now them self to support their custom analysis engines. In the docs
its described how it can be done with eclipse.

Thats why I thought we could provide a pom.xml which does that
job and then we simply distribute it as  a source project and users
built it completely them self, either with maven or with eclipse.
> Or are you suggesting we pre-build a sample WAR with the
> whitespace tokenizer and distribute that?
>   
Not sure if that makes sense, but maybe that could be the default
case of our sample pom.

Jörn

Re: SimpleServer maven war build

Posted by Thilo Goetz <tw...@gmx.de>.
Jörn Kottmann wrote:
> Thilo Goetz wrote:
>> Jörn Kottmann wrote:
>>  
>>> Hi,
>>>
>>> is there a reason why we do not use maven
>>> to build the SimpleServer war file ?
>>>
>>> Jörn
>>>     
>>
>> Sorry for the late reply.  The reason is probably
>> that I originally contributed the SimpleServer, and
>> I try to stay as far away from maven as I can.
>> However, please feel free to add whatever you feel
>> is best.
>>   
> We could move the web.xml sample to src/main/webapp/WEB-INF and
> change the packaging type to war then the build can produce a war
> file.
> 
> A user who wants to use the SimpleServer has now two options to built,
> either with maven or with eclipse (which is easier because mvn
> eclipse:eclipse works).
> 
> What do you think ?
> 
> Jörn

Sorry, I have only recently started looking at the
simple server again.

I'm a bit confused by your question.  Are you suggesting
we provide a sample pom for SimpleServer users which they
can use to build individual SimpleServer analysis WARs?

Or are you suggesting we pre-build a sample WAR with the
whitespace tokenizer and distribute that?

--Thilo


Re: SimpleServer maven war build

Posted by Jörn Kottmann <ko...@gmail.com>.
Thilo Goetz wrote:
> Jörn Kottmann wrote:
>   
>> Hi,
>>
>> is there a reason why we do not use maven
>> to build the SimpleServer war file ?
>>
>> Jörn
>>     
>
> Sorry for the late reply.  The reason is probably
> that I originally contributed the SimpleServer, and
> I try to stay as far away from maven as I can.
> However, please feel free to add whatever you feel
> is best.
>   
We could move the web.xml sample to src/main/webapp/WEB-INF and
change the packaging type to war then the build can produce a war
file.

A user who wants to use the SimpleServer has now two options to built,
either with maven or with eclipse (which is easier because mvn 
eclipse:eclipse works).

What do you think ?

Jörn

Re: SimpleServer maven war build

Posted by Thilo Goetz <tw...@gmx.de>.
Jörn Kottmann wrote:
> Hi,
> 
> is there a reason why we do not use maven
> to build the SimpleServer war file ?
> 
> Jörn

Sorry for the late reply.  The reason is probably
that I originally contributed the SimpleServer, and
I try to stay as far away from maven as I can.
However, please feel free to add whatever you feel
is best.

--Thilo