[jira] Created: (CAMEL-2378) Maven build not installing camel-spring-2.2-SNAPSHOT-tests

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (CAMEL-2378) Maven build not installing camel-spring-2.2-SNAPSHOT-tests

JIRA jira@apache.org
Maven build not installing camel-spring-2.2-SNAPSHOT-tests
----------------------------------------------------------

                 Key: CAMEL-2378
                 URL: https://issues.apache.org/activemq/browse/CAMEL-2378
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 2.2.0
         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
Java version: 1.6.0_17
Java home: /opt/sun-jdk-1.6.0.17/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux" version: "2.6.31-gentoo-r6" arch: "amd64" Family: "unix"
            Reporter: Chris Love


I am running mvn install -Dmaven.test.skip=true and I am getting the following error

Missing:
----------
1) org.apache.camel:camel-spring:test-jar:tests:2.2-SNAPSHOT

The pom for camel-spring has a plug-in section for creating the test jar, but it is not getting installed.

I am getting the following output running mvn -e

Interesting part:
 [INFO] Skipping packaging of the test-jar


Full output
--------------------------------
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Camel :: Spring
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
[INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
[INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-impl-2.1.5-dev.pom
[INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
[INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
[INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
[INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-xjc-2.1.5-dev.pom
[INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
[INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
[INFO] [antrun:run {execution: create-prop}]
[INFO] Executing tasks
     [echo] Maven version: 2.2-SNAPSHOT
     [echo] OSGi version: 2.2.0.SNAPSHOT
[INFO] Executed tasks
[INFO] [properties:read-project-properties {execution: default}]
[INFO] [antrun:run {execution: process-sources}]
[INFO] Executing tasks
     [echo] Copying to code together for the XSD generation
     [echo] Generating XSD schema
[schemagen] Generating schema from 142 source files
     [copy] Copying 1 file to /data/workspace/camel/components/camel-spring/target/schema
[INFO] Executed tasks
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 10 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources {execution: default-testResources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 290 resources
[INFO] Copying 3 resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] Not compiling test sources
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [bundle:bundle {execution: default-bundle}]
[INFO] [antrun:run {execution: package}]
[INFO] Executing tasks
     [echo] Deleting unwanted resources from the test-jar
   [delete] Deleting: /data/workspace/camel/components/camel-spring/target/test-classes/log4j.properties
[INFO] Executed tasks
[INFO] [jar:test-jar {execution: default}]
[INFO] Skipping packaging of the test-jar
[INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
[INFO] [ianal:verify-legal-files {execution: default}]
[INFO] Checking legal files in: camel-spring-2.2-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /data/workspace/camel/components/camel-spring/target/camel-spring-2.2-SNAPSHOT.jar to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
[INFO] Installing /data/workspace/camel/components/camel-spring/target/schema/camel-spring.xsd to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.xsd
[INFO] [bundle:install {execution: default-install}]
[INFO] Parsing file:/home/clove/.m2/repository/repository.xml
[INFO] Installing org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57 seconds
[INFO] Finished at: Mon Jan 18 11:57:54 MST 2010
[INFO] Final Memory: 57M/186M
[INFO] ------------------------------------------------------------------------



--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-2378) Maven build not installing camel-spring-2.2-SNAPSHOT-tests

JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56977#action_56977 ]

Chris Love commented on CAMEL-2378:
-----------------------------------

Another note.  I tried to run mvn install w/o skipping tests, and I am getting multiple compilation missing symbol errors:


[INFO] Compilation failure

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringLogProcessorTest.java:[20,33] cannot find symbol
symbol  : class LogProcessorTest
location: package org.apache.camel.processor

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringLogProcessorTest.java:[24,44] cannot find symbol
symbol: class LogProcessorTest
public class SpringLogProcessorTest extends LogProcessorTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringPublishEventNotifierTest.java:[20,34] cannot find symbol
symbol  : class PublishEventNotifierTest
location: package org.apache.camel.management

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringPublishEventNotifierTest.java:[27,52] cannot find symbol
symbol: class PublishEventNotifierTest
public class SpringPublishEventNotifierTest extends PublishEventNotifierTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringDualLoggingEventNotifierTest.java:[20,34] cannot find symbol
symbol  : class LoggingEventNotifierTest
location: package org.apache.camel.management

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringDualLoggingEventNotifierTest.java:[27,56] cannot find symbol
symbol: class LoggingEventNotifierTest
public class SpringDualLoggingEventNotifierTest extends LoggingEventNotifierTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/file/SpringFileConsumerPreMoveIssueTest.java:[20,38] cannot find symbol
symbol  : class FileConsumerPreMoveIssueTest
location: package org.apache.camel.component.file

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/file/SpringFileConsumerPreMoveIssueTest.java:[27,56] cannot find symbol
symbol: class FileConsumerPreMoveIssueTest
public class SpringFileConsumerPreMoveIssueTest extends FileConsumerPreMoveIssueTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringLoggingEventNotifierTest.java:[20,34] cannot find symbol
symbol  : class LoggingEventNotifierTest
location: package org.apache.camel.management

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringLoggingEventNotifierTest.java:[27,52] cannot find symbol
symbol: class LoggingEventNotifierTest
public class SpringLoggingEventNotifierTest extends LoggingEventNotifierTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownCompleteAllTasksTest.java:[20,33] cannot find symbol
symbol  : class ShutdownCompleteAllTasksTest
location: package org.apache.camel.processor

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownCompleteAllTasksTest.java:[27,56] cannot find symbol
symbol: class ShutdownCompleteAllTasksTest
public class SpringShutdownCompleteAllTasksTest extends ShutdownCompleteAllTasksTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownNotDeferTest.java:[20,33] cannot find symbol
symbol  : class ShutdownNotDeferTest
location: package org.apache.camel.processor

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownNotDeferTest.java:[27,48] cannot find symbol
symbol: class ShutdownNotDeferTest
public class SpringShutdownNotDeferTest extends ShutdownNotDeferTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownCompleteCurrentTaskOnlyTest.java:[20,33] cannot find symbol
symbol  : class ShutdownCompleteCurrentTaskOnlyTest
location: package org.apache.camel.processor

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownCompleteCurrentTaskOnlyTest.java:[27,63] cannot find symbol
symbol: class ShutdownCompleteCurrentTaskOnlyTest
public class SpringShutdownCompleteCurrentTaskOnlyTest extends ShutdownCompleteCurrentTaskOnlyTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownDeferTest.java:[20,33] cannot find symbol
symbol  : class ShutdownDeferTest
location: package org.apache.camel.processor

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownDeferTest.java:[27,45] cannot find symbol
symbol: class ShutdownDeferTest
public class SpringShutdownDeferTest extends ShutdownDeferTest {

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringLogProcessorTest.java:[27,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in LogProcessorTest cannot be applied to (org.apache.camel.spring.processor.SpringLogProcessorTest,java.lang.String)

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringPublishEventNotifierTest.java:[30,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in PublishEventNotifierTest cannot be applied to (org.apache.camel.spring.management.SpringPublishEventNotifierTest,java.lang.String)

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringDualLoggingEventNotifierTest.java:[30,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in LoggingEventNotifierTest cannot be applied to (org.apache.camel.spring.management.SpringDualLoggingEventNotifierTest,java.lang.String)

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/file/SpringFileConsumerPreMoveIssueTest.java:[30,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in FileConsumerPreMoveIssueTest cannot be applied to (org.apache.camel.spring.file.SpringFileConsumerPreMoveIssueTest,java.lang.String)

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/management/SpringLoggingEventNotifierTest.java:[30,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in LoggingEventNotifierTest cannot be applied to (org.apache.camel.spring.management.SpringLoggingEventNotifierTest,java.lang.String)

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownCompleteAllTasksTest.java:[30,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in ShutdownCompleteAllTasksTest cannot be applied to (org.apache.camel.spring.processor.SpringShutdownCompleteAllTasksTest,java.lang.String)

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownNotDeferTest.java:[30,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in ShutdownNotDeferTest cannot be applied to (org.apache.camel.spring.processor.SpringShutdownNotDeferTest,java.lang.String)

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownCompleteCurrentTaskOnlyTest.java:[30,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in ShutdownCompleteCurrentTaskOnlyTest cannot be applied to (org.apache.camel.spring.processor.SpringShutdownCompleteCurrentTaskOnlyTest,java.lang.String)

/data/workspace/camel/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringShutdownDeferTest.java:[30,15] createSpringCamelContext(org.apache.camel.ContextTestSupport,java.lang.String) in ShutdownDeferTest cannot be applied to (org.apache.camel.spring.processor.SpringShutdownDeferTest,java.lang.String)





> Maven build not installing camel-spring-2.2-SNAPSHOT-tests
> ----------------------------------------------------------
>
>                 Key: CAMEL-2378
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2378
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.2.0
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
> Java version: 1.6.0_17
> Java home: /opt/sun-jdk-1.6.0.17/jre
> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> OS name: "linux" version: "2.6.31-gentoo-r6" arch: "amd64" Family: "unix"
>            Reporter: Chris Love
>
> I am running mvn install -Dmaven.test.skip=true and I am getting the following error
> Missing:
> ----------
> 1) org.apache.camel:camel-spring:test-jar:tests:2.2-SNAPSHOT
> The pom for camel-spring has a plug-in section for creating the test jar, but it is not getting installed.
> I am getting the following output running mvn -e
> Interesting part:
>  [INFO] Skipping packaging of the test-jar
> Full output
> --------------------------------
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Camel :: Spring
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> [INFO] [antrun:run {execution: create-prop}]
> [INFO] Executing tasks
>      [echo] Maven version: 2.2-SNAPSHOT
>      [echo] OSGi version: 2.2.0.SNAPSHOT
> [INFO] Executed tasks
> [INFO] [properties:read-project-properties {execution: default}]
> [INFO] [antrun:run {execution: process-sources}]
> [INFO] Executing tasks
>      [echo] Copying to code together for the XSD generation
>      [echo] Generating XSD schema
> [schemagen] Generating schema from 142 source files
>      [copy] Copying 1 file to /data/workspace/camel/components/camel-spring/target/schema
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 10 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 290 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [antrun:run {execution: package}]
> [INFO] Executing tasks
>      [echo] Deleting unwanted resources from the test-jar
>    [delete] Deleting: /data/workspace/camel/components/camel-spring/target/test-classes/log4j.properties
> [INFO] Executed tasks
> [INFO] [jar:test-jar {execution: default}]
> [INFO] Skipping packaging of the test-jar
> [INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
> [INFO] [ianal:verify-legal-files {execution: default}]
> [INFO] Checking legal files in: camel-spring-2.2-SNAPSHOT.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/camel-spring-2.2-SNAPSHOT.jar to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/schema/camel-spring.xsd to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.xsd
> [INFO] [bundle:install {execution: default-install}]
> [INFO] Parsing file:/home/clove/.m2/repository/repository.xml
> [INFO] Installing org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 57 seconds
> [INFO] Finished at: Mon Jan 18 11:57:54 MST 2010
> [INFO] Final Memory: 57M/186M
> [INFO] ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-2378) Maven build not installing camel-spring-2.2-SNAPSHOT-tests

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56978#action_56978 ]

Jonathan Anstey commented on CAMEL-2378:
----------------------------------------

The compile error should be fixed by recompiling camel-core maybe?

To skip tests use the following command (this will create the -test jar that the rest of the build needs):
{code}
 mvn clean install -DskipTests
{code}

> Maven build not installing camel-spring-2.2-SNAPSHOT-tests
> ----------------------------------------------------------
>
>                 Key: CAMEL-2378
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2378
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.2.0
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
> Java version: 1.6.0_17
> Java home: /opt/sun-jdk-1.6.0.17/jre
> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> OS name: "linux" version: "2.6.31-gentoo-r6" arch: "amd64" Family: "unix"
>            Reporter: Chris Love
>
> I am running mvn install -Dmaven.test.skip=true and I am getting the following error
> Missing:
> ----------
> 1) org.apache.camel:camel-spring:test-jar:tests:2.2-SNAPSHOT
> The pom for camel-spring has a plug-in section for creating the test jar, but it is not getting installed.
> I am getting the following output running mvn -e
> Interesting part:
>  [INFO] Skipping packaging of the test-jar
> Full output
> --------------------------------
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Camel :: Spring
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> [INFO] [antrun:run {execution: create-prop}]
> [INFO] Executing tasks
>      [echo] Maven version: 2.2-SNAPSHOT
>      [echo] OSGi version: 2.2.0.SNAPSHOT
> [INFO] Executed tasks
> [INFO] [properties:read-project-properties {execution: default}]
> [INFO] [antrun:run {execution: process-sources}]
> [INFO] Executing tasks
>      [echo] Copying to code together for the XSD generation
>      [echo] Generating XSD schema
> [schemagen] Generating schema from 142 source files
>      [copy] Copying 1 file to /data/workspace/camel/components/camel-spring/target/schema
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 10 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 290 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [antrun:run {execution: package}]
> [INFO] Executing tasks
>      [echo] Deleting unwanted resources from the test-jar
>    [delete] Deleting: /data/workspace/camel/components/camel-spring/target/test-classes/log4j.properties
> [INFO] Executed tasks
> [INFO] [jar:test-jar {execution: default}]
> [INFO] Skipping packaging of the test-jar
> [INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
> [INFO] [ianal:verify-legal-files {execution: default}]
> [INFO] Checking legal files in: camel-spring-2.2-SNAPSHOT.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/camel-spring-2.2-SNAPSHOT.jar to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/schema/camel-spring.xsd to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.xsd
> [INFO] [bundle:install {execution: default-install}]
> [INFO] Parsing file:/home/clove/.m2/repository/repository.xml
> [INFO] Installing org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 57 seconds
> [INFO] Finished at: Mon Jan 18 11:57:54 MST 2010
> [INFO] Final Memory: 57M/186M
> [INFO] ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-2378) Maven build not installing camel-spring-2.2-SNAPSHOT-tests

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56979#action_56979 ]

Chris Love commented on CAMEL-2378:
-----------------------------------

Still getting the same compilation errors w/ the latest camel-core installed. Running -DskipTests did not work because it still tried to compile the test classes.

> Maven build not installing camel-spring-2.2-SNAPSHOT-tests
> ----------------------------------------------------------
>
>                 Key: CAMEL-2378
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2378
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.2.0
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
> Java version: 1.6.0_17
> Java home: /opt/sun-jdk-1.6.0.17/jre
> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> OS name: "linux" version: "2.6.31-gentoo-r6" arch: "amd64" Family: "unix"
>            Reporter: Chris Love
>
> I am running mvn install -Dmaven.test.skip=true and I am getting the following error
> Missing:
> ----------
> 1) org.apache.camel:camel-spring:test-jar:tests:2.2-SNAPSHOT
> The pom for camel-spring has a plug-in section for creating the test jar, but it is not getting installed.
> I am getting the following output running mvn -e
> Interesting part:
>  [INFO] Skipping packaging of the test-jar
> Full output
> --------------------------------
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Camel :: Spring
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> [INFO] [antrun:run {execution: create-prop}]
> [INFO] Executing tasks
>      [echo] Maven version: 2.2-SNAPSHOT
>      [echo] OSGi version: 2.2.0.SNAPSHOT
> [INFO] Executed tasks
> [INFO] [properties:read-project-properties {execution: default}]
> [INFO] [antrun:run {execution: process-sources}]
> [INFO] Executing tasks
>      [echo] Copying to code together for the XSD generation
>      [echo] Generating XSD schema
> [schemagen] Generating schema from 142 source files
>      [copy] Copying 1 file to /data/workspace/camel/components/camel-spring/target/schema
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 10 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 290 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [antrun:run {execution: package}]
> [INFO] Executing tasks
>      [echo] Deleting unwanted resources from the test-jar
>    [delete] Deleting: /data/workspace/camel/components/camel-spring/target/test-classes/log4j.properties
> [INFO] Executed tasks
> [INFO] [jar:test-jar {execution: default}]
> [INFO] Skipping packaging of the test-jar
> [INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
> [INFO] [ianal:verify-legal-files {execution: default}]
> [INFO] Checking legal files in: camel-spring-2.2-SNAPSHOT.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/camel-spring-2.2-SNAPSHOT.jar to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/schema/camel-spring.xsd to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.xsd
> [INFO] [bundle:install {execution: default-install}]
> [INFO] Parsing file:/home/clove/.m2/repository/repository.xml
> [INFO] Installing org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 57 seconds
> [INFO] Finished at: Mon Jan 18 11:57:54 MST 2010
> [INFO] Final Memory: 57M/186M
> [INFO] ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-2378) Maven build not installing camel-spring-2.2-SNAPSHOT-tests

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56980#action_56980 ]

Jonathan Anstey commented on CAMEL-2378:
----------------------------------------

Weird... I just built it fine on trunk rev 900515. Env is similar to yours too

Apache Maven 2.2.1 (r801777; 2009-08-06 16:46:01-0230)
Java version: 1.6.0_07
Java home: /opt/jdk1.6.0_07/jre
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux" version: "2.6.24-24-generic" arch: "i386" Family: "unix"

> Maven build not installing camel-spring-2.2-SNAPSHOT-tests
> ----------------------------------------------------------
>
>                 Key: CAMEL-2378
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2378
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.2.0
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
> Java version: 1.6.0_17
> Java home: /opt/sun-jdk-1.6.0.17/jre
> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> OS name: "linux" version: "2.6.31-gentoo-r6" arch: "amd64" Family: "unix"
>            Reporter: Chris Love
>
> I am running mvn install -Dmaven.test.skip=true and I am getting the following error
> Missing:
> ----------
> 1) org.apache.camel:camel-spring:test-jar:tests:2.2-SNAPSHOT
> The pom for camel-spring has a plug-in section for creating the test jar, but it is not getting installed.
> I am getting the following output running mvn -e
> Interesting part:
>  [INFO] Skipping packaging of the test-jar
> Full output
> --------------------------------
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Camel :: Spring
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> [INFO] [antrun:run {execution: create-prop}]
> [INFO] Executing tasks
>      [echo] Maven version: 2.2-SNAPSHOT
>      [echo] OSGi version: 2.2.0.SNAPSHOT
> [INFO] Executed tasks
> [INFO] [properties:read-project-properties {execution: default}]
> [INFO] [antrun:run {execution: process-sources}]
> [INFO] Executing tasks
>      [echo] Copying to code together for the XSD generation
>      [echo] Generating XSD schema
> [schemagen] Generating schema from 142 source files
>      [copy] Copying 1 file to /data/workspace/camel/components/camel-spring/target/schema
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 10 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 290 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [antrun:run {execution: package}]
> [INFO] Executing tasks
>      [echo] Deleting unwanted resources from the test-jar
>    [delete] Deleting: /data/workspace/camel/components/camel-spring/target/test-classes/log4j.properties
> [INFO] Executed tasks
> [INFO] [jar:test-jar {execution: default}]
> [INFO] Skipping packaging of the test-jar
> [INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
> [INFO] [ianal:verify-legal-files {execution: default}]
> [INFO] Checking legal files in: camel-spring-2.2-SNAPSHOT.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/camel-spring-2.2-SNAPSHOT.jar to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/schema/camel-spring.xsd to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.xsd
> [INFO] [bundle:install {execution: default-install}]
> [INFO] Parsing file:/home/clove/.m2/repository/repository.xml
> [INFO] Installing org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 57 seconds
> [INFO] Finished at: Mon Jan 18 11:57:54 MST 2010
> [INFO] Final Memory: 57M/186M
> [INFO] ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (CAMEL-2378) Maven build not installing camel-spring-2.2-SNAPSHOT-tests

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/activemq/browse/CAMEL-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=56982#action_56982 ]

Chris Love commented on CAMEL-2378:
-----------------------------------

So running mvn clean install -DskipTests from the top level worked.

Someone might want to add this nugget to Readme.txt and   http://camel.apache.org/building.html


> Maven build not installing camel-spring-2.2-SNAPSHOT-tests
> ----------------------------------------------------------
>
>                 Key: CAMEL-2378
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2378
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.2.0
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
> Java version: 1.6.0_17
> Java home: /opt/sun-jdk-1.6.0.17/jre
> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> OS name: "linux" version: "2.6.31-gentoo-r6" arch: "amd64" Family: "unix"
>            Reporter: Chris Love
>
> I am running mvn install -Dmaven.test.skip=true and I am getting the following error
> Missing:
> ----------
> 1) org.apache.camel:camel-spring:test-jar:tests:2.2-SNAPSHOT
> The pom for camel-spring has a plug-in section for creating the test jar, but it is not getting installed.
> I am getting the following output running mvn -e
> Interesting part:
>  [INFO] Skipping packaging of the test-jar
> Full output
> --------------------------------
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Camel :: Spring
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> [INFO] [antrun:run {execution: create-prop}]
> [INFO] Executing tasks
>      [echo] Maven version: 2.2-SNAPSHOT
>      [echo] OSGi version: 2.2.0.SNAPSHOT
> [INFO] Executed tasks
> [INFO] [properties:read-project-properties {execution: default}]
> [INFO] [antrun:run {execution: process-sources}]
> [INFO] Executing tasks
>      [echo] Copying to code together for the XSD generation
>      [echo] Generating XSD schema
> [schemagen] Generating schema from 142 source files
>      [copy] Copying 1 file to /data/workspace/camel/components/camel-spring/target/schema
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 10 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 290 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [antrun:run {execution: package}]
> [INFO] Executing tasks
>      [echo] Deleting unwanted resources from the test-jar
>    [delete] Deleting: /data/workspace/camel/components/camel-spring/target/test-classes/log4j.properties
> [INFO] Executed tasks
> [INFO] [jar:test-jar {execution: default}]
> [INFO] Skipping packaging of the test-jar
> [INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
> [INFO] [ianal:verify-legal-files {execution: default}]
> [INFO] Checking legal files in: camel-spring-2.2-SNAPSHOT.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/camel-spring-2.2-SNAPSHOT.jar to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/schema/camel-spring.xsd to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.xsd
> [INFO] [bundle:install {execution: default-install}]
> [INFO] Parsing file:/home/clove/.m2/repository/repository.xml
> [INFO] Installing org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 57 seconds
> [INFO] Finished at: Mon Jan 18 11:57:54 MST 2010
> [INFO] Final Memory: 57M/186M
> [INFO] ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (CAMEL-2378) Maven build not installing camel-spring-2.2-SNAPSHOT-tests

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/activemq/browse/CAMEL-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Anstey resolved CAMEL-2378.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0
         Assignee: Jonathan Anstey

Great! Glad it works now for you. I'll update the wiki page with that command.

> Maven build not installing camel-spring-2.2-SNAPSHOT-tests
> ----------------------------------------------------------
>
>                 Key: CAMEL-2378
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2378
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-spring
>    Affects Versions: 2.2.0
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 13:16:01-0600)
> Java version: 1.6.0_17
> Java home: /opt/sun-jdk-1.6.0.17/jre
> Default locale: en_US, platform encoding: ANSI_X3.4-1968
> OS name: "linux" version: "2.6.31-gentoo-r6" arch: "amd64" Family: "unix"
>            Reporter: Chris Love
>            Assignee: Jonathan Anstey
>             Fix For: 2.2.0
>
>
> I am running mvn install -Dmaven.test.skip=true and I am getting the following error
> Missing:
> ----------
> 1) org.apache.camel:camel-spring:test-jar:tests:2.2-SNAPSHOT
> The pom for camel-spring has a plug-in section for creating the test jar, but it is not getting installed.
> I am getting the following output running mvn -e
> Interesting part:
>  [INFO] Skipping packaging of the test-jar
> Full output
> --------------------------------
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Camel :: Spring
> [INFO]    task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.5-dev/jaxb-impl-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://repo.open.iona.com/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository open.iona.m2 (http://repo.open.iona.com/maven2)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> Downloading: http://download.java.net/maven/1/com.sun.xml.bind/poms/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository java.net (http://download.java.net/maven/1)
> Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-xjc/2.1.5-dev/jaxb-xjc-2.1.5-dev.pom
> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-xjc:pom:2.1.5-dev' in repository central (http://repo1.maven.org/maven2)
> [INFO] [antrun:run {execution: create-prop}]
> [INFO] Executing tasks
>      [echo] Maven version: 2.2-SNAPSHOT
>      [echo] OSGi version: 2.2.0.SNAPSHOT
> [INFO] Executed tasks
> [INFO] [properties:read-project-properties {execution: default}]
> [INFO] [antrun:run {execution: process-sources}]
> [INFO] Executing tasks
>      [echo] Copying to code together for the XSD generation
>      [echo] Generating XSD schema
> [schemagen] Generating schema from 142 source files
>      [copy] Copying 1 file to /data/workspace/camel/components/camel-spring/target/schema
> [INFO] Executed tasks
> [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] Copying 10 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 290 resources
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [bundle:bundle {execution: default-bundle}]
> [INFO] [antrun:run {execution: package}]
> [INFO] Executing tasks
>      [echo] Deleting unwanted resources from the test-jar
>    [delete] Deleting: /data/workspace/camel/components/camel-spring/target/test-classes/log4j.properties
> [INFO] Executed tasks
> [INFO] [jar:test-jar {execution: default}]
> [INFO] Skipping packaging of the test-jar
> [INFO] [build-helper:attach-artifact {execution: attach-artifacts}]
> [INFO] [ianal:verify-legal-files {execution: default}]
> [INFO] Checking legal files in: camel-spring-2.2-SNAPSHOT.jar
> [INFO] [install:install {execution: default-install}]
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/camel-spring-2.2-SNAPSHOT.jar to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Installing /data/workspace/camel/components/camel-spring/target/schema/camel-spring.xsd to /home/clove/.m2/repository/org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.xsd
> [INFO] [bundle:install {execution: default-install}]
> [INFO] Parsing file:/home/clove/.m2/repository/repository.xml
> [INFO] Installing org/apache/camel/camel-spring/2.2-SNAPSHOT/camel-spring-2.2-SNAPSHOT.jar
> [INFO] Writing OBR metadata
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 57 seconds
> [INFO] Finished at: Mon Jan 18 11:57:54 MST 2010
> [INFO] Final Memory: 57M/186M
> [INFO] ------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.