Thanks John! 

But our aim is not to use Maven at any cost. We are searching for a tool 
that can be used on many platforms and compilers.

Sometime we have one project ported to different languages and sometimes 
we have have a project that is composed of several sub-projects in 
different languages.

So, we are searching for a tool that can be triggered to build such a 
heterogeneous project. So, still the question is: Does Maven provide 
enough flexibility to support such a development environment as 
explained? Either by existing plug-in or by providing the necessary 
framework and structures to allow us writing own plugins.

What I mean is, are there any limitation in maven that would prevent 
writing and/or using native plugins while maintaining the terminology 
and structure of artifacts, groups, dependencies, repositories etc. 
together with C, Python and other languages.

Thanks,

Jan

-----Ursprüngliche Nachricht-----
Von: John Dunlap [mailto:[email protected]] 
Gesendet: Dienstag, 11. August 2009 13:18
An: Maven Users List
Betreff: Re: AW: Re: Maven for Non-Java Projects

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:[email protected]] 
> 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 <[email protected]> 
> 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 <[email protected]> 
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: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>       
>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to