cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Cayenne Modeler on OS X Build Failing?
Date Thu, 31 Dec 2015 14:49:13 GMT
Fixed. 'chmod-modeler-legacy' execution was a leftover that needed to be removed.

Andrus

> On Dec 31, 2015, at 7:03 AM, Michael Gentry <mgentry@masslight.net> wrote:
> 
> I'm assuming it is related to this section of assembly/pom.xml:
> 
>                            <execution>
>                                <id>chmod-modeler-legacy</id>
>                                <phase>package</phase>
>                                <goals>
>                                    <goal>exec</goal>
>                                </goals>
>                                <configuration>
>                                    <executable>/bin/chmod</executable>
>                                    <arguments>
>                                        <argument>755</argument>
> 
> <argument>target/cayenne-${project.version}-macosx/CayenneModeler-Java6-legacy.app/Contents/MacOS/JavaApplicationStub</argument>
>                                    </arguments>
>                                </configuration>
>                            </execution>
> 
> 
> 
> On Thu, Dec 31, 2015 at 6:47 AM, Michael Gentry <mgentry@masslight.net>
> wrote:
> 
>> Does CM build for anyone else on OS X?  I'm getting this when I try:
>> 
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:exec-maven-plugin:1.2:exec (chmod-modeler-legacy) on
>> project cayenne-assembly: Command execution failed. Process exited with an
>> error: 1(Exit value: 1) -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (chmod-modeler-legacy) on
>> project cayenne-assembly: Command execution failed.
>>    at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
>>    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:116)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>>    at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
>>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
>>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
>>    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
>>    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
>>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>    at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>    at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke(Method.java:497)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> Caused by: org.apache.maven.plugin.MojoExecutionException: Command
>> execution failed.
>>    at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:345)
>>    at
>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
>>    at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
>>    ... 20 more
>> Caused by: org.apache.commons.exec.ExecuteException: Process exited with
>> an error: 1(Exit value: 1)
>>    at
>> org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:346)
>>    at
>> org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:149)
>>    at
>> org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:589)
>>    at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:335)
>>    ... 22 more
>> 
>> 
>> Environment:
>> 
>> [mrg@loki 06:44:30] ~/Projects/cayenne> java -version
>> java version "1.8.0_45"
>> Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
>> Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
>> 
>> [mrg@loki 06:46:16] ~/Projects/cayenne> uname -a
>> Darwin loki.local 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56
>> PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
>> 
>> [mrg@loki 06:46:18] ~/Projects/cayenne> mvn -version
>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
>> 2015-11-10T11:41:47-05:00)
>> Maven home: /usr/local/Cellar/maven/3.3.9/libexec
>> Java version: 1.8.0_45, vendor: Oracle Corporation
>> Java home:
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre
>> Default locale: en_US, platform encoding: UTF-8
>> OS name: "mac os x", version: "10.11.2", arch: "x86_64", family: "mac"
>> 
>> 
>> 
>> Thanks,
>> 
>> mrg
>> 
>> 


Mime
View raw message