Version 1.0 is not the most recent release, but 1.1.1 is. Please check this 
version first.
 
-Robert
 
> Date: Tue, 29 Mar 2011 19:41:28 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [mojo-user] Appassembler leaving out project artifact from repo
> 
> Hi
> 
> I just double-checked and followed the steps at:
> http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/usage-program.html
> 
> After running
> mvn package appassembler:assemble
> I find my-app-1.0-SNAPSHOT.jar in the
> target\appassembler\repo\com\mycompany\app\my-app\1.0-SNAPSHOT folder.
> 
> Seems to work like it should.
> 
> On 2011-03-28 22:51, Daniel Dormont wrote:
> > This is what is perhaps a simple question about appassembler. I am using 
> > the "assemble" goal and everything is working correctly for the most part: 
> > all my dependencies get put in the repo, and the shell script is created 
> > with the right classpath. But here's the weird part - the JAR file of the 
> > project itself is not included in the repo. 
> > 
> > When I execute a clean, build, then appassembler:assemble, the artifact 
> > target/example-app-1.0-SNAPSHOT.jar is created, but it's not copied to 
> > target/appassembler/repo/com/example which it seems to me, it should be. 
> > What do I need to change to make it do that? Relevant part of POM is below.
> > 
> > Note: if it matters, I'm running all of this from NetBeans 6.9
> > 
> > thanks,
> > Dan
> > 
> > <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 
> > http://maven.apache.org/maven-v4_0_0.xsd";>
> > <modelVersion>4.0.0</modelVersion>
> > <groupId>com.example</groupId>
> > <artifactId>example-app</artifactId>
> > <packaging>jar</packaging>
> > <version>1.0-SNAPSHOT</version>
> > <name>example-app</name>
> > <url>http://maven.apache.org</url>
> > <build>
> > <plugins>
> > <plugin>
> > <groupId>org.apache.maven.plugins</groupId>
> > <artifactId>maven-compiler-plugin</artifactId>
> > <version>2.0.2</version>
> > <configuration>
> > <source>1.6</source>
> > <target>1.6</target>
> > </configuration>
> > </plugin>
> > <plugin>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>appassembler-maven-plugin</artifactId>
> > <version>1.0</version>
> > <configuration>
> > <programs>
> > <program>
> > <mainClass>com.example.app.App</mainClass>
> > <name>myShellScript</name>
> > </program>
> > </programs>
> > <platforms>
> > <platform>unix</platform>
> > </platforms>
> > </configuration>
> > </plugin>
> > 
> > </plugins>
> > </build>
> > <!-- dependencies and such here -->
> > </project>
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> > 
> > http://xircles.codehaus.org/manage_email
> > 
> > 
> > 
> 
> 
> -- 
> Dennis Lundberg
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
> http://xircles.codehaus.org/manage_email
> 
> 
                                          

Reply via email to