Attila Doroszlai created RATIS-2211:
---------------------------------------

             Summary: publish-mvn fails with: ... did not assign a file to the 
build artifact
                 Key: RATIS-2211
                 URL: https://issues.apache.org/jira/browse/RATIS-2211
             Project: Ratis
          Issue Type: Bug
          Components: build
    Affects Versions: 3.2.0
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


{{mvn deploy:deploy}} is fine for modules with packaging=pom, but fails for 
modules with packaging=jar.

{code}
[INFO] -----------------------< org.apache.ratis:ratis >-----------------------
[INFO] Building Apache Ratis 3.1.1                                       [1/19]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- deploy:2.8.2:deploy (default-cli) @ ratis ---
[INFO] Using alternate deployment repository 
local::default::file:///tmp/staging-repo
Uploading to local: 
file:///tmp/staging-repo/org/apache/ratis/ratis/3.1.1/ratis-3.1.1.pom
Uploaded to local: 
file:///tmp/staging-repo/org/apache/ratis/ratis/3.1.1/ratis-3.1.1.pom (42 kB at 
5.3 MB/s)
Downloading from local: 
file:///tmp/staging-repo/org/apache/ratis/ratis/maven-metadata.xml
Uploading to local: 
file:///tmp/staging-repo/org/apache/ratis/ratis/maven-metadata.xml
Uploaded to local: 
file:///tmp/staging-repo/org/apache/ratis/ratis/maven-metadata.xml (301 B)
[INFO] 
[INFO] --------------------< org.apache.ratis:ratis-docs >---------------------
[INFO] Building Apache Ratis Documentation 3.1.1                         [2/19]
[INFO]   from ratis-docs/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- deploy:2.8.2:deploy (default-cli) @ ratis-docs ---
[INFO] Using alternate deployment repository 
local::default::file:///tmp/staging-repo
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Ratis 3.1.1:
[INFO] 
[INFO] Apache Ratis ....................................... SUCCESS [  0.084 s]
[INFO] Apache Ratis Documentation ......................... FAILURE [  0.016 s]
[INFO] Apache Ratis Protocols ............................. SKIPPED
...
[INFO] Apache Ratis Project Assembly ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
...
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-cli) on 
project ratis-docs: The packaging for this project did not assign a file to the 
build artifact
{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to