Hello Brian, Yes I have tried all of that.
Here is the sample pom. <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.Testing.maven</groupId> <artifactId>sampleapp</artifactId> <packaging>par</packaging> <version>1.0-SNAPSHOT</version> <name>Embedded Solution</name> <url>http://google.com</url> <dependencies> <dependency> <groupId>Test</groupId> <artifactId>Test</artifactId> <version>0.0.1</version> </dependency> </dependencies> <pluginRepositories> <pluginRepository> <id>com.springsource.repository.bundles.milestone</id> <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Milestones</name> <url>http://repository.springsource.com/maven/bundles/milestone </url> </pluginRepository> </pluginRepositories> <build> <resources> <resource> <directory>.</directory> <includes> <include>app.xml</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-par-plugin</artifactId> <version>1.0.0.M1</version> <configuration> <applicationDescription>Testing Sample</applicationDescription> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jarsigner-plugin</artifactId> <version>1.2</version> <executions> <execution> <id>sign</id> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <keystore>[path]</keystore> <alias>Alias</alias> <storepass>storepass</storepass> <keypass>keypass</keypass> </configuration> </plugin> </plugins> </build> </project> Please let me know if there is any confusion in getting my requirement. Thanks, Tarun Khandelwal -- View this message in context: http://maven.40175.n5.nabble.com/How-to-Sign-a-par-file-through-Maven-tp5718722p5718725.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
