One observation:
In "trunk\assembly\src\main\assembly\deployable.xml" file, I changed <format>zip</format> to <format>dir</format> and ran "mvn -o -e assembly:assembly" from the assembly directory. I got the following errors:
---------------------------------------------------------------------------------------------------------------------------
...
[INFO] [assembly:assembly]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating assembly: You must set at least one file.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error creating assembly:
You must set at least one file.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:559)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (Defau
ltLifecycleExecutor.java:458)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:219)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java :322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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:324)
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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error creating assemb
ly: You must set at least one file.
at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createAssembly(
AbstractAssemblyMojo.java:269)
at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.execute(Abstrac
tAssemblyMojo.java:241)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
... 16 more
Caused by: org.codehaus.plexus.archiver.ArchiverException: You must set at least
one file.
at org.codehaus.plexus.archiver.dir.DirectoryArchiver.createArchive(Dire
ctoryArchiver.java :56)
at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createArchive(A
bstractAssemblyMojo.java:383)
at org.apache.maven.plugin.assembly.AbstractAssemblyMojo.createAssembly(
AbstractAssemblyMojo.java :261)
... 19 more
---------------------------------------------------------------------------------------------------------------------------
Does this help?
- Shiva Kumar
On 7/3/06, Shiva Kumar H R <[EMAIL PROTECTED]> wrote:
Hi Sachin,
I too am facing the same problem as Donald during the assembly of Eclipse Plugin. I am building Revision 418691 of the trunk, using Sun JDK 1.4.2_08 & Maven 2.0.4 on a WinXP sp2 machine.
By the way, I am interested in contributing to Geronimo Eclipse Plugin. Last year I have done some work on Eclipse Plugin Development and I am comfortable with SWT, JFace and Plugin Development. Also, some of the work I did in Eclipse Drag and Drop got published here: http://www-128.ibm.com/developerworks/library/os-ecl-dragdrop/index.html
Last one week I have been browsing through the Geronimo Dev Mailing Lists, as well as JIRA, to figure out how I can contribute to the Eclipse plugin development. If you can point me to a few to-do items of immediate interest, I would be more than happy to pick them up and start working on them right away.
Thanks,Shiva Kumar
On 7/1/06, Sachin Patel < [EMAIL PROTECTED]> wrote:You have to invoke it manually as you've done. I haven't figured out
how to invoke a build+assembly in one step. As far as the file sizes
kevan saw the same problem, and we couldn't figure out why.
On Jun 30, 2006, at 5:15 PM, Donald Woods wrote:
> I just checked out Rev418113 of the Eclipse plugin trunk, started
> with a clean m2 repo and successfully got a "mvn install" to
> complete after several attempts.
>
> But, when I look in the assembly/ directory, no target/ directory
> was created. Is this expected?
>
> When I ran mvn from the assembly directory, it created a target
> directory, but the following zipfiles were only 22 bytes each -
> g-eclipse-plugin-1.1-deployable.zip
> g-eclipse-plugin-1.1-updatesite.zip
>
> I'm building on WinXP with Maven 2.0.4 and Sun Java 1.4.2_12-b03.
>
>
> -Donald
-sachin
