Welcome, Guest. Please Login or Register
WebLab - An SOA Platform for media mining. News:
Documentation has been updated, see here for more information
  HomeHelpSearchLoginRegister
 
Pages: 1
Send Topic Print
mistakes in the WDK-2.1 tutorial (Read 17 times)
Arnaud Levallois
Junior WebLab Member
**
Offline

I Love WebLab

Posts: 22

mistakes in the WDK-2.1 tutorial
23.11.2009 at 18:14:21
 
Hello,
I didn't know where to post, so redirect me if I'm wrong.

I found some mistakes in the tutorial :
p34 in the POM File :
Code:
  <plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>jaxws-maven-plugin</artifactId>
   <configuration>
   ...



should be :
Code:
  <plugin>
   <groupId>org.codehaus.mojo</groupId>
   <artifactId>jaxws-maven-plugin</artifactId>
   <version>1.10</version>
   <configuration>
   ...



Maven was enable to find the plugin whithout its version.

p78, p90 an p98:
mvn archetype:create -DarchetypeGroupId=org.objectweb.petals
  -DarchetypeArtifactId=maven-archetype-petals-jbi-service-assembly
    -DarchetypeVersion=1.0.0 -DgroupId=org.objectweb.petals
      -DartifactId=helloProvideSA -Dversion=1.0-SNAPSHOT

should be :
mvn archetype:create -DarchetypeGroupId=org.objectweb.petals
  -DarchetypeArtifactId=maven-archetype-petals-jbi-service-assembly
    -DarchetypeVersion=1.0.0 -DgroupId=org.weblab.example
      -DartifactId=helloProvideSA -Dversion=1.0-SNAPSHOT

regards,

Arnaud,

LITIS LAB
Back to top
 
 
  IP Logged
Yann Mombrun
WebLab Administrator
*****
Offline

I Love WebLab

Posts: 58
Val de Reuil, France
Gender: male
Re: mistakes in the WDK-2.1 tutorial
Reply #1 - 24.11.2009 at 17:21:23
 
Hi,

Thanks for this.
Which maven version are you using?
Because, I was unable to reproduce the trouble with plugin version. It works for me without version.

Back to top
 
 
WWW   IP Logged
Arnaud Levallois
Junior WebLab Member
**
Offline

I Love WebLab

Posts: 22

Re: mistakes in the WDK-2.1 tutorial
Reply #2 - 25.11.2009 at 08:31:35
 
Hi,
here is my version :
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_15

I tried again whitout the version tag, and it worked. So I think that it doesn't work when the plugin isn't in the repository, but once it is downloaded, the version isn't needed anymore.

Arnaud
Back to top
 
 
  IP Logged
Pages: 1
Send Topic Print