maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Dunlap <john.dun...@exceter.com>
Subject Re: AW: Re: Maven for Non-Java Projects
Date Tue, 11 Aug 2009 11:18:18 GMT
You could always try using something like the maven exec-maven-plugin to 
execute CMake (which supports generating project files for VS, XCode, 
and GCC from a common text file on Mac, Windows, and Linux).
http://www.cmake.org/

Jan Wedel wrote:
> Thanks for your answers!
>
> Where do you see most of the problems in including native compilers? I 
> means, in general Maven already supports a highly abstract object model 
> that does not have much in common with Java. So why is it complicated to 
> integrate another compiler?
>
>
> -----Urspr√ľngliche Nachricht-----
> Von: Brett Randall [mailto:javabrett@gmail.com] 
> Gesendet: Dienstag, 11. August 2009 02:11
> An: Maven Users List
> Betreff: Re: Maven for Non-Java Projects
>
> On Mon, Aug 10, 2009 at 10:50 PM, David Hoffer <dhoffer6@gmail.com> 
> wrote:
>
>   
>> We are currently using it for flex in addition to java, for flex the 
>>     
> builds
>   
>> work fine the only negative is the plugins that allow direct IDE
>> integration
>> are not as complete as they are for Java.
>>
>> Regarding C/C++ I have tried to use this in the past, I think I was 
>>     
> using
>   
>> the nar plugin but can't be sure.  There were a couple of 
>>     
> road-blocking
>   
>> bugs/missing-features that prevented us from using maven for these 
>>     
> types of
>   
>> projects.  If I recall correctly the issues were that it did not have
>> support for the new universal OSX binaries and on Windows you couldn't
>> specify the compiler version.  I.e. it would use whatever MSVC version 
>>     
> it
>   
>> found on the system, and we had to support multiple versions (this is
>> probably true on other platforms as well).  You could probably modify 
>>     
> the
>   
>> plugins when you find issues like these but I didn't go down that 
>>     
> path.
>   
>> (This was a couple+ years ago so if these are kept current they may be
>> fixed
>> by now.)
>>
>> -Dave
>>
>> On Mon, Aug 10, 2009 at 5:58 AM, Jan Wedel <Jan.Wedel@ettex.de> wrote:
>>
>>     
>>> Hi there!
>>>
>>> I already searched google for some help but it seems that it's not
>>> really common to use Maven for non-Java projects.
>>>
>>> However, we plan to be platform and language-independent by 
>>>       
> supporting
>   
>>> e.g. embedded Java, C, C++ and Python. The question is if it is 
>>>       
> feasible
>   
>>> to use Maven for all projects?
>>> I found the maven-native-plugin and maven-nar-plugin but I'm not 
>>>       
> really
>   
>>> sure if it supports everything that's needed. We are looking for a
>>> server-based central repository maintaining different projects and
>>> libraries in various languages.
>>>
>>> Can anybody who uses or used any of these or other plug-ins to 
>>>       
> support
>   
>>> non-Java projects please respond with some comments, hints, 
>>>       
> suggestions,
>   
>>> pro and cons etc. that might be helpful?
>>>
>>> Thanks a lot!
>>>
>>> Jan
>>>
>>>
>>>       
> ---------------------------------------------------------------------
>   
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>       
>
> I haven't yet had much joy with Maven-plugins for building 
> Windows-native
> DLLs from C++ using the MSVC compiler, so if anyone would like to 
> nominate
> their favorite plugin there.  native-mave-plugin seems out-of date or 
> not
> maintained for latest MSVC compiler versions?
>
> Brett
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message