geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: [DISCUSSION] How to compile GEP
Date Tue, 28 May 2013 15:14:12 GMT

On May 28, 2013, at 11:05 AM, Forrest Xia <forrestxm@gmail.com> wrote:

> What's your configuration on Mac OS?
> 
> Java version? In what module does the problem happen?

I've tried both Java 6 and Java 7. 

Java 6 fails with:

[INFO] ------------------------------------------------------------------------
[INFO] Building org.apache.geronimo.st.ui
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [eclipsepde:manifestbundles {execution: initialize}]
[INFO] [eclipsepde:install {execution: initialize}]
[INFO] org.eclipse.jface.text : 3.7.1-r371_v20110825-0800 already exists in local repository.
[INFO] org.eclipse.core.runtime : 3.7.0-v20110110 already exists in local repository.
[INFO] org.eclipse.jdt.debug.ui : 3.6.1-v20110803_r371 already exists in local repository.
[INFO] org.eclipse.ui.views : 3.6.0-I20110412-0800 already exists in local repository.
[INFO] org.eclipse.core.filebuffers : 3.5.200-v20110505-0800 already exists in local repository.
[INFO] org.eclipse.equinox.common : 3.6.0-v20110523 already exists in local repository.
[INFO] org.eclipse.wst.common.core : 1.2.0-v200908252030 already exists in local repository.
[INFO] org.eclipse.core.commands : 3.6.0-I20110111-0800 already exists in local repository.
[INFO] org.eclipse.wst.sse.ui : 1.3.1-v201108191312 already exists in local repository.
[INFO] org.eclipse.ui.forms : 3.5.100-v20110425 already exists in local repository.
[INFO] org.eclipse.ui.ide : 3.7.0-v20110809-1737 already exists in local repository.
[INFO] org.eclipse.ui.workbench.texteditor : 3.7.0-v20110505-0800 already exists in local
repository.
[INFO] org.eclipse.core.contenttype : 3.4.100-v20110423-0524 already exists in local repository.
[INFO] org.eclipse.jface : 3.7.0-I20110522-1430 already exists in local repository.
[INFO] org.eclipse.wst.xml.ui : 1.1.201-v201108151912 already exists in local repository.
[INFO] org.eclipse.wst.common.project.facet.core : 1.4.200-v201103170332 already exists in
local repository.
[INFO] org.eclipse.core.resources : 3.7.100-v20110510-0712 already exists in local repository.
[INFO] org.eclipse.equinox.preferences : 3.4.1-R37x_v20110725 already exists in local repository.
[INFO] org.eclipse.ltk.core.refactoring : 3.5.201-r371_v20110824-0800 already exists in local
repository.
[INFO] org.eclipse.jst.j2ee.web : 1.1.501-v201108231500 already exists in local repository.
[INFO] org.eclipse.jst.server.core : 1.2.202-v20110419 already exists in local repository.
[INFO] org.eclipse.debug.core : 3.7.0-v20110518 already exists in local repository.
[INFO] org.eclipse.jst.j2ee : 1.1.501-v201108231845 already exists in local repository.
[INFO] org.eclipse.debug.ui : 3.7.101-v20110817_r371 already exists in local repository.
[INFO] org.eclipse.wst.common.frameworks : 1.2.101-v201107192200 already exists in local repository.
[INFO] org.eclipse.equinox.registry : 3.5.101-R37x_v20110810-1611 already exists in local
repository.
[INFO] org.eclipse.wst.server.ui : 1.1.306-v20110823_1704 already exists in local repository.
[INFO] SWTFragment:  Dependency {groupId=org.eclipse.plugins, artifactId=org.eclipse.swt.cocoa.macosx,
version=null, type=jar}
[ERROR] Bundle for dependency not found: org.eclipse.swt.cocoa.macosx
[INFO] org.eclipse.swt : 3.7.1-v3738a already exists in local repository.
[INFO] org.eclipse.osgi : 3.7.1-R37x_v20110808-1106 already exists in local repository.
[INFO] org.eclipse.ui.editors : 3.7.0-v20110517-0800 already exists in local repository.
[INFO] org.eclipse.ui : 3.7.0-I20110602-0100 already exists in local repository.
[INFO] org.eclipse.wst.common.modulecore : 1.2.101-v201108231700 already exists in local repository.
[INFO] org.eclipse.ui.workbench : 3.7.0-I20110519-0100 already exists in local repository.
[INFO] org.eclipse.core.jobs : 3.5.100-v20110404 already exists in local repository.
[INFO] org.eclipse.jdt.launching : 3.6.1-v20110803_r371 already exists in local repository.
[INFO] org.eclipse.jdt.core : 3.7.1-v_B76_R37x already exists in local repository.
[INFO] org.eclipse.text : 3.5.101-r371_v20110810-0800 already exists in local repository.
[INFO] org.eclipse.equinox.app : 1.3.100-v20110321 already exists in local repository.
[INFO] org.eclipse.wst.server.core : 1.1.303-v20110816_1717 already exists in local repository.
[INFO] org.eclipse.wst.common.project.facet.ui : 1.4.200-v201103311536 already exists in local
repository.
[INFO] org.eclipse.jem.util : 2.1.100-v201103021400 already exists in local repository.
[INFO] [build-helper:parse-version {execution: parse-version}]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An invalid artifact was detected.

This artifact might be in your project's POM, or it might have been included transitively
during the resolution process. Here is the information we do have for this artifact:

    o GroupID:     org.eclipse.plugins
    o ArtifactID:  org.eclipse.swt.cocoa.macosx
    o Version:     <<< MISSING >>>
    o Type:        jar

On Java 7, I get:

[INFO] ------------------------------------------------------------------------
[INFO] Building org.apache.geronimo.runtime.common
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting file set: /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/target
(included: [**], excluded: [])
[INFO] Deleting file set: /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common
(included: [*.log], excluded: [])
[INFO] Deleting file set: /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/lib
(included: [**], excluded: [])
[INFO] [eclipsepde:manifestbundles {execution: initialize}]
[INFO] [eclipsepde:install {execution: initialize}]
[INFO] org.eclipse.core.jobs : 3.5.100-v20110404 already exists in local repository.
[INFO] org.eclipse.core.contenttype : 3.4.100-v20110423-0524 already exists in local repository.
[INFO] org.eclipse.core.runtime : 3.7.0-v20110110 already exists in local repository.
[INFO] org.eclipse.equinox.registry : 3.5.101-R37x_v20110810-1611 already exists in local
repository.
[INFO] org.eclipse.osgi : 3.7.1-R37x_v20110808-1106 already exists in local repository.
[INFO] org.eclipse.equinox.common : 3.6.0-v20110523 already exists in local repository.
[INFO] org.eclipse.equinox.preferences : 3.4.1-R37x_v20110725 already exists in local repository.
[INFO] org.eclipse.equinox.app : 1.3.100-v20110321 already exists in local repository.
[INFO] [build-helper:parse-version {execution: parse-version}]
[INFO] [antrun:run {execution: backup}]
[INFO] Executing tasks
     [copy] Copying 1 file to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/target
     [copy] Copying 1 file to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/target
     [copy] Warning: Could not find file /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/.options
to copy.
[INFO] Executed tasks
[INFO] [dependency:copy {execution: copy}]
[INFO] Configured Artifact: org.apache.geronimo.specs:geronimo-javaee-deployment_1.1MR3_spec:1.0.1:jar
[INFO] Configured Artifact: commons-logging:commons-logging:1.1.1:jar
[INFO] Configured Artifact: cglib:cglib-nodep:2.2:jar
[INFO] Configured Artifact: org.apache.geronimo.specs:geronimo-stax-api_1.2_spec:1.1:jar
[INFO] Configured Artifact: org.apache.geronimo.specs:geronimo-jaxb_2.2_spec:1.0.1:jar
[INFO] Configured Artifact: org.apache.geronimo.bundles:jaxb-impl:2.2.3-1_1:jar
[INFO] Configured Artifact: org.apache.geronimo.specs:geronimo-activation_1.1_spec:1.1:jar
[INFO] Copying geronimo-javaee-deployment_1.1MR3_spec-1.0.1.jar to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/lib/geronimo-javaee-deployment_1.1MR3_spec-1.0.1.jar
[INFO] Copying commons-logging-1.1.1.jar to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/lib/commons-logging-1.1.1.jar
[INFO] Copying cglib-nodep-2.2.jar to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/lib/cglib-nodep-2.2.jar
[INFO] Copying geronimo-stax-api_1.2_spec-1.1.jar to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/lib/geronimo-stax-api_1.2_spec-1.1.jar
[INFO] Copying geronimo-jaxb_2.2_spec-1.0.1.jar to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/lib/geronimo-jaxb_2.2_spec-1.0.1.jar
[INFO] Copying jaxb-impl-2.2.3-1_1.jar to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/lib/jaxb-impl-2.2.3-1_1.jar
[INFO] Copying geronimo-activation_1.1_spec-1.1.jar to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/lib/geronimo-activation_1.1_spec-1.1.jar
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO] Copying 7 resources to lib
[INFO] Copying 2 resources to META-INF
[INFO] Copying 2 resources to about_files
[INFO] Copying 1 resource to about_files
[INFO] Copying 1 resource to META-INF
[INFO] [eclipsepde:validatemanifest {execution: validate-bundle-classpath}]
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 1 source file to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/target/classes
[INFO] [antrun:run {execution: restore}]
[INFO] Executing tasks
     [copy] Copying 1 file to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common
     [copy] Copying 1 file to /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common
     [copy] Warning: Could not find file /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/target/.options
to copy.
[INFO] Executed tasks
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [replacer:replace {execution: default}]
[INFO] Replacement run on 1 file.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/target/org.apache.geronimo.runtime.common-3.0.1.jar
[INFO] [jar:sign {execution: default}]
[debug] jarsigner executable=[/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/bin/jarsigner]
[debug] Executing: /bin/sh -c "cd /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common
&& /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/bin/jarsigner
-verify /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/target/org.apache.geronimo.runtime.common-3.0.1.jar"
[warn] /bin/sh: /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/bin/jarsigner:
No such file or directory
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Result of /bin/sh -c "cd /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common
&& /Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home/jre/bin/jarsigner
-verify /Users/kevan/tmp/release/geronimo-eclipse-plugin-3.0.1/plugins/org.apache.geronimo.runtime.common/target/org.apache.geronimo.runtime.common-3.0.1.jar"
execution is: '127'.

--kevan
Mime
View raw message