You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2019/03/27 15:15:00 UTC
[jira] [Commented] (YETUS-823)
releasedocmaker-jar-with-dependencies is missing dependencies
[ https://issues.apache.org/jira/browse/YETUS-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802906#comment-16802906 ]
Allen Wittenauer commented on YETUS-823:
----------------------------------------
-00:
* get the python dependencies actually in the jar
* set the compile to happen actually at compile time
* fix a minor issue where jython isn't setting the correct error when the dir exists
Working pom ('mvn compile'):
{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.10.0-SNAPSHOT</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>releasedocmaker</goal>
</goals>
<configuration>
<projects>
<project>HBASE</project>
</projects>
<sortOrder>newer</sortOrder>
<skipCredits>true</skipCredits>
<license>true</license>
<fileVersions>true</fileVersions>
<versions>
<version>1.0.0</version>
</versions>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
{code}
> 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: Minor
> Attachments: YETUS-823.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)