Brett, Please disregard my previous email, the deployment works despite the warning.
Now I am back trying to configure manifest. I am getting a null pointer. The log and a piece of my pom.xml below. Thanks! Leonid ================== [EMAIL PROTECTED] /home/lilyevsk/workspace/lex $ m2 install [INFO] ------------------------------------------------------------------------ ---- [INFO] Building null [INFO] ------------------------------------------------------------------------ ---- [INFO] maven-compiler-plugin: resolved to version 1.0-alpha-2-20050411.120835-1 from local repository [INFO] plexus-compiler-api: resolved to version 1.3-20050411.081334-1 from local repository [INFO] plexus-compiler: resolved to version 1.3-20050411.081334-1 from local repository [INFO] plexus-compiler-javac: resolved to version 1.3-20050411.081334-1 from local repository [INFO] plexus-compilers: resolved to version 1.3-20050411.081334-1 from local repository [INFO] plexus-compiler-test: resolved to version 1.3-20050411.081334-1 from local repository [INFO] maven-artifact-test: resolved to version 2.0-20050411.072903-1 from local repository [INFO] maven: resolved to version 2.0-20050407.164450-2 from local repository --------------------------------------------------- constituent[0]: file:/qsatools/tools/maven-2.0-alpha-1/lib/wagon-http-lightweight-1.0-al pha-2.jar constituent[1]: file:/qsatools/tools/maven-2.0-alpha-1/lib/wagon-provider-api-1.0-alpha- 2.jar constituent[2]: file:/qsatools/tools/maven-2.0-alpha-1/lib/marmalade-core-1.0-alpha-2.ja r constituent[3]: file:/qsatools/tools/maven-2.0-alpha-1/lib/commons-cli-1.0-beta-2.jar constituent[4]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-monitor-2.0-alpha-1.jar constituent[5]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-script-marmalade-2.0-al pha-1.jar constituent[6]: file:/qsatools/tools/maven-2.0-alpha-1/lib/plexus-container-artifact-1.0 -alpha-2.jar constituent[7]: file:/qsatools/tools/maven-2.0-alpha-1/lib/plexus-marmalade-factory-1.0- alpha-2.jar constituent[8]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-core-2.0-alpha-1.jar constituent[9]: file:/qsatools/tools/maven-2.0-alpha-1/lib/plexus-i18n-1.0-beta-3.jar constituent[10]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-artifact-2.0-alpha-1.ja r constituent[11]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-plugin-2.0-alpha-1.jar constituent[12]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-model-2.0-alpha-1.jar constituent[13]: file:/qsatools/tools/maven-2.0-alpha-1/lib/maven-settings-2.0-alpha-1.ja r --------------------------------------------------- org.apache.maven.reactor.ReactorException: Error executing project within the reactor at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:144) at org.apache.maven.cli.MavenCli.main(MavenCli.java:233) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:303) at org.codehaus.classworlds.Launcher.launch(Launcher.java:243) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:416) at org.codehaus.classworlds.Launcher.main(Launcher.java:363) Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Error during lifecycle execution at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:154) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:212) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:136) ... 9 more Caused by: java.lang.NullPointerException at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processPluginPhases( DefaultLifecycleExecutor.java:299) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processPluginConfigu ration(DefaultLifecycleExecutor.java:241) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:130) ... 11 more ================================================== <build> ........ <plugin> <artifactId>maven-jar-plugin</artifactId> <groupId>maven</groupId> <version>1.6.1</version> <configuration> <archive> <manifest> <mainClass>com.ml.ets.lex.Lex</mainClass> </manifest> </archive> </configuration> </plugin> </build> ===================================================== -----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, April 11, 2005 7:05 PM To: Maven Users List Subject: Re: Maven2 maven.jar properties For the JAR plugin: <configuration> <archive> <manifestFile>...</manifestFile> (not required to include the latter) <manifest> <mainClass>...</mainClass> </manifest> </archive> </configuration> see: manifest element: http://cvs.apache.org/viewcvs.cgi/maven-components/maven-archiver/src/ma in/java/org/apache/maven/archiver/ManifestConfiguration.java?rev=1.1&vie w=markup archive element: http://cvs.apache.org/viewcvs.cgi/maven-components/maven-archiver/src/ma in/java/org/apache/maven/archiver/MavenArchiveConfiguration.java?rev=1.1 &view=markup (we intend to include an automatic documentation generator for plugins in alpha-2) - Brett On Apr 12, 2005 5:14 AM, Ilyevsky, Leonid (Equity Trading) <[EMAIL PROTECTED]> wrote: > In maven2, how do I specify the classpath, main class for the manifest? > How I specify a manifest file to include? > -------------------------------------------------------- > > If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. http://www.ml.com/email_terms/ > -------------------------------------------------------- > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]