Need help with nar-maven-plugin?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

maven-nar
216 Stars 156 Forks Apache License 2.0 1.2K Commits 75 Opened issues

Description

Native ARchive plugin for Maven

Services available

!
?

Need anything else?

Contributors list

The NAR plugin for Maven allows you to compile native code (C++, C and Fortran) on a number of different architectures (Linux, Windows, MacOSX, Solaris, FreeBSD, ...) and with a number of different compilers/linkers (g++, Microsoft Visual C++, CC, ...) The output produced is wrapped up in Native ARchive files (.nar) some of which are machine independent (-noarch), while others are machine specific and thus depend on a combination of machine architecture(A), operating-system(O) and linker(L) identified as AOL. These nar files can be installed in the local Maven repository and deployed to a standard Maven (web) server, using the standard

maven-install-plugin
and
maven-deploy-plugin
.

Usage

In your POM:

    
        
            com.github.maven-nar
            nar-maven-plugin
            3.5.1
            true
            
                ...
            
        
    

Of course, it is recommended that you use the latest version.

What you put in the

 section will depend on your build;
for ideas, see:
* Working examples
* integration tests

Documentation

Community

What about maven-nar-plugin?

This is the official

maven-nar-plugin
project, renamed to
nar-maven-plugin
as per Apache Maven's requirements.

Alternatives and Complements

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.