[ 
https://issues.apache.org/jira/browse/YETUS-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16808995#comment-16808995
 ] 

stack commented on YETUS-823:
-----------------------------

+1 I tried it and works for me.

To add to note above, when I try the "doesn't work" direct invocation, I get:

[INFO] --- yetus-maven-plugin:0.10.0-SNAPSHOT:releasedocmaker (default-cli) @ 
create-release ---
JIRA returns HTTP error 400: 400. Aborting.
- Please ensure that specified authentication, projects, fixVersions etc. are 
correct.
- The value 'create-release' does not exist for the field 'project'.

... which makes sense given the [~aw] explanation.

> releasedocmaker-jar-with-dependencies is missing dependencies
> -------------------------------------------------------------
>
>                 Key: YETUS-823
>                 URL: https://issues.apache.org/jira/browse/YETUS-823
>             Project: Yetus
>          Issue Type: Bug
>          Components: yetus-maven-plugin
>    Affects Versions: 0.9.0
>            Reporter: stack
>            Assignee: Allen Wittenauer
>            Priority: Blocker
>             Fix For: 0.10.0
>
>         Attachments: YETUS-823.00.patch, YETUS-823.addendum.00.patch
>
>
> I was trying to use the fancy new plugin but got stuck. Seems like I need to 
> specify a different jar, one w/ dependencies (the jython jars referred to in 
> doc?).
> Below are error and the pom I have. Not critical. Just messing. Thanks.
> {code}
> $ mvn org.apache.yetus:yetus-maven-plugin:0.9.0:releasedocmaker -f pom.xml
> [INFO] Scanning for projects...
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/yetus-maven-plugin/0.9.0/yetus-maven-plugin-0.9.0.pom
> Downloaded from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/yetus-maven-plugin/0.9.0/yetus-maven-plugin-0.9.0.pom
>  (4.8 kB at 10 kB/s)
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/yetus-project/0.9.0/yetus-project-0.9.0.pom
> Downloaded from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/yetus-project/0.9.0/yetus-project-0.9.0.pom
>  (12 kB at 119 kB/s)
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/yetus-maven-plugin/0.9.0/yetus-maven-plugin-0.9.0.jar
> Downloaded from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/yetus-maven-plugin/0.9.0/yetus-maven-plugin-0.9.0.jar
>  (36 kB at 275 kB/s)
> [INFO]
> [INFO] ------------------< org.apache.hbase:create-release 
> >-------------------
> [INFO] Building create-release 1.0-SNAPSHOT
> [INFO] --------------------------------[ jar 
> ]---------------------------------
> [INFO]
> [INFO] --- yetus-maven-plugin:0.9.0:releasedocmaker (default-cli) @ 
> create-release ---
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/audience-annotations/0.9.0/audience-annotations-0.9.0.pom
> Downloaded from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/audience-annotations/0.9.0/audience-annotations-0.9.0.pom
>  (3.1 kB at 34 kB/s)
> [WARNING] The POM for org.apache.yetus:audience-annotations:jar:0.9.0 is 
> invalid, transitive dependencies (if any) will not be available, enable debug 
> logging for more details
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/releasedocmaker/0.9.0/releasedocmaker-0.9.0.pom
> [WARNING] The POM for 
> org.apache.yetus:releasedocmaker:jar:jar-with-dependencies:0.9.0 is missing, 
> no dependency information available
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/audience-annotations/0.9.0/audience-annotations-0.9.0.jar
> Downloading from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/releasedocmaker/0.9.0/releasedocmaker-0.9.0-jar-with-dependencies.jar
> Downloaded from central: 
> https://repo.maven.apache.org/maven2/org/apache/yetus/audience-annotations/0.9.0/audience-annotations-0.9.0.jar
>  (21 kB at 124 kB/s)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time:  1.785 s
> [INFO] Finished at: 2019-03-20T23:22:06-07:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.yetus:yetus-maven-plugin:0.9.0:releasedocmaker (default-cli) on 
> project create-release: Execution default-cli of goal 
> org.apache.yetus:yetus-maven-plugin:0.9.0:releasedocmaker failed: Plugin 
> org.apache.yetus:yetus-maven-plugin:0.9.0 or one of its dependencies could 
> not be resolved: Could not find artifact 
> org.apache.yetus:releasedocmaker:jar:jar-with-dependencies:0.9.0 in central 
> (https://repo.maven.apache.org/maven2) -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
> {code}
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <project xmlns="http://maven.apache.org/POM/4.0.0";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>   http://maven.apache.org/xsd/maven-4.0.0.xsd";>
>     <modelVersion>4.0.0</modelVersion>
>     <groupId>org.apache.hbase</groupId>
>     <artifactId>create-release</artifactId>
>     <version>1.0-SNAPSHOT</version>
>     <build>
>       <plugins>
>         <plugin>
>           <groupId>org.apache.yetus</groupId>
>           <artifactId>yetus-maven-plugin</artifactId>
>           <version>0.9.0</version>
>           <executions>
>             <execution>
>               <goals>
>                 <goal>releasedocmaker</goal>
>               </goals>
>               <configuration>
>                 <project>HBASE</project>
>                 <sortOrder>newer</sortOrder>
>                 <skipCredits>true</skipCredits>
>                 <license>true</license>
>                 <fileVersions>true</fileVersions>
>               </configuration>
>             </execution>
>           </executions>
>         </plugin>
>       </plugins>
>     </build>
> </project>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to