Sorry, my last letter was with wrong topic name

Hi folks, 

I building J2EE application with maven and now I encounter with problem:
Here is the dependency part of my pom from project where I consturct EAR
file
  <dependencies>
    <dependency>
      <groupId>com.mhf</groupId>
      <artifactId>mhfEJBModuleClient</artifactId>
      <version>1.0</version>        
      <type>ejb-client</type>
    </dependency>
    <dependency>
      <groupId>com.mhf</groupId>
      <artifactId>mhfEJBModule</artifactId>
      <version>1.0</version>
      <type>ejb</type>
    </dependency>
    <dependency>
      <groupId>com.mhf</groupId>
      <artifactId>mhfWebModule</artifactId>
      <version>1.0</version>
      <type>war</type>
    </dependency>
  </dependencies> 

All is ok, but when I use <type>ejb-client</type> for first dependency, it
tells me

Missing:
----------
1) com.mhf:mhfEJBModuleClient:ejb-client:client:1.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.mhf
-DartifactId=mhfEJBModuleClient \
          -Dversion=1.0 -Dclassifier=client -Dpackaging=ejb-client
-Dfile=/path/to/file Alternatively, if you host your own repository you can
deploy the file
there:       mvn deploy:deploy-file -DgroupId=co
.mhf -DartifactId=mhfEJBModuleClient \
          -Dversion=1.0 -Dclassifier=client -Dpackaging=ejb-client
-Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) com.mhf:mhfApplication:ear:1.0
        2) com.mhf:mhfEJBModuleClient:ejb-client:client:1.0

----------
1 required artifact is missing.

for artifact:
  com.mhf:mhfApplication:ear:1.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)



But when I don't have <type>ejb-client</type>, all is ok and this jars just
copies to lib dir in my EAR. 
But I need to have the link to this jar in generated application.xml, and I
don't have it.

Where is the dog?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to