| time |
nick |
message |
07:46 |
<gaginn> |
Hi, i try to do cxf wsdl example for SM. I make it according to cxf example in SM. I add plugin cxf-codegen-plugin, but I don't know from which repository it is. Can somebody help me? |
07:49 |
<ffang> |
gaginn: cxf-codegen-plugin is from apache cxf project |
07:49 |
<gaginn> |
stacktrace: |
07:49 |
<gaginn> |
[INFO] ------------------------------------------------------------------------ |
07:49 |
<gaginn> |
[INFO] Building ServiceMix :: CXF WSDL example :: CXF SE |
07:49 |
<gaginn> |
[INFO] task-segment: [install] |
07:49 |
<gaginn> |
[INFO] ------------------------------------------------------------------------ |
07:49 |
<gaginn> |
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/c |
07:49 |
<gaginn> |
xf/cxf-codegen-plugin/${cxf-version}/cxf-codegen-plugin-${cxf-version}.pom |
07:49 |
<gaginn> |
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach |
07:49 |
<Drone> |
That URL gave the following error code: 404 Not Found |
07:49 |
<gaginn> |
e/cxf/cxf-codegen-plugin/${cxf-version}/cxf-codegen-plugin-${cxf-version}.pom |
07:49 |
<Drone> |
That URL gave the following error code: 404 Not Found |
07:49 |
<gaginn> |
Downloading: http://repo1.maven.org/maven2/org/apache/cxf/cxf-codegen-plugin/${c |
07:49 |
<gaginn> |
xf-version}/cxf-codegen-plugin-${cxf-version}.pom |
07:49 |
<gaginn> |
Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/c |
07:49 |
<Drone> |
That URL gave the following error code: 404 Not Found |
07:49 |
<gaginn> |
xf/cxf-codegen-plugin/${cxf-version}/cxf-codegen-plugin-${cxf-version}.pom |
07:49 |
<Drone> |
That URL gave the following error code: 404 Not Found |
07:49 |
<gaginn> |
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach |
07:49 |
<gaginn> |
e/cxf/cxf-codegen-plugin/${cxf-version}/cxf-codegen-plugin-${cxf-version}.pom |
07:49 |
<gaginn> |
Downloading: https://maven-repository.dev.java.net/nonav/repository/org.apache.c |
07:49 |
<Drone> |
That URL gave the following error code: 404 Not Found |
07:49 |
<gaginn> |
xf/poms/cxf-codegen-plugin-${cxf-version}.pom |
07:49 |
<Drone> |
That URL gave the following error code: 404 Not Found |
07:49 |
<gaginn> |
Downloading: http://repo1.maven.org/maven2/org/apache/cxf/cxf-codegen-plugin/${c |
07:49 |
<gaginn> |
xf-version}/cxf-codegen-plugin-${cxf-version}.pom |
07:49 |
<gaginn> |
[INFO] ------------------------------------------------------------------------ |
07:49 |
<Drone> |
That URL gave the following error code: 404 Not Found |
07:49 |
<gaginn> |
[ERROR] BUILD ERROR |
07:49 |
<gaginn> |
[INFO] ------------------------------------------------------------------------ |
07:49 |
<gaginn> |
[INFO] Error building POM (may not be this project's POM). |
07:49 |
<gaginn> |
Project ID: org.apache.cxf:cxf-codegen-plugin |
07:49 |
<gaginn> |
Reason: POM 'org.apache.cxf:cxf-codegen-plugin' not found in repository: Unable |
07:49 |
<gaginn> |
to download the artifact from any repository |
07:49 |
<gaginn> |
org.apache.cxf:cxf-codegen-plugin:pom:${cxf-version} |
07:49 |
<gaginn> |
from the specified remote repositories: |
07:49 |
<gaginn> |
apache.incubating (http://people.apache.org/repo/m2-incubating-repository), |
07:49 |
<gaginn> |
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), |
07:49 |
<gaginn> |
apache.incubating.plugins (http://people.apache.org/repo/m2-incubating-reposit |
07:49 |
<gaginn> |
ory), |
07:49 |
<gaginn> |
java.net (https://maven-repository.dev.java.net/nonav/repository), |
07:49 |
<Drone> |
That URL gave the following error code: 404 Not Found |
07:49 |
<gaginn> |
apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository), |
07:49 |
<gaginn> |
central (http://repo1.maven.org/maven2) |
07:49 |
<gaginn> |
for project org.apache.cxf:cxf-codegen-plugin |
07:50 |
<gertv> |
gaginn: you should add property cxf-version to the pom.xml |
07:50 |
<ffang> |
yeah, |
07:51 |
<gertv> |
the ${cxf-version} is a placeholder for the property value |
07:51 |
<gaginn> |
gertv: ok, i try it.. |
07:52 |
<gertv> |
gaginn: btw, if you have trouble getting this to work, any of the examples we ship should be usable as a test case |
07:53 |
<gertv> |
for the auditor, you just need some message to go through the bus |
07:54 |
<gaginn> |
i have this <version>${cxf-version}</version> in element <plugin/> of cxf-codegen-plugin |
07:55 |
<gaginn> |
and information about this message are saving? |
07:55 |
<gertv> |
yes, now you need a <properties><cxf-version>2.07</cxf-version></properties> in that pom.xml |
07:55 |
<gertv> |
gaginn: don't get the last question - what do you mean? |
07:56 |
<gaginn> |
If some message go throw bus, auditor get information about this mesage and save them, ok? |
07:56 |
<gertv> |
yes, the jcr auditor will pick that up and store in the repository |
07:57 |
<gertv> |
that's what the servicemix-audit-jcr thing does |
07:57 |
<gertv> |
the servicemix-sling-console provides some templates to show the data that was stored in the repository in HTML |
07:57 |
<gertv> |
btw, I fixed the initial content import yesterday evening |
07:58 |
<gaginn> |
I put this <properties><cxf-version>${cxf-version}</cxf-version></properties> behind <url/> element ant try, but I get some parser error |
07:59 |
<gertv> |
no, it should go inside the <project> tag |
08:00 |
<gertv> |
there already is a <servicemix-version> there |
08:00 |
<gertv> |
the <cxf-version> should go right next to that one |
08:02 |
<gaginn> |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
08:02 |
<gaginn> |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
08:02 |
<gaginn> |
<parent> |
08:02 |
<Drone> |
That URL gave the following error code: 404 Not Found |
08:02 |
<Drone> |
That URL gave the following error code: 404 Not Found |
08:02 |
<gaginn> |
<artifactId>myExamples</artifactId> |
08:02 |
<gaginn> |
<groupId>org.apache.servicemix</groupId> |
08:02 |
<gaginn> |
<version>1.0-SNAPSHOT</version> |
08:02 |
<gaginn> |
</parent> |
08:02 |
<gaginn> |
<modelVersion>4.0.0</modelVersion> |
08:02 |
<gaginn> |
<groupId>org.apache.servicemix.myExamples</groupId> |
08:02 |
<gaginn> |
<artifactId>my-cxf-se-su</artifactId> |
08:02 |
<gaginn> |
<packaging>jbi-service-unit</packaging> |
08:02 |
<gaginn> |
<version>1.0-SNAPSHOT</version> |
08:02 |
<gaginn> |
<name>ServiceMix :: CXF WSDL example :: CXF SE</name> |
08:02 |
<gaginn> |
<url>http://www.myorganization.org</url> |
08:02 |
<gaginn> |
<properties><cxf-version>${cxf-version}</cxf-version></properties> |
08:02 |
<gaginn> |
<repositories> |
08:02 |
<gaginn> |
<repository> |
08:02 |
<gaginn> |
<id>apache</id> |
08:02 |
<gaginn> |
<name>Apache Repository</name> |
08:02 |
<gaginn> |
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url> |
08:02 |
<gaginn> |
<snapshots> |
08:02 |
<gaginn> |
<enabled>false</enabled> |
08:02 |
<gaginn> |
</snapshots> |
08:02 |
<gaginn> |
<releases> |
08:02 |
<gaginn> |
<enabled>true</enabled> |
08:02 |
<gaginn> |
</releases> |
08:02 |
<gaginn> |
</repository> |
08:02 |
<gaginn> |
<repository> |
08:02 |
<gaginn> |
<id>apache.snapshots</id> |
08:02 |
<gaginn> |
<name>Apache Snapshots Repository</name> |
08:02 |
<gaginn> |
<url>http://people.apache.org/repo/m2-snapshot-repository</url> |
08:02 |
<gaginn> |
<snapshots> |
08:02 |
<gaginn> |
<enabled>true</enabled> |
08:02 |
<gaginn> |
</snapshots> |
08:02 |
<gaginn> |
<releases> |
08:02 |
<gaginn> |
<enabled>false</enabled> |
08:02 |
<gaginn> |
</releases> |
08:02 |
<gaginn> |
</repository> |
08:02 |
<gaginn> |
</repositories> |
08:02 |
<gaginn> |
<pluginRepositories> |
08:02 |
<gaginn> |
<pluginRepository> |
08:02 |
<gaginn> |
<id>apache</id> |
08:02 |
<gaginn> |
<name>Apache Repository</name> |
08:02 |
<gaginn> |
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url> |
08:02 |
<gaginn> |
<snapshots> |
08:02 |
<gaginn> |
<enabled>false</enabled> |
08:02 |
<gaginn> |
</snapshots> |
08:02 |
<gaginn> |
<releases> |
08:02 |
<gaginn> |
<enabled>true</enabled> |
08:02 |
<gaginn> |
</releases> |
08:02 |
<gaginn> |
</pluginRepository> |
08:02 |
<gaginn> |
<pluginRepository> |
08:02 |
<gaginn> |
<id>apache.snapshots</id> |
08:02 |
<gaginn> |
<name>Apache Snapshots Repository</name> |
08:02 |
<gaginn> |
<url>http://people.apache.org/repo/m2-snapshot-repository</url> |
08:02 |
<gaginn> |
<snapshots> |
08:02 |
<gaginn> |
<enabled>true</enabled> |
08:02 |
<gaginn> |
</snapshots> |
08:02 |
<gaginn> |
<releases> |
08:02 |
<gaginn> |
<enabled>false</enabled> |
08:02 |
<gaginn> |
</releases> |
08:02 |
<gaginn> |
</pluginRepository> |
08:02 |
<gaginn> |
</pluginRepositories> |
08:02 |
<gaginn> |
<properties> |
08:02 |
<gaginn> |
<servicemix-version>3.2.1</servicemix-version> |
08:02 |
<gaginn> |
</properties> |
08:02 |
<gaginn> |
<dependencies> |
08:02 |
<gaginn> |
<dependency> |
08:02 |
<gaginn> |
<groupId>org.apache.servicemix</groupId> |
08:02 |
<gaginn> |
<artifactId>servicemix-cxf-se</artifactId> |
08:02 |
<gaginn> |
<version>${servicemix-version}</version> |
08:02 |
<gaginn> |
</dependency> |
08:02 |
<gaginn> |
<dependency> |
08:02 |
<gaginn> |
<groupId>junit</groupId> |
08:02 |
<gaginn> |
<artifactId>junit</artifactId> |
08:02 |
<gaginn> |
<version>3.8.1</version> |
08:02 |
<gaginn> |
<scope>test</scope> |
08:02 |
<gaginn> |
</dependency> |
08:02 |
<gaginn> |
<dependency> |
08:02 |
<gaginn> |
<groupId>javax.xml.ws</groupId> |
08:02 |
<gaginn> |
<artifactId>jaxws-api</artifactId> |
08:02 |
<gaginn> |
<version>2.1-1</version> |
08:02 |
<gaginn> |
<exclusions> |
08:02 |
<gaginn> |
<exclusion> |
08:02 |
<gaginn> |
<groupId>javax.annotation</groupId> |
08:02 |
<gaginn> |
<artifactId>jsr250-api</artifactId> |
08:02 |
<gaginn> |
</exclusion> |
08:02 |
<gaginn> |
<exclusion> |
08:02 |
<gaginn> |
<groupId>javax.xml.soap</groupId> |
08:02 |
<gaginn> |
<artifactId>saaj-api</artifactId> |
08:02 |
<gaginn> |
</exclusion> |
08:02 |
<gaginn> |
<exclusion> |
08:02 |
<gaginn> |
<groupId>javax.xml.stream</groupId> |
08:02 |
<gaginn> |
<artifactId>stax-api</artifactId> |
08:02 |
<gaginn> |
</exclusion> |
08:02 |
<gaginn> |
<exclusion> |
08:02 |
<gaginn> |
<groupId>javax.xml.bind</groupId> |
08:02 |
<gaginn> |
<artifactId>jaxb-api</artifactId> |
08:02 |
<gaginn> |
</exclusion> |
08:02 |
<gaginn> |
<exclusion> |
08:02 |
<gaginn> |
<groupId>javax.xml.bind</groupId> |
08:02 |
<gaginn> |
<artifactId>jsr173_api</artifactId> |
08:02 |
<gaginn> |
</exclusion> |
08:02 |
<gaginn> |
<exclusion> |
08:02 |
<gaginn> |
<groupId>javax.jws</groupId> |
08:02 |
<gaginn> |
<artifactId>jsr181-api</artifactId> |
08:02 |
<gaginn> |
</exclusion> |
08:02 |
<gaginn> |
<exclusion> |
08:02 |
<gaginn> |
<groupId>javax.jws</groupId> |
08:02 |
<gaginn> |
<artifactId>jsr181</artifactId> |
08:02 |
<gaginn> |
</exclusion> |
08:02 |
<gaginn> |
</exclusions> |
08:02 |
<gaginn> |
</dependency> |
08:02 |
<gaginn> |
</dependencies> |
08:02 |
<gaginn> |
<build> |
08:02 |
<gaginn> |
<resources> |
08:02 |
<gaginn> |
<resource> |
08:02 |
<gaginn> |
<directory>src/main/resources</directory> |
08:02 |
<gaginn> |
<includes> |
08:02 |
<gaginn> |
<include>**/*</include> |
08:02 |
<gaginn> |
</includes> |
08:02 |
<gaginn> |
</resource> |
08:02 |
<gaginn> |
</resources> |
08:02 |
<gaginn> |
<plugins> |
08:02 |
<gaginn> |
<plugin> |
08:02 |
<gaginn> |
<artifactId>maven-compiler-plugin</artifactId> |
08:02 |
<gaginn> |
<configuration> |
08:02 |
<gaginn> |
<source>1.5</source> |
08:02 |
<gaginn> |
<target>1.5</target> |
08:02 |
<gaginn> |
</configuration> |
08:02 |
<gaginn> |
</plugin> |
08:02 |
<gaginn> |
<plugin> |
08:02 |
<gaginn> |
<groupId>org.apache.cxf</groupId> |
08:02 |
<gaginn> |
<artifactId>cxf-codegen-plugin</artifactId> |
08:02 |
<gaginn> |
<version>${cxf-version}</version> |
08:02 |
<gaginn> |
<executions> |
08:02 |
<gaginn> |
<execution> |
08:02 |
<gaginn> |
<phase>generate-sources</phase> |
08:02 |
<gaginn> |
<configuration> |
08:02 |
<gaginn> |
<sourceRoot>${basedir}/target/jaxws</sourceRoot> |
08:02 |
<gaginn> |
<wsdlOptions> |
08:02 |
<gaginn> |
<wsdlOption> |
08:02 |
<gaginn> |
<wsdl>${basedir}/src/main/resources/lunch.wsdl</wsdl> |
08:02 |
<gaginn> |
<extraargs> |
08:02 |
<gaginn> |
<extraarg>-verbose</extraarg> |
08:02 |
<gaginn> |
</extraargs> |
08:02 |
<gaginn> |
</wsdlOption> |
08:02 |
<gaginn> |
</wsdlOptions> |
08:02 |
<gaginn> |
</configuration> |
08:02 |
<gaginn> |
<goals> |
08:02 |
<gaginn> |
<goal>wsdl2java</goal> |
08:02 |
<gaginn> |
</goals> |
08:02 |
<gaginn> |
</execution> |
08:02 |
<gaginn> |
</executions> |
08:02 |
<gaginn> |
</plugin> |
08:02 |
<gaginn> |
<plugin> |
08:02 |
<gaginn> |
<groupId>org.apache.servicemix.tooling</groupId> |
08:02 |
<gaginn> |
<artifactId>jbi-maven-plugin</artifactId> |
08:02 |
<gaginn> |
<version>${servicemix-version}</version> |
08:02 |
<gaginn> |
<extensions>true</extensions> |
08:02 |
<gaginn> |
<configuration> |
08:02 |
<gaginn> |
<type>service-unit</type> |
08:02 |
<gaginn> |
</configuration> |
08:02 |
<gaginn> |
</plugin> |
08:02 |
<gaginn> |
</plugins> |
08:02 |
<gaginn> |
</build> |
08:02 |
<gaginn> |
</project> |
08:02 |
<gaginn> |
but I have <cxf-version/> inside <project> |
08:04 |
<gertv> |
gaginn: it should go in the <properties/> as the example you copy-pasted here |
08:04 |
<gertv> |
but you have to specify a real version there (e.g. 2.0.7) |
08:04 |
<gertv> |
so every other instance of ${cxf-version} in your pom.xml gets that version |
08:07 |
<gaginn> |
ouh, i'm sorry, i'm blind :) I don't see exisitng element <properties/> |
08:09 |
<gaginn> |
I tried servicemix-sling-console again (after update) and it seems that it works ;) |
08:09 |
<gaginn> |
http://localhost:8080/servicemix.html this page exists yet |
08:10 |
<gertv> |
yeah, it was a problem in the import of initial content in the JCR repo |
08:14 |
<gaginn> |
gert: Can you give me some more information about auditor? console "only" display me information from JCR, ok? |
08:17 |
<gertv> |
yeah, the console project just shows you what is in the JCR |
08:18 |
<gertv> |
for the auditor, if you look at the SlingAuditor class things should become more clear |
08:18 |
<gertv> |
every exchange that is sent through the ESB will trigger the exchangeSent() method |
08:19 |
<gertv> |
the code there just creates a new node in the JCR repository and stores all kinds of exchange information in there |
08:19 |
<gertv> |
e.g. node.setProperty("ExchangeStatus", event.getExchange().getStatus().toString()); will store the MessageExchange's status in a node property named 'ExchangeStatus' |
08:24 |
<gaginn> |
ok, I have a look on it.. Now it seems, that in log file of Sling isn't any error as to installing bundle sling-console |
08:26 |
<gertv> |
no, if you have 'svn up'ed, it should be gone |
08:26 |
<gertv> |
and as you now see the servicemix.html page, the initial nodes and templates are there |
08:28 |
<gaginn> |
Where are initial nodes and templates? |
08:30 |
<gertv> |
they are in the initial-content directory in the src/main/resources inside the servicemix-sling-console project |