You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by nono <ya...@db-is.com> on 2015/05/11 14:01:24 UTC
how can this pom compile?
i did not any value defined for ${cxf-version}
defined in apache-camel-2.14.0\examples\camel-example-cxf-osgi 's pom.xml
and it's parent pom.xml
then how can it compile?
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http-jetty</artifactId>
<version>${cxf-version}</version>
<scope>test</scope>
</dependency>
Any hints will be more than welcome!
--
View this message in context: http://camel.465427.n5.nabble.com/how-can-this-pom-compile-tp5766980.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: how can this pom compile?
Posted by Claus Ibsen <cl...@gmail.com>.
Its here
http://search.maven.org/#artifactdetails%7Corg.apache.camel%7Ccamel-parent%7C2.14.0%7Cpom
eg
https://repo1.maven.org/maven2/org/apache/camel/camel-parent/2.14.0/camel-parent-2.14.0.pom
On Mon, May 11, 2015 at 3:47 PM, nono <ya...@db-is.com> wrote:
> i didnot find this variable defined in parent pom.xml
> (apache-camel-2.14.0\pom.xml)
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>
> <modelVersion>4.0.0</modelVersion>
>
> <parent>
> <groupId>org.apache.camel</groupId>
> <artifactId>camel-parent</artifactId>
> <version>2.14.0</version>
> <relativePath>../parent</relativePath>
> </parent>
>
> <artifactId>examples</artifactId>
> <name>Camel :: Examples</name>
> <description>Camel Examples</description>
> <packaging>pom</packaging>
>
> <modules>
> <module>camel-example-activemq-tomcat</module>
> <module>camel-example-aggregate</module>
> <module>camel-example-bam</module>
> <module>camel-example-box-osgi</module>
> <module>camel-example-cafe</module>
> <module>camel-example-cdi</module>
> <module>camel-example-cxf-blueprint</module>
> <module>camel-example-cxf-proxy</module>
> <module>camel-example-cxf-tomcat</module>
> <module>camel-example-console</module>
> <module>camel-example-docs</module>
> <module>camel-example-etl</module>
> <module>camel-example-ftp</module>
> <module>camel-example-gae</module>
> <module>camel-example-gauth</module>
> <module>camel-example-guice-jms</module>
> <module>camel-example-jdbc</module>
> <module>camel-example-jmx</module>
> <module>camel-example-jms-file</module>
> <module>camel-example-loadbalancing</module>
> <module>camel-example-loan-broker</module>
> <module>camel-example-management</module>
> <module>camel-example-mybatis</module>
> <module>camel-example-netty-http</module>
> <module>camel-example-osgi</module>
> <module>camel-example-osgi-rmi</module>
> <module>camel-example-pojo-messaging</module>
> <module>camel-example-reportincident</module>
> <module>camel-example-reportincident-wssecurity</module>
> <module>camel-example-restlet-jdbc</module>
> <module>camel-example-route-throttling</module>
> <module>camel-example-servlet-rest-blueprint</module>
> <module>camel-example-servlet-rest-tomcat</module>
> <module>camel-example-servlet-tomcat</module>
> <module>camel-example-servlet-tomcat-blueprintweb</module>
> <module>camel-example-servlet-tomcat-no-spring</module>
> <module>camel-example-simplejirabot</module>
> <module>camel-example-spark-rest-tomcat</module>
> <module>camel-example-splunk</module>
> <module>camel-example-spring</module>
> <module>camel-example-spring-javaconfig</module>
> <module>camel-example-spring-jms</module>
> <module>camel-example-spring-ws</module>
> <module>camel-example-spring-xquery</module>
> <module>camel-example-spring-security</module>
> <module>camel-example-ssh</module>
> <module>camel-example-ssh-security</module>
> <module>camel-example-sql</module>
> <module>camel-example-sql-blueprint</module>
> <module>camel-example-tracer</module>
> <module>camel-example-twitter-websocket</module>
> <module>camel-example-twitter-websocket-blueprint</module>
> </modules>
>
> <properties>
>
>
>
> <camel.osgi.symbolic.name>${project.artifactId}</camel.osgi.symbolic.name>
> <skip.starting.camel.context>false</skip.starting.camel.context>
> </properties>
>
> <build>
> <resources>
> <resource>
> <directory>src/main/resources</directory>
> <filtering>true</filtering>
> </resource>
> </resources>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-resources-plugin</artifactId>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>resources</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <forkMode>pertest</forkMode>
> <systemPropertyVariables>
>
> <skipStartingCamelContext>${skip.starting.camel.context}</skipStartingCamelContext>
> </systemPropertyVariables>
> </configuration>
> </plugin>
> </plugins>
> <pluginManagement>
> <plugins>
>
> <plugin>
> <groupId>org.eclipse.m2e</groupId>
> <artifactId>lifecycle-mapping</artifactId>
> <version>1.0.0</version>
> <configuration>
> <lifecycleMappingMetadata>
> <pluginExecutions>
> <pluginExecution>
> <pluginExecutionFilter>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <versionRange>[2.3.7,)</versionRange>
> <goals>
> <goal>cleanVersions</goal>
> </goals>
> </pluginExecutionFilter>
> <action>
> <ignore />
> </action>
> </pluginExecution>
> </pluginExecutions>
> </lifecycleMappingMetadata>
> </configuration>
> </plugin>
> </plugins>
> </pluginManagement>
> </build>
>
> <profiles>
> <profile>
> <id>container-test</id>
> <properties>
> <skip.starting.camel.context>true</skip.starting.camel.context>
> </properties>
> </profile>
>
> <profile>
> <id>add-remote-repo</id>
> <activation>
> <property>
> <name>remoteRepo</name>
> </property>
> </activation>
>
> <repositories>
> <repository>
> <id>dynamic.repo</id>
> <name>Repository Dynamically Added Via the Command Line</name>
> <url>$remoteRepo</url>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>dynamic.repo</id>
> <name>Repository Dynamically Added Via the Command Line</name>
> <url>$remoteRepo</url>
> </pluginRepository>
> </pluginRepositories>
>
> </profile>
> </profiles>
>
> </project>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/how-can-this-pom-compile-tp5766980p5766988.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/
Re: how can this pom compile?
Posted by Grzegorz Grzybek <gr...@gmail.com>.
There's also *granddad* POM:
<groupId>org.apache.camel</groupId>
<artifactId>camel-parent</artifactId>
<version>2.14.0</version>
regards
Grzegorz
2015-05-11 15:47 GMT+02:00 nono <ya...@db-is.com>:
> i didnot find this variable defined in parent pom.xml
> (apache-camel-2.14.0\pom.xml)
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>
> <modelVersion>4.0.0</modelVersion>
>
> <parent>
> <groupId>org.apache.camel</groupId>
> <artifactId>camel-parent</artifactId>
> <version>2.14.0</version>
> <relativePath>../parent</relativePath>
> </parent>
>
> <artifactId>examples</artifactId>
> <name>Camel :: Examples</name>
> <description>Camel Examples</description>
> <packaging>pom</packaging>
>
> <modules>
> <module>camel-example-activemq-tomcat</module>
> <module>camel-example-aggregate</module>
> <module>camel-example-bam</module>
> <module>camel-example-box-osgi</module>
> <module>camel-example-cafe</module>
> <module>camel-example-cdi</module>
> <module>camel-example-cxf-blueprint</module>
> <module>camel-example-cxf-proxy</module>
> <module>camel-example-cxf-tomcat</module>
> <module>camel-example-console</module>
> <module>camel-example-docs</module>
> <module>camel-example-etl</module>
> <module>camel-example-ftp</module>
> <module>camel-example-gae</module>
> <module>camel-example-gauth</module>
> <module>camel-example-guice-jms</module>
> <module>camel-example-jdbc</module>
> <module>camel-example-jmx</module>
> <module>camel-example-jms-file</module>
> <module>camel-example-loadbalancing</module>
> <module>camel-example-loan-broker</module>
> <module>camel-example-management</module>
> <module>camel-example-mybatis</module>
> <module>camel-example-netty-http</module>
> <module>camel-example-osgi</module>
> <module>camel-example-osgi-rmi</module>
> <module>camel-example-pojo-messaging</module>
> <module>camel-example-reportincident</module>
> <module>camel-example-reportincident-wssecurity</module>
> <module>camel-example-restlet-jdbc</module>
> <module>camel-example-route-throttling</module>
> <module>camel-example-servlet-rest-blueprint</module>
> <module>camel-example-servlet-rest-tomcat</module>
> <module>camel-example-servlet-tomcat</module>
> <module>camel-example-servlet-tomcat-blueprintweb</module>
> <module>camel-example-servlet-tomcat-no-spring</module>
> <module>camel-example-simplejirabot</module>
> <module>camel-example-spark-rest-tomcat</module>
> <module>camel-example-splunk</module>
> <module>camel-example-spring</module>
> <module>camel-example-spring-javaconfig</module>
> <module>camel-example-spring-jms</module>
> <module>camel-example-spring-ws</module>
> <module>camel-example-spring-xquery</module>
> <module>camel-example-spring-security</module>
> <module>camel-example-ssh</module>
> <module>camel-example-ssh-security</module>
> <module>camel-example-sql</module>
> <module>camel-example-sql-blueprint</module>
> <module>camel-example-tracer</module>
> <module>camel-example-twitter-websocket</module>
> <module>camel-example-twitter-websocket-blueprint</module>
> </modules>
>
> <properties>
>
>
>
> <camel.osgi.symbolic.name>${project.artifactId}</camel.osgi.symbolic.name>
> <skip.starting.camel.context>false</skip.starting.camel.context>
> </properties>
>
> <build>
> <resources>
> <resource>
> <directory>src/main/resources</directory>
> <filtering>true</filtering>
> </resource>
> </resources>
> <plugins>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-resources-plugin</artifactId>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>resources</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <forkMode>pertest</forkMode>
> <systemPropertyVariables>
>
>
> <skipStartingCamelContext>${skip.starting.camel.context}</skipStartingCamelContext>
> </systemPropertyVariables>
> </configuration>
> </plugin>
> </plugins>
> <pluginManagement>
> <plugins>
>
> <plugin>
> <groupId>org.eclipse.m2e</groupId>
> <artifactId>lifecycle-mapping</artifactId>
> <version>1.0.0</version>
> <configuration>
> <lifecycleMappingMetadata>
> <pluginExecutions>
> <pluginExecution>
> <pluginExecutionFilter>
> <groupId>org.apache.felix</groupId>
> <artifactId>maven-bundle-plugin</artifactId>
> <versionRange>[2.3.7,)</versionRange>
> <goals>
> <goal>cleanVersions</goal>
> </goals>
> </pluginExecutionFilter>
> <action>
> <ignore />
> </action>
> </pluginExecution>
> </pluginExecutions>
> </lifecycleMappingMetadata>
> </configuration>
> </plugin>
> </plugins>
> </pluginManagement>
> </build>
>
> <profiles>
> <profile>
> <id>container-test</id>
> <properties>
> <skip.starting.camel.context>true</skip.starting.camel.context>
> </properties>
> </profile>
>
> <profile>
> <id>add-remote-repo</id>
> <activation>
> <property>
> <name>remoteRepo</name>
> </property>
> </activation>
>
> <repositories>
> <repository>
> <id>dynamic.repo</id>
> <name>Repository Dynamically Added Via the Command Line</name>
> <url>$remoteRepo</url>
> </repository>
> </repositories>
> <pluginRepositories>
> <pluginRepository>
> <id>dynamic.repo</id>
> <name>Repository Dynamically Added Via the Command Line</name>
> <url>$remoteRepo</url>
> </pluginRepository>
> </pluginRepositories>
>
> </profile>
> </profiles>
>
> </project>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/how-can-this-pom-compile-tp5766980p5766988.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Re: how can this pom compile?
Posted by nono <ya...@db-is.com>.
i didnot find this variable defined in parent pom.xml
(apache-camel-2.14.0\pom.xml)
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.camel</groupId>
<artifactId>camel-parent</artifactId>
<version>2.14.0</version>
<relativePath>../parent</relativePath>
</parent>
<artifactId>examples</artifactId>
<name>Camel :: Examples</name>
<description>Camel Examples</description>
<packaging>pom</packaging>
<modules>
<module>camel-example-activemq-tomcat</module>
<module>camel-example-aggregate</module>
<module>camel-example-bam</module>
<module>camel-example-box-osgi</module>
<module>camel-example-cafe</module>
<module>camel-example-cdi</module>
<module>camel-example-cxf-blueprint</module>
<module>camel-example-cxf-proxy</module>
<module>camel-example-cxf-tomcat</module>
<module>camel-example-console</module>
<module>camel-example-docs</module>
<module>camel-example-etl</module>
<module>camel-example-ftp</module>
<module>camel-example-gae</module>
<module>camel-example-gauth</module>
<module>camel-example-guice-jms</module>
<module>camel-example-jdbc</module>
<module>camel-example-jmx</module>
<module>camel-example-jms-file</module>
<module>camel-example-loadbalancing</module>
<module>camel-example-loan-broker</module>
<module>camel-example-management</module>
<module>camel-example-mybatis</module>
<module>camel-example-netty-http</module>
<module>camel-example-osgi</module>
<module>camel-example-osgi-rmi</module>
<module>camel-example-pojo-messaging</module>
<module>camel-example-reportincident</module>
<module>camel-example-reportincident-wssecurity</module>
<module>camel-example-restlet-jdbc</module>
<module>camel-example-route-throttling</module>
<module>camel-example-servlet-rest-blueprint</module>
<module>camel-example-servlet-rest-tomcat</module>
<module>camel-example-servlet-tomcat</module>
<module>camel-example-servlet-tomcat-blueprintweb</module>
<module>camel-example-servlet-tomcat-no-spring</module>
<module>camel-example-simplejirabot</module>
<module>camel-example-spark-rest-tomcat</module>
<module>camel-example-splunk</module>
<module>camel-example-spring</module>
<module>camel-example-spring-javaconfig</module>
<module>camel-example-spring-jms</module>
<module>camel-example-spring-ws</module>
<module>camel-example-spring-xquery</module>
<module>camel-example-spring-security</module>
<module>camel-example-ssh</module>
<module>camel-example-ssh-security</module>
<module>camel-example-sql</module>
<module>camel-example-sql-blueprint</module>
<module>camel-example-tracer</module>
<module>camel-example-twitter-websocket</module>
<module>camel-example-twitter-websocket-blueprint</module>
</modules>
<properties>
<camel.osgi.symbolic.name>${project.artifactId}</camel.osgi.symbolic.name>
<skip.starting.camel.context>false</skip.starting.camel.context>
</properties>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>resources</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>pertest</forkMode>
<systemPropertyVariables>
<skipStartingCamelContext>${skip.starting.camel.context}</skipStartingCamelContext>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<versionRange>[2.3.7,)</versionRange>
<goals>
<goal>cleanVersions</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>container-test</id>
<properties>
<skip.starting.camel.context>true</skip.starting.camel.context>
</properties>
</profile>
<profile>
<id>add-remote-repo</id>
<activation>
<property>
<name>remoteRepo</name>
</property>
</activation>
<repositories>
<repository>
<id>dynamic.repo</id>
<name>Repository Dynamically Added Via the Command Line</name>
<url>$remoteRepo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>dynamic.repo</id>
<name>Repository Dynamically Added Via the Command Line</name>
<url>$remoteRepo</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>
--
View this message in context: http://camel.465427.n5.nabble.com/how-can-this-pom-compile-tp5766980p5766988.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: how can this pom compile?
Posted by Claus Ibsen <cl...@gmail.com>.
All the versions are defined in the parent/pom.xml of Apache Camel.
On Mon, May 11, 2015 at 2:01 PM, nono <ya...@db-is.com> wrote:
> i did not any value defined for ${cxf-version}
> defined in apache-camel-2.14.0\examples\camel-example-cxf-osgi 's pom.xml
> and it's parent pom.xml
> then how can it compile?
>
> <dependency>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-rt-transports-http-jetty</artifactId>
> <version>${cxf-version}</version>
> <scope>test</scope>
> </dependency>
>
> Any hints will be more than welcome!
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/how-can-this-pom-compile-tp5766980.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/
Re: how can this pom compile?
Posted by Grzegorz Grzybek <gr...@gmail.com>.
try "mvn help:effective-pom" - you should be able to check where this
version come from.
regards
Grzegorz
2015-05-11 14:31 GMT+02:00 nono <ya...@db-is.com>:
> [echo] Displaying value of pom.xml element
> [echo] [cxf-version] 3.0.1
>
> version is 3.0.1
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/how-can-this-pom-compile-tp5766980p5766983.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Re: how can this pom compile?
Posted by nono <ya...@db-is.com>.
[echo] Displaying value of pom.xml element
[echo] [cxf-version] 3.0.1
version is 3.0.1
--
View this message in context: http://camel.465427.n5.nabble.com/how-can-this-pom-compile-tp5766980p5766983.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: how can this pom compile?
Posted by Grzegorz Grzybek <gr...@gmail.com>.
What do you mean by "compile"?
Better try looking for
~/.m2/repository/org/apache/cxf/cxf-rt-transports-http-jetty/${cxf-version}
directory (literally) ;)
regards
Grzegorz
2015-05-11 14:01 GMT+02:00 nono <ya...@db-is.com>:
> i did not any value defined for ${cxf-version}
> defined in apache-camel-2.14.0\examples\camel-example-cxf-osgi 's pom.xml
> and it's parent pom.xml
> then how can it compile?
>
> <dependency>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-rt-transports-http-jetty</artifactId>
> <version>${cxf-version}</version>
> <scope>test</scope>
> </dependency>
>
> Any hints will be more than welcome!
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/how-can-this-pom-compile-tp5766980.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>