Hi,
Trying to get jcr commons jar getting 404. according to https://mvnrepository.com/artifact/org.apache.jackrabbit/jackrabbit-jcr-commons/2.2.6-r1089293 it should be in:
Surely it should be there, can we place jar back there please ?
Regards,
Peter
Views
Replies
Total Likes
This JCR API JAR should be part of the POM file created when you use Maven 10 Archetype - see this article - also notice the use of the AEM Urber JAR:
https://helpx.adobe.com/experience-manager/using/first-arch10.html
Views
Replies
Total Likes
Hi Scott,
Appreciate your response, the project I am currently looking at, was created long before Archetype 10 was created.
I absolutely agree that new projects should be generated via Archetype 10. But, in order to build older project we need to be able to get dependencies somehow(e.g. to build the code from source, when local .m2 is empty and company's nexus is empty too)..
Is it possible to add missing jar to the Adobe repo or is it permanently gone?
Regards,
Peter
Views
Replies
Total Likes
WHat is happening when you use AEM Dependency Finder then use that in your POM?(the old way before Urber AEM JAR)
Views
Replies
Total Likes
Hi Scott,
Believe that in the version of CQ5 for which this code is build the exact match is jackrabbit-jcr-commons-2.2.6-r1089293.
I do understand that this version is no longer supported by Adobe(hence why not raising it via DayCare) and that the version can be restored from apache felix itself and renamed, then moved to nexus(but it's quite painful and slow, as there could be few of them)...
Is it possible to restore jars on repo.adobe.com(or they are permanently deleted)?
Regards,
Peter
Views
Replies
Total Likes
I will check with internal ppl about this. If it is deleted - it may be hard to get back as they focus on AEM 6.x
Views
Replies
Total Likes
Also - if you can get the JAR - you can always make it local to your repos as a workaround.
Views
Replies
Total Likes
Yes, Scott, do understand this. Thank you for your reply.
Look forward to hear your response.
Regards,
Peter
Views
Replies
Total Likes
I do not think it will be put back into the repo. Here is what to do:
Download the JAR here:
https://mvnrepository.com/artifact/org.apache.jackrabbit/jackrabbit-jcr-commons/2.2.6-r1089293
Then upload the JAR to Maven by using this Maven command:
mvn install:install-file -Dfile=C:/jackrabbit-jcr-commons.jar -DgroupId=com.foo.jr -DartifactId=jrjcr1.0 -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
Once you upload the JAR to Maven using this command, you can reference this JAR file using this Dependency.
<groupId>com.foo.jr</groupId>
<artifactId>jrjcr1.0 </artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>C:\Users\scottm\.m2\repository\<YOUR PATH></systemPath>
</dependency>
Now you can build against this API.
Views
Replies
Total Likes
Can't download it from https://mvnrepository.com/artifact/org.apache.jackrabbit/jackrabbit-jcr-commons/2.2.6-r1089293 as when you click on Download (BUNDLE) being directed to repo.adobe, which in turn throws you a 404.
* Interestingly enough sha1 is there, just not the jar http://repo.adobe.com/nexus/content/repositories/public/org/apache/jackrabbit/jackrabbit-jcr-commons...
Regards,
Peter
Views
Replies
Total Likes
What about this version:
https://mvnrepository.com/artifact/org.apache.jackrabbit/jackrabbit-jcr-commons/2.2.6
THis one is there...
Views
Replies
Total Likes
I will check to see why the other version is not there.
Views
Replies
Total Likes
Please check. Look forward to read you reply.
Regards,
Peter
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies