build error during distribution goal

88 views
Skip to first unread message

jhatak

unread,
Nov 17, 2011, 5:47:15 PM11/17/11
to openhab
Hi all,

I'd been successfully building openhab, until I had to create a new hg
clone. Using the steps in http://code.google.com/p/openhab/wiki/IDESetup
which I had used earlier, I keep hitting this error when doing a clean
install build. Anyone have any clues on what might be going wrong?
I've cloned the default revision.

Thx much!


[INFO] Resolving target platform for project MavenProject:
org.openhab.products:org.openhab.runtime.product:0.9.0-SNAPSHOT @ /
home/chaitanya/hlabs-master-osgi/src/sashab/products/
org.openhab.runtime.product/pom.xml
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building openHAB Distribution 0.9.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-assembly-plugin:2.2:single (default-cli) @
distribution ---
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 4:12.201s
[INFO] Finished at: Thu Nov 17 14:42:09 PST 2011
[INFO] Final Memory: 82M/196M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-
plugin:2.2:single (default-cli) on project distribution: Error reading
assemblies: No assembly descriptors found. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2:single
(default-cli) on project distribution: Error reading assemblies: No
assembly descriptors found.
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
217)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:
84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:
59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:
183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:
161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.apache.maven.plugin.MojoExecutionException: Error
reading assemblies: No assembly descriptors found.
at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:
388)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:
101)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
209)
... 19 more
Caused by: org.apache.maven.plugin.assembly.io.AssemblyReadException:
No assembly descriptors found.
at
org.apache.maven.plugin.assembly.io.DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:
186)
at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:
384)
... 21 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

jhatak

unread,
Nov 17, 2011, 6:27:25 PM11/17/11
to openhab
3rd time is the charm - finally built. Not sure what happened there.

On Nov 17, 2:47 pm, jhatak <cdupadh...@gmail.com> wrote:
> Hi all,
>
> I'd been successfully building openhab, until I had to create a new hg
> clone.  Using the steps inhttp://code.google.com/p/openhab/wiki/IDESetup

Chaitanya D. Upadhyay (चैतंया दत्त उपाध्याय)

unread,
Nov 18, 2011, 3:18:18 AM11/18/11
to ope...@googlegroups.com
AFAIR, it was from the root folder.  I'll keep an eye if I hit it again.

On Fri, Nov 18, 2011 at 12:15 AM, Kai Kreuzer <k...@openhab.org> wrote:
And I always thought Maven builds are reproducible...

Did you maybe launch mvn before from the distribution folder and this time from the root? It is looking for the deployment descriptor in src/assemble, so it has to be run from the root folder.

Regards,
Kai


Quoting jhatak <cdupa...@gmail.com>:

--
You received this message because you are subscribed to the Google  Groups "openhab" group.
To post to this group, send email to ope...@googlegroups.com.
To unsubscribe from this group, send email to  openhab+unsubscribe@googlegroups.com.
For more options, visit this group at  http://groups.google.com/group/openhab?hl=en.




--
You received this message because you are subscribed to the Google Groups "openhab" group.
To post to this group, send email to ope...@googlegroups.com.
To unsubscribe from this group, send email to openhab+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openhab?hl=en.


Kai Kreuzer

unread,
Nov 18, 2011, 3:15:34 AM11/18/11
to ope...@googlegroups.com
And I always thought Maven builds are reproducible...

Did you maybe launch mvn before from the distribution folder and this
time from the root? It is looking for the deployment descriptor in
src/assemble, so it has to be run from the root folder.

Regards,
Kai

Quoting jhatak <cdupa...@gmail.com>:

> --
> You received this message because you are subscribed to the Google
> Groups "openhab" group.
> To post to this group, send email to ope...@googlegroups.com.
> To unsubscribe from this group, send email to

> openhab+u...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages