> You need to add the JARs to the pom.xml file in the dependencies
> section. You will then have to places the JARs to the local Maven
> repository so that Maven can locate them. Make sure that the JARs are
> located in a directory that matches the groupId of the dependency.

Ok, this is a sample of what I have tried to add to the pom.xml: 

<dependency>
      <groupId>MyDir.MyJar</groupId>
      <artifactId>MyJar</artifactId>
      <version>1.1</version>
</dependency>

Then, in the maven repository, I have attempted to add the jar to the
following directory structure:
MyDir
  - MyJar
    - MyJar
      - 1.1
         MyJar-1.1.jar

For some reason, it still can't find the artifact.  Any ideas?  I tried
doing it like the junit dependency that was already in the pom.xml for the
helloworld se.



-- 
View this message in context: 
http://www.nabble.com/Hello-World-Example-Help-tf3541687s12049.html#a9888375
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to