You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Mccabe, Julie Francesca [IT]" <ju...@citigroup.com> on 2006/06/20 18:40:22 UTC

C++

Hello,

I have done a few searches but could not find a conclusive claim that Maven supports C++ development?  I did come across a design document that mentioned support for C++, however I would like to know if Maven is used for C++ and how if there is any documentation ?

Regards,
Julie.

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


Re: C++

Posted by dan tran <da...@gmail.com>.
There are a couple of implementations

http://mojo.codehaus.org/maven-native/native-maven-plugin/<http://mojo.codehause.org/maven-native/maven-native-plugin>

http://java.freehep.org/freehep-nar-plugin

There are various discussions regarding native build with maven2, please
search the archive

-D

On 6/20/06, Mccabe, Julie Francesca [IT] <
julie.francesca.mccabe@citigroup.com> wrote:
>
> Hello,
>
> I have done a few searches but could not find a conclusive claim that
> Maven supports C++ development?  I did come across a design document that
> mentioned support for C++, however I would like to know if Maven is used for
> C++ and how if there is any documentation ?
>
> Regards,
> Julie.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: C++

Posted by TheJoshua <ja...@gmail.com>.

dan tran wrote:
> 
> 1. Manage C++ builds - YES but You need to experiment see if it works out
> for you.
>     how many platforms do you support?
> 

We used to develop in linux, using cross-compiling MinGW compilers to build
for Windows. 90% of our development is Win32. Yet, most of ours source-code
builds on Linux.

We are now completely reforming our building environment, de-centralizing
the build, and using Eclipse as an IDE, with CDT. We are looking for an
automated mode of building releases and organizing complex project
dependencies.


dan tran wrote:
> 
> 2. CVS/Sub   - YES  thru maven-scm
> 
> 

I believe I can have a lot of support here. Subversion is blooming.


dan tran wrote:
> 
> 3. Execution custom tools, YES thru maven-antrun-plugin or
> exec-maven-plugin
> 
> 

Can it be used to run C++ compilers?


dan tran wrote:
> 
> 4 Eclispe/Integration   NO
> 
> 

Damn... Is there a form of easily integrating Maven with easy-to-use tools,
so I can create project templates, build-it-all buttons,
update-the-version-of-this-library-and-build-the-whole-thing buttons, etc?


dan tran wrote:
> 
> 5. dream? almost there
> 
> 

Well, I think most of those things could be done by a reasonably viable,
home-made, scripting language automation tool.. But I would really like to
get mainstream about my tools. So, Maven is my greatest hope.
--
View this message in context: http://www.nabble.com/C%2B%2B-t1818748.html#a5015386
Sent from the Maven - Users forum at Nabble.com.


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


Re: C++

Posted by dan tran <da...@gmail.com>.
1. Manage C++ builds - YES but You need to experiment see if it works out
for you.
    how many platforms do you support?

2. CVS/Sub   - YES  thru maven-scm

3. Execution custom tools, YES thru maven-antrun-plugin or exec-maven-plugin

4 Eclispe/Integration   NO

5. dream? almost there


On 6/23/06, TheJoshua <ja...@gmail.com> wrote:
>
>
> I have been planning to adopt maven in my C++ development environment to
> provide build automation.
>
> We are planning to work building a set of interdepentent projects
> organized
> with Maven, and maybe abandoning make. I would like to know if there is a
> way of managing C++ builds (done with GNU g++), CVS/Subversion
> repositories,
> execution of custom tools (file encription, statistics, etc.) and IDE
> Integration (Eclipse), maybe removing the need of GNU make entirely.
>
> It´s a dream, isn´t it? Well, can I keep dreaming?
>
>
> John Casey-3 wrote:
> >
> > Currently, I'm involved with a project that is building C/C++ code using
> > Maven and Make. Basically, because of time pressures and the complexity
> of
> > autotools, we're orchestrating Make builds by resolving/installing
> > dependency packages, and using the POMs of dependencies for formulating
> > configuration options. I don't believe the maven compiler plugin
> natively
> > supports C++ yet - there is no cpp adapter implementation for the
> compiler
> > framework we're using - but it's not beyond reason that we could add
> this.
> >
> > Another thing I do hear about on a regular basis is the
> > native-maven-plugin
> > in the mojo project (http://mojo.codehaus.org,
> > http://svn.codehaus.org/mojo),
> > which should be approaching an alpha release soon. I'm not overly
> familiar
> > with how it works, but that's probably your best bet for getting started
> > with C++ development in Maven today.
> >
> > In fact, multi-language support is something the Maven development team
> is
> > going to be working on in the near future, in terms of broadening
> concepts
> > like artifact identity and so forth. You're not alone in requesting
> things
> > like this, FWIW.
> >
> > Can you elaborate on how you would imagine using Maven with your C++
> > projects?
> >
> > HTH,
> >
> > John
> >
> > On 6/20/06, Mccabe, Julie Francesca [IT] <
> > julie.francesca.mccabe@citigroup.com> wrote:
> >>
> >> Hello,
> >>
> >> I have done a few searches but could not find a conclusive claim that
> >> Maven supports C++ development?  I did come across a design document
> that
> >> mentioned support for C++, however I would like to know if Maven is
> used
> >> for
> >> C++ and how if there is any documentation ?
> >>
> >> Regards,
> >> Julie.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
> --
> View this message in context:
> http://www.nabble.com/C%2B%2B-t1818748.html#a5014608
> Sent from the Maven - Users forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: C++

Posted by TheJoshua <ja...@gmail.com>.
I have been planning to adopt maven in my C++ development environment to
provide build automation.

We are planning to work building a set of interdepentent projects organized
with Maven, and maybe abandoning make. I would like to know if there is a
way of managing C++ builds (done with GNU g++), CVS/Subversion repositories,
execution of custom tools (file encription, statistics, etc.) and IDE
Integration (Eclipse), maybe removing the need of GNU make entirely.

It´s a dream, isn´t it? Well, can I keep dreaming?


John Casey-3 wrote:
> 
> Currently, I'm involved with a project that is building C/C++ code using
> Maven and Make. Basically, because of time pressures and the complexity of
> autotools, we're orchestrating Make builds by resolving/installing
> dependency packages, and using the POMs of dependencies for formulating
> configuration options. I don't believe the maven compiler plugin natively
> supports C++ yet - there is no cpp adapter implementation for the compiler
> framework we're using - but it's not beyond reason that we could add this.
> 
> Another thing I do hear about on a regular basis is the
> native-maven-plugin
> in the mojo project (http://mojo.codehaus.org,
> http://svn.codehaus.org/mojo),
> which should be approaching an alpha release soon. I'm not overly familiar
> with how it works, but that's probably your best bet for getting started
> with C++ development in Maven today.
> 
> In fact, multi-language support is something the Maven development team is
> going to be working on in the near future, in terms of broadening concepts
> like artifact identity and so forth. You're not alone in requesting things
> like this, FWIW.
> 
> Can you elaborate on how you would imagine using Maven with your C++
> projects?
> 
> HTH,
> 
> John
> 
> On 6/20/06, Mccabe, Julie Francesca [IT] <
> julie.francesca.mccabe@citigroup.com> wrote:
>>
>> Hello,
>>
>> I have done a few searches but could not find a conclusive claim that
>> Maven supports C++ development?  I did come across a design document that
>> mentioned support for C++, however I would like to know if Maven is used
>> for
>> C++ and how if there is any documentation ?
>>
>> Regards,
>> Julie.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 
--
View this message in context: http://www.nabble.com/C%2B%2B-t1818748.html#a5014608
Sent from the Maven - Users forum at Nabble.com.


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


Re: C++

Posted by John Casey <ca...@gmail.com>.
Currently, I'm involved with a project that is building C/C++ code using
Maven and Make. Basically, because of time pressures and the complexity of
autotools, we're orchestrating Make builds by resolving/installing
dependency packages, and using the POMs of dependencies for formulating
configuration options. I don't believe the maven compiler plugin natively
supports C++ yet - there is no cpp adapter implementation for the compiler
framework we're using - but it's not beyond reason that we could add this.

Another thing I do hear about on a regular basis is the native-maven-plugin
in the mojo project (http://mojo.codehaus.org, http://svn.codehaus.org/mojo),
which should be approaching an alpha release soon. I'm not overly familiar
with how it works, but that's probably your best bet for getting started
with C++ development in Maven today.

In fact, multi-language support is something the Maven development team is
going to be working on in the near future, in terms of broadening concepts
like artifact identity and so forth. You're not alone in requesting things
like this, FWIW.

Can you elaborate on how you would imagine using Maven with your C++
projects?

HTH,

John

On 6/20/06, Mccabe, Julie Francesca [IT] <
julie.francesca.mccabe@citigroup.com> wrote:
>
> Hello,
>
> I have done a few searches but could not find a conclusive claim that
> Maven supports C++ development?  I did come across a design document that
> mentioned support for C++, however I would like to know if Maven is used for
> C++ and how if there is any documentation ?
>
> Regards,
> Julie.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

RE: C++

Posted by Brad Harper <br...@epsiia.com>.
Julie:

I've made my first attempts to use 'native-maven-plugin' this week and have
had some progress -- with Dan's help and patience.

Dan: I carefully reviewed the plugin configuration, corrected a problem,
and then compiled and linked a HelloWorld example (similar to the one in
it/)
on windows. I'm working on Linux and Solaris builds at this point. Baby
steps.

I intend to replace a crusty, unsupportable nest of Makefile's and scripts
with Maven to build a legacy, multi-platform product written in C/C++
(win32, Linux-x86, Solaris SPARC).

The effort's primary goals are movement of source files into a Subversion
repository and getting to some level of reliable continuous integration.
I figure that introducing Maven's Continuum or Cruise Control will be the
easy part.

Brad

-----Original Message-----
From: Mccabe, Julie Francesca [IT]
[mailto:julie.francesca.mccabe@citigroup.com]
Sent: Tuesday, June 20, 2006 11:40 AM
To: users@maven.apache.org
Subject: C++


Hello,

I have done a few searches but could not find a conclusive claim that Maven
supports C++ development?  I did come across a design document that
mentioned support for C++, however I would like to know if Maven is used for
C++ and how if there is any documentation ?

Regards,
Julie.

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