Hi all guys,
I'm using the rpm-maven-plugin:2.1-alpha-1 and even if I specified the
<needarch>noarch</needarch>, the produced artifact name contains the
machine arch on which the artifact is produced (i.e.
${artifactId}-0.1-SNAPSHOT20110914105459.i386.rpm) instead of 'noarch'
What I'm doing wrong?
Follows below the rpm plugin configuration.
Many thanks in advance, all the best!
Simo

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>rpm-maven-plugin</artifactId>
        <version>2.1-alpha-1</version>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>rpm</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <!-- identification parameters -->
          <copyright>2011, ${project.organization.name}
(${project.organization.url})</copyright>
          <distribution>${project.version}
(${implementation.build})</distribution>
          <group>Applications/Engineering</group>
          <packager>${project.organization.name}</packager>
          <prefix>/XXX</prefix>
          <needarch>noarch</needarch>
          <targetOS>any</targetOS>
          <targetVendor>${project.organization.name}</targetVendor>
          <!-- operation parameters -->
          <defineStatements>
            <defineStatement>_unpackaged_files_terminate_build
0</defineStatement>
          </defineStatements>
          <!-- mapping parameters -->
          <mappings>
            <mapping>
              <directory>/XXX</directory>
              <sources>
                <source>

<location>${project.build.directory}/${project.artifactId}-${project.version}-service/NEST</location>
                </source>
              </sources>
            </mapping>
          </mappings>
        </configuration>
      </plugin>

http://people.apache.org/~simonetripodi/
http://www.99soft.org/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to