Welcome, Guest. Please Login or Register
WebLab Project
  Documentation has been updated, see here for more information
  Warning ! This forum is now locked, new posts have been disabled. If you want to contact us about a problem or have question, please use the following mailing list:
user@weblab-project.org !
  HomeHelpSearchLoginRegister  
 
 
Page Index Toggle Pages: 1
Send Topic Print
mistakes in the WDK-2.1 tutorial (Read 564 times)
23.11.2009 at 18:14:21

Arnaud Levallois   Offline
Junior WebLab Member
I Love WebLab

Posts: 22
**
 
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
 
IP Logged
 
Reply #1 - 24.11.2009 at 17:21:23

Yann Mombrun   Offline
WebLab Administrator
I Love WebLab
Val de Reuil, France

Gender: male
Posts: 79
*****
 
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.

 
IP Logged
 
Reply #2 - 25.11.2009 at 08:31:35

Arnaud Levallois   Offline
Junior WebLab Member
I Love WebLab

Posts: 22
**
 
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
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print