You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Brown <da...@davidwbrown.name> on 2008/11/10 21:24:23 UTC

2 machines: Same svn repository, same pom.xml, same assembly.xml, same mvn. Different results!?

Hello Mavenites all, I have a project checked out new and a fresh: mvn -P dev.dir clean install. One developer gets the results of the command-line argument: -P dev.dir while I get only the individual application targets (jar files). What I should get is a jar with a /lib directory of all the dependencies as jars such that the application is a standalone command-line executable. The pom.xml (find snippet below) has a reference to the assembly.xml (please find below) with the packaging instructions. When I execute: mvn -P dev.dir clean install the console says a <target> directory is created but when I look in the Explorer there is no such directory. Is there someway to debug an assembly.xml? Please advise, David.

***********************************************
<profiles>
    <profile>
        <id>dev</id>
        <activation>
          <property>
            <name>dev</name>
          </property>
        </activation>
        <modules>
          <module>apps</module>
        </modules>  
    </profile>
<profiles>

**********************************************
<?xml version="1.0" encoding="UTF-8"?>
<assembly>
 <id>${build.target}</id>
 
 <formats>
    <format>zip</format>
 </formats>
 
 <includeBaseDirectory>false</includeBaseDirectory>
 <includeSiteDirectory>false</includeSiteDirectory>

 <moduleSets>
    <moduleSet>
      <includes>
        <include>fds-serv-app:*:jar</include>
      </includes>
      <excludes>
        <exclude>fds-serv-app:servicing-common:jar</exclude>
        <exclude>fds-serv-app:billing-common:jar</exclude>
      </excludes>
      <binaries>
	<includeDependencies>false</includeDependencies>
        <outputFileNameMapping>${module.artifactId}.${module.extension}</outputFileNameMapping>
        <outputDirectory></outputDirectory>
        <unpack>false</unpack>
      </binaries>
    </moduleSet>
  </moduleSets>
  
  <dependencySets>
    <dependencySet>
      <outputDirectory>lib</outputDirectory>
      <unpack>false</unpack>
    </dependencySet> 
  </dependencySets>
  
</assembly>


Yet some, not wise, go to the other side of the globe, to barbarous and unhealthy regions, and devote ten or twenty years, in that they may live,-that is, keep comfortably warm,- and die in New England at last. 

Henry David Thoreau - Walden - 1845

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