Bugs item #2869448, was opened at 2009-09-28 21:48
Message generated for change (Comment added) made by bindul
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=2869448&group_id=212019

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: insight-ui
>Group: insight-ui-1.5.2
Status: Open
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bindul Bhowmik (bindul)
Summary: Maven not installs missing jars

Initial Comment:
 had downloaded all 3 of jars and try to install one by one with the below
mentioned cmd but still does not install. shows the below error.

mvn install:install-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1
-Dpackaging=jar -Dfile=/path/to/file
Help....

[INFO] Building Insight
[INFO] task-segment: [install:install-file] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [install:install-file]
[INFO] Installing C:\JanusInsight\insight-ui\branches\insight-ui-1.5.0\lib
to C:
\Documents and
Settings\pkum20.SJD\.m2\repository\javax\jms\jms\1.1\jms-1.1.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error installing artifact 'javax.jms:jms:jar': Error installing
artifact:
C:\JanusInsight\insight-ui\branches\insight-ui-1.5.0\lib (Access is
denied)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Sep 24 09:45:07 IST 2009
[INFO] Final Memory: 3M/5M
[INFO]
------------------------------------------------------------------------


error as shown below is dispalyed while building jar.

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

Missing:
----------
1) javax.jms:jms:jar:1.1

Try downloading the file manually from:
http://java.sun.com/products/jms/docs.html

Then, install it using the command:
mvn install:install-file -DgroupId=javax.jms -DartifactId=jms
-Dversion=1.
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=javax.jms -DartifactId=jms
-Dversion=1.1
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) com.mindtree.techworks.insight:insight-ui:jar:1.5.3-SNAPSHOT
2) log4j:log4j:jar:1.3alpha9-SNAPSHOT
3) javax.jms:jms:jar:1.1

2) com.sun.jdmk:jmxtools:jar:1.2.1

Try downloading the file manually from:
http://java.sun.com/products/JavaManagement/download.html

Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools
-Dve
rsion=1.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.sun.jdmk -DartifactId=jmxtools
-Dvers
ion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

Path to dependency:
1) com.mindtree.techworks.insight:insight-ui:jar:1.5.3-SNAPSHOT
2) log4j:log4j:jar:1.3alpha9-SNAPSHOT
3) com.sun.jdmk:jmxtools:jar:1.2.1

3) com.sun.jmx:jmxri:jar:1.2.1

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri
-Dversio
n=1.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.sun.jmx -DartifactId=jmxri
-Dversion=
1.2.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) com.mindtree.techworks.insight:insight-ui:jar:1.5.3-SNAPSHOT
2) log4j:log4j:jar:1.3alpha9-SNAPSHOT
3) com.sun.jmx:jmxri:jar:1.2.1

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

for artifact:
com.mindtree.techworks.insight:insight-ui:jar:1.5.3-SNAPSHOT

from the specified remote repositories:
central (http://repo1.maven.org/maven2),
insight.dependency.repo
(https://mindtreeinsight.svn.sourceforge.net/svnroot/m
indtreeinsight/maven-repo/trunk/dependency/),
snapshot.maven.apache.org
(http://people.apache.org/maven-snapshot-repository)
,
insight.snapshot.repo
(https://mindtreeinsight.svn.sourceforge.net/svnroot/min
dtreeinsight/maven-repo/trunk/snapshot),
insight.release.repo
(https://mindtreeinsight.svn.sourceforge.net/svnroot/mind
treeinsight/maven-repo/trunk/release)



[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 42 seconds
[INFO] Finished at: Thu Sep 24 09:34:38 IST 2009
[INFO] Final Memory: 16M/29M
[INFO]
------------------------------------------------------------------------


----------------------------------------------------------------------

>Comment By: Bindul Bhowmik (bindul)
Date: 2011-01-25 22:54

Message:
The dependencies are not required for the proper functioning of Insight.
They are transitive dependencies of Log4j and have been added as excludes
in maven dependencies.

Fixed on the 1.5.x dependency branch in SVN r268

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1020092&aid=2869448&group_id=212019

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
mindtreeinsight-devel mailing list
mindtreeinsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mindtreeinsight-devel

Reply via email to