Tried assembly. Missing some descriptor (of what?). Log below. Could you give an example of what I have to put in pom.xml for assembly to work?
Thanks! Leonid ======================================================================== === [EMAIL PROTECTED] /home/lilyevsk/workspace/lex $ m2 assembly:assembly [INFO] ------------------------------------------------------------------------ ---- [INFO] Building ets:lex:jar:1.0 [INFO] ------------------------------------------------------------------------ ---- [INFO] maven-jar-plugin: resolved to version 2.0-alpha-2 from local repository [INFO] maven-assembly-plugin: resolved to version 2.0-alpha-1 from local repository [INFO] [assembly:assembly] [INFO] ------------------------------------------------------------------------ ---- [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ ---- [ERROR] Cause: org.apache.maven.plugin.MojoExecutionException: Error creating assembly at org.apache.maven.plugin.assembly.AssemblyMojo.execute(AssemblyMojo.java: 118) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa nager.java:415) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.processGoals(Default LifecycleExecutor.java:169) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec ycleExecutor.java:90) at org.apache.maven.DefaultMaven.processProject(DefaultMaven.java:253) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:167) at org.apache.maven.cli.MavenCli.main(MavenCli.java:246) 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.plugin.MojoExecutionException: You must specify descriptor or descriptorId at org.apache.maven.plugin.assembly.AssemblyMojo.doExecute(AssemblyMojo.jav a:143) at org.apache.maven.plugin.assembly.AssemblyMojo.execute(AssemblyMojo.java: 113) ... 14 more [INFO] ------------------------------------------------------------------------ ---- [INFO] Total time: 1 second [INFO] Finished at: Wed May 18 11:56:45 EDT 2005 [INFO] Final Memory: 1M/73M [INFO] ------------------------------------------------------------------------ ---- -----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 17, 2005 7:49 PM To: Ilyevsky, Leonid (Equity Trading) Subject: Re: Pack the application On 5/18/05, Ilyevsky, Leonid (Equity Trading) <[EMAIL PROTECTED]> wrote: > I saw this plugin: > http://www.ibiblio.org/maven2/maven-plugins/maven-javaapp-plugin/ . > Is this what I need? If so, how do I use it? This is still a Maven 1 plugin (http://maven-plugins.sf.net). The assembly plugin in m2 does the same thing. It is used to build the Ant Artifact tasks JAR, and the main Maven distribution for example. http://maven.apache.org/maven2/plugins/ Cheers, Brett -------------------------------------------------------- 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]