Ping... :-)

Any help with this would be greatly appreciated and prevent me from having to 
revert to using Ant.

Thanks in advance!!!

Dave Wolf 


-----Original Message-----
From: Dave Wolf
Sent: Mon 4/16/2012 2:41 PM
To: [email protected]
Subject: maven-nar-plugin -- building libraries for both 32 & 64 Linux
 
Hi,

>From reading the documentation, I'm not quite following how to tell the 
>maven-nar-plugin to generate both 32 & 64 versions of my project's artifacts. 
>I'm running on a 64 bit Linux system, so it is successfully generating 
>amd64.Linux.g++ artifacts. How can I cause it to build for not only the 
>current build platform, but also i386-Linux-g++? 

One of pom files looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.mycompany</groupId>
  <artifactId>component-cpp-api</artifactId>
  <packaging>nar</packaging>
    
  <parent>
      <groupId>com.mycompany</groupId>
      <artifactId>securityservices-cpp</artifactId>
      <version>${component.version}</version>
  </parent>

  <dependencies>
        <dependency>
            <groupId>com.mycompany</groupId>
            <artifactId>component-cpp-validator</artifactId>
                <version>${component.version}</version>
                <type>nar</type>
        </dependency>
  </dependencies>

  <build>
      <plugins>
          <plugin>
              <groupId>net.mjahn</groupId>
              <artifactId>maven-nar-plugin</artifactId>
              <version>${maven-nar-plugin.version}</version>
              <extensions>true</extensions>
              <configuration>
                  <libraries>
                      <library>
                          <type>shared</type>
                      </library>
                  </libraries>
              </configuration>
          </plugin>
      </plugins>
  </build>

</project>

Thanks in advance!
Dave Wolf 




This electronic communication and any attachments may contain confidential and 
proprietary 
information of DigitalGlobe, Inc. If you are not the intended recipient, or an 
agent or employee 
responsible for delivering this communication to the intended recipient, or if 
you have received 
this communication in error, please do not print, copy, retransmit, disseminate 
or 
otherwise use the information. Please indicate to the sender that you have 
received this 
communication in error, and delete the copy you received. DigitalGlobe reserves 
the 
right to monitor any electronic communication sent or received by its 
employees, agents 
or representatives.

Reply via email to