Hi, I've searched a lot and can't find any awnser so you are my last hope.
The problem I have is that I want a NSIS plugin for Maven 2.1 I've tried: http://mojo.codehaus.org/nsis-maven-plugin/examples/sample-nsis-project.html whcih I had to bouild from source with maven. But didn't get is to work ... Then I tried http://mindtreeinsight.sourceforge.net/releng/maven-nsis-plugin/index.html using the POM and jar found here: http://mindtreeinsight.svn.sourceforge.net/viewvc/mindtreeinsight/maven-repo/trunk/release/com/mindtree/techworks/insight/releng/maven-nsis-plugin/0.2.0-M1/ I install the plugin(the second one) like this: mvn install:install-file -Dfile=C:\maven\apache-maven-2.1.0\maven_plugins\newnsis\maven-nsis-plugin-0.2.0-M1.jar -DpomFile=C:\maven\apache-maven-2.1.0\maven_plugins\newnsis\maven-nsis-plugin-0.2.0-M1.pom I search around a little and findout that I need to update my projects pom.xml with insctuctions here: http://mindtreeinsight.sourceforge.net/releng/maven-nsis-plugin/0.1.0/usage.html So I get my pom.xml looking like this: <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.mycompany.app</groupId> <artifactId>my-app</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>my-app</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> <repositories> <repository> <id>maven-repo</id> <url>http://mindtreeinsight.svn.sourceforge.net/viewvc/mindtreeinsight/maven-repo/trunk/release</url> </repository> </repositories> <build> <plugins> <plugin> <groupId>com.mindtree.techworks.insight.releng</groupId> <artifactId>maven-nsis-plugin</artifactId> <version>0.2.0-M1</version> <configuration> <projectFile>target\</projectFile> </configuration> </plugin> </plugins> </build> </project> Now I get a new error from Maven, running mvn package: C:\Documents and Settings\bertlmik\my-app>mvn package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building my-app [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/com/mindtree/techworks/insight/parent /1.0.0/parent-1.0.0.pom [INFO] Unable to find resource 'com.mindtree.techworks.insight:parent:pom:1.0.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://mindtreeinsight.svn.sourceforge.net/viewvc/mindtreeinsight/m aven-repo/trunk/release/com/mindtree/techworks/insight/parent/1.0.0/parent-1.0.0 .pom [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin descriptor for the plugin Plugin [com.mindtree.techworks.insig ht.releng:maven-nsis-plugin] was not found. Please verify that the plugin JAR C: \Documents and Settings\bertlmik\.m2\repository\com\mindtree\techworks\insight\r eleng\maven-nsis-plugin\0.2.0-M1\maven-nsis-plugin-0.2.0-M1.jar is intact. [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.IllegalStateException: The plugin descriptor for the plugin Plugin [co m.mindtree.techworks.insight.releng:maven-nsis-plugin] was not found. Please ver ify that the plugin JAR C:\Documents and Settings\bertlmik\.m2\repository\com\mi ndtree\techworks\insight\releng\maven-nsis-plugin\0.2.0-M1\maven-nsis-plugin-0.2 .0-M1.jar is intact. at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginM anager.java:353) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De faultPluginManager.java:217) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:177) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExecutor.java:1517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifec ycle(DefaultLifecycleExecutor.java:1479) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycl eMappings(DefaultLifecycleExecutor.java:1245) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau ltLifecycleExecutor.java:518) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:371) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:332) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi fecycleExecutor.java:181) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137) at org.apache.maven.cli.MavenCli.main(MavenCli.java:356) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Tue Jun 30 14:45:02 CEST 2009 [INFO] Final Memory: 3M/7M [INFO] ------------------------------------------------------------------------ C:\Documents and Settings\bertlmik\my-app> I'm kind of new with Maven but if someone could point out what I doing wrong here and how to solve it I would be very thankfull. Which NSIS plugin should I use for Maven2? and HOW do I install it and use it? Thanks /Micke