karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <paulspen...@mindspring.com>
Subject Re: Deleting an artifact via Cave leaves md5 and sha1 files
Date Fri, 03 Jul 2020 14:49:58 GMT
JB,
I will create the issue as soon as I get access to my Jira account.  I have posted a message
on THE-ASF Slack asking for help reseting my Jira password.

Paul Spencer


> On Jul 3, 2020, at 12:31 AM, Jean-Baptiste Onofre <jb@nanthrax.net> wrote:
> 
> Yes, it could be consider as a bug. +1 to create a Jira I will fix that.
> 
> Thanks for using Cave and reporting all these improvements !
> 
> Regards
> JB
> 
>> Le 2 juil. 2020 à 20:40, Paul Spencer <paulspencer@mindspring.com> a écrit
:
>> 
>> Karaf 4.2.9
>> Cave 4.2.1
>> 
>> I have deployed an artifact via "mvn deploy-file".  In addition to the artifact,
.md5 and .sha1 files are also uploaded.  When the artifact is deleted via "cave:repository-artifact-delete"
the .md5 and .sha1 files are left behind.
>> 
>> Is this a bug?
>> 
>> Should I open a Jira Issue?
>> 
>> ***
>> * Supporting command output
>> ***
>> 
>> sparrow:~ paul$ mvn deploy:deploy-file -Dfile=test-1.0.0.jar -Durl=http://raspberrypi4.local:8181/cave/repository/quality
 -Dpackaging=jar -DgroupId=foo.bar -DartifactId=test -Dversion=1.0.0
>> [INFO] Scanning for projects...
>> [INFO] 
>> [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
>> [INFO] Building Maven Stub Project (No POM) 1
>> [INFO] --------------------------------[ pom ]---------------------------------
>> [INFO] 
>> [INFO] --- maven-deploy-plugin:2.7:deploy-file (default-cli) @ standalone-pom ---
>> Uploading to remote-repository: http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/1.0.0/test-1.0.0.jar
>> Uploaded to remote-repository: http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/1.0.0/test-1.0.0.jar
(6.8 kB at 14 kB/s)
>> Uploading to remote-repository: http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/1.0.0/test-1.0.0.pom
>> Uploaded to remote-repository: http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/1.0.0/test-1.0.0.pom
(385 B at 3.4 kB/s)
>> Downloading from remote-repository: http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/maven-metadata.xml
>> [WARNING] Could not validate integrity of download from http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/maven-metadata.xml:
Checksum validation failed, no checksums available
>> [WARNING] Checksum validation failed, no checksums available from remote-repository
for http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/maven-metadata.xml
>> Downloaded from remote-repository: http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/maven-metadata.xml
(307 B at 1.7 kB/s)
>> Uploading to remote-repository: http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/maven-metadata.xml
>> Uploaded to remote-repository: http://raspberrypi4.local:8181/cave/repository/quality/foo/bar/test/maven-metadata.xml
(291 B at 2.7 kB/s)
>> [INFO] ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time:  1.410 s
>> [INFO] Finished at: 2020-07-02T14:26:17-04:00
>> [INFO] ------------------------------------------------------------------------
>> sparrow:~ paul$ 
>> 
>> pi@raspberrypi4:~/Documents/apache-karaf-4.2.9 $ bin/client
>> client: JAVA_HOME not set; results may vary
>> Logging in as karaf
>>       __ __                  ____      
>>      / //_/____ __________ _/ __/      
>>     / ,<  / __ `/ ___/ __ `/ /_        
>>    / /| |/ /_/ / /  / /_/ / __/        
>>   /_/ |_|\__,_/_/   \__,_/_/         
>> 
>> Apache Karaf (4.2.9)
>> 
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit 'system:shutdown' to shutdown Karaf.
>> Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.
>> 
>> karaf@root()> cave:repository-artifact-delete quality mvn:foo.bar/test/1.0.0/jar
>> karaf@root()> logout
>> pi@raspberrypi4:~/Documents/apache-karaf-4.2.9 $ ls -lR data/cave/repository/quality/foo/bar/test/1.0.0
>> data/cave/repository/quality/foo/bar/test/1.0.0:
>> total 20
>> -rw-r--r-- 1 pi pi  32 Jul  2 14:26 test-1.0.0.jar.md5
>> -rw-r--r-- 1 pi pi  40 Jul  2 14:26 test-1.0.0.jar.sha1
>> -rw-r--r-- 1 pi pi 385 Jul  2 14:26 test-1.0.0.pom
>> -rw-r--r-- 1 pi pi  32 Jul  2 14:26 test-1.0.0.pom.md5
>> -rw-r--r-- 1 pi pi  40 Jul  2 14:26 test-1.0.0.pom.sha1
>> pi@raspberrypi4:~/Documents/apache-karaf-4.2.9 $ 
>> 
>> ***
>> * Karaf.log
>> ***
>> 14:26:17.203 INFO [qtp4854702-288] Received upload request for maven artifact : foo/bar/test/1.0.0/test-1.0.0.jar
>> 14:26:17.221 INFO [qtp4854702-288] Artifact installed: foo.bar:test:jar:1.0.0
>> 14:26:17.277 INFO [qtp4854702-287] Received upload request for maven artifact : foo/bar/test/1.0.0/test-1.0.0.jar.sha1
>> 14:26:17.286 INFO [qtp4854702-287] Artifact installed: foo.bar:test:jar.sha1:1.0.0
>> 14:26:17.305 INFO [qtp4854702-289] Received upload request for maven artifact : foo/bar/test/1.0.0/test-1.0.0.jar.md5
>> 14:26:17.315 INFO [qtp4854702-289] Artifact installed: foo.bar:test:jar.md5:1.0.0
>> 14:26:17.345 INFO [qtp4854702-287] Received upload request for maven artifact : foo/bar/test/1.0.0/test-1.0.0.pom
>> 14:26:17.357 INFO [qtp4854702-287] Artifact installed: foo.bar:test:pom:1.0.0
>> 14:26:17.401 INFO [qtp4854702-289] Received upload request for maven artifact : foo/bar/test/1.0.0/test-1.0.0.pom.sha1
>> 14:26:17.409 INFO [qtp4854702-289] Artifact installed: foo.bar:test:pom.sha1:1.0.0
>> 14:26:17.425 INFO [qtp4854702-287] Received upload request for maven artifact : foo/bar/test/1.0.0/test-1.0.0.pom.md5
>> 14:26:17.434 INFO [qtp4854702-287] Artifact installed: foo.bar:test:pom.md5:1.0.0
>> 14:26:17.475 INFO [MavenDownloadProxyServlet #14] Received request for maven metadata
: foo/bar/test/maven-metadata.xml
>> 14:26:17.488 INFO [MavenDownloadProxyServlet #14] Writing response for file : foo/bar/test/maven-metadata.xml
>> 14:26:17.550 INFO [MavenDownloadProxyServlet #14] Received request for maven metadata
: foo/bar/test/maven-metadata.xml.sha1
>> 14:26:17.574 INFO [MavenDownloadProxyServlet #14] Received request for maven metadata
: foo/bar/test/maven-metadata.xml.md5
>> 14:26:17.651 INFO [qtp4854702-295] Received upload request for maven metadata : foo/bar/test/maven-metadata.xml
>> 14:26:17.656 INFO [qtp4854702-295] Maven metadata installed: foo:bar:maven-metadata.xml:test
>> 14:26:17.699 INFO [qtp4854702-287] Received upload request for maven metadata : foo/bar/test/maven-metadata.xml.sha1
>> 14:26:17.705 INFO [qtp4854702-287] Maven metadata installed: foo:bar:maven-metadata.xml.sha1:test
>> 14:26:17.731 INFO [qtp4854702-295] Received upload request for maven metadata : foo/bar/test/maven-metadata.xml.md5
>> 14:26:17.739 INFO [qtp4854702-295] Maven metadata installed: foo:bar:maven-metadata.xml.md5:test
>> 
>> 
>> Paul Spencer
> 


Mime
View raw message