karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (Jira) <j...@apache.org>
Subject [jira] [Updated] (KARAF-6778) Deleting an artifact via Cave leaves md5 and sha1 files
Date Sat, 04 Jul 2020 05:11:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jean-Baptiste Onofré updated KARAF-6778:
----------------------------------------
    Affects Version/s:     (was: 4.2.1)
                       cave-4.2.1

> Deleting an artifact via Cave leaves md5 and sha1 files
> -------------------------------------------------------
>
>                 Key: KARAF-6778
>                 URL: https://issues.apache.org/jira/browse/KARAF-6778
>             Project: Karaf
>          Issue Type: Bug
>          Components: cave
>    Affects Versions: cave-4.2.1
>         Environment: Karaf 4.2.9
>            Reporter: Paul Spencer
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> Artifact the are uploaded into cave via "mvn deploy-file" also uploaded  .md5 and .sha1
files.  When the artifact is deleted via "cave:repository-artifact-delete" the .md5 and .sha1
files are left behind.
> {code:java}
> ***
> * 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
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message