Hi I am getting following errors,
Although i have found Jar files, am unable to install them?

Can somebody write a sample command line argument to install or deploy jar
file.
Like if i want to deploy and install Activation.jar how do i do it?

[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) javax.activation:activation:jar:1.0.2

  Try downloading the file manually from:
      http://java.sun.com/products/javabeans/glasgow/jaf.html

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.activation
-DartifactId=activatio
n -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=javax.activation
-DartifactId=activation
-Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=
[id]

  Path to dependency:
        1) com.fastmobile.server:maven-fmx-plugin:maven-plugin:1.0.98
        2) commons-email:commons-email:jar:1.0
        3) javax.activation:activation:jar:1.0.2

2) com.fastmobile.xmlbeans:xmlbeans:jar:2.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.fastmobile.xmlbeans
-DartifactId=xm
lbeans -Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=com.fastmobile.xmlbeans
-DartifactId=xmlb
eans -Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-Drepository
Id=[id]

  Path to dependency:
        1) com.fastmobile.server:maven-fmx-plugin:maven-plugin:1.0.98
        2) com.fastmobile.xmlbeans:xmlbeans:jar:2.1

3) com.fastmobile.xmlbeans:xmlbeans-jsr173-api:jar:2.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.fastmobile.xmlbeans
-DartifactId=xm
lbeans-jsr173-api -Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:

      mvn deploy:deploy-file -DgroupId=com.fastmobile.xmlbeans
-DartifactId=xmlb
eans-jsr173-api -Dversion=2.1 -Dpackaging=jar -Dfile=/path/to/file
-Durl=[url] -
DrepositoryId=[id]

  Path to dependency:
        1) com.fastmobile.server:maven-fmx-plugin:maven-plugin:1.0.98
        2) com.fastmobile.xmlbeans:xmlbeans-jsr173-api:jar:2.1

----------
3 required artifacts are missing.

for artifact:
  com.fastmobile.server:maven-fmx-plugin:maven-plugin:1.0.98

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


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Tue May 27 13:58:48 CDT 2008
[INFO] Final Memory: 31M/254M
[INFO]
------------------------------------------------------------------------

C:\Project\metropcs-customer-1.0.98>
-- 
View this message in context: 
http://www.nabble.com/How-to-install-or-deploy-jar-files-tp17497709p17497709.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to