Hi,

I recently did not receive any Mails from the list..so I'm answering 
now.

Vincent, 

this sounds very interesting! Yesterday, I tried hours to compile the 
example program bundled with the nar plugin and got strange errors about 
not having specified any include files...but the project does not 
contain include files at all because its a hello world... I was really 
frustrated and almost gave up until I read your post. Could you probably 
provide your version with the applied patches or at least the patches 
themselves? This would be really helpful to get it working. I also need 
to apply some patches for enabling embedded support.

Rémy,

Do you also use it for Perl? Perl also uses a lot of libraries (.pm 
files e.g.)  and even perl make scripts sometimes. I couldn't find any 
maven plugin supporting perl projects. Do you have any idea if this is 
possible?

Jan

-----Ursprüngliche Nachricht-----
Von: Jan Wedel 
Gesendet: Dienstag, 11. August 2009 16:28
An: [email protected]
Betreff: AW: RE: AW: Re: AW: Re: Maven for Non-Java Projects

As stated before by John,

There is a PHP plugin. Moreover, I found a .NET plugin. For C, Fortran 
and C++, the NAR plugin can be used. The maven-native-plugin indeed 
seems to be discontinued and on the maven nar website, they say they 
created their plugin because the maven native plugin wasn't flexible 
enough.

As far as I can say, their procedure sound very interesting. They bundle 

Header and object files and POM in a zip file called .nar which can be 
used as any Java artifact in the repository.

Thats the theory. But I'd like to hear anybody who really used it, 
because most often, it's the small things that matter the most meaning 
that some small issues / missing features could have a drastic influence 

on the whole project workflow/ building process.


-----Ursprüngliche Nachricht-----
Von: Martin Gainty [mailto:[email protected]] 
Gesendet: Dienstag, 11. August 2009 15:37
An: [email protected]
Betreff: RE: AW: Re: AW: Re: Maven for Non-Java Projects


Since PHP,Python and even Perl (mod form or exe) are library or 
executable binaries
the only solution I can envision is to pass control to 
maven-antrun-plugin and have build.xml spawn some manner of make or c 
compiler for these modules

here is an example maven-antrun-plugin calling a build.xml with a 
specific target
http://maven.apache.org/plugins/maven-antrun-plugin/examples/classpaths.html

i would be interested in hearing other solutions 

*gruss*
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene 
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede 
unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. 
Diese Nachricht dient lediglich dem Austausch von Informationen und 
entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten 
Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt 
uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas 
le destinataire prévu, nous te demandons avec bonté que pour satisfaire 
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la 
copie de ceci est interdite. Ce message sert à l'information seulement 
et n'aura pas n'importe quel effet légalement obligatoire. Étant donné 
que les email peuvent facilement être sujets à la manipulation, nous ne 
pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Tue, 11 Aug 2009 13:34:02 +0200
> From: [email protected]
> To: [email protected]
> Subject: AW: Re: AW: Re: Maven for Non-Java Projects
> 
> 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]
> 

_________________________________________________________________
Windows Live: Keep your life in sync.
http://windowslive.com/explore?ocid=PID23384::T:WLMTAGL:ON:WL:en-US:NF_BR_sync:082009



---------------------------------------------------------------------
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