[
https://issues.apache.org/jira/browse/YETUS-823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805924#comment-16805924
]
Allen Wittenauer edited comment on YETUS-823 at 3/30/19 6:46 PM:
-----------------------------------------------------------------
It's not. Source is here:
https://sourceforge.net/p/mavenjython/code/ci/pip/tree/
Looking at the source, there is an undocumented property
temporaryBuildDirectory that is clearly missing the build directory
information. Setting that property to
${project.build.directory}/jython-plugins-tmp/ means the build works regardless
of directory. I've run mvn deploy from the root of the source tree, wiped
org.apache.yetus from my m2 cache, and ran the sample. It worked. So now it's
all starting to make sense. :)
I'll prepare another patch that adds this line to the pom.
was (Author: aw):
It's not. Source is here:
https://sourceforge.net/p/mavenjython/code/ci/pip/tree/
Looking at the source, there is an undocumented property tempBuildDirectory
that is clearly missing the build directory information. Setting that property
to ${project.build.directory}/jython-plugins-tmp/ means the build works
regardless of directory. I've run mvn deploy from the root of the source tree,
wiped org.apache.yetus from my m2 cache, and ran the sample. It worked. So
now it's all starting to make sense. :)
I'll prepare another patch that adds this line to the pom.
> 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
>
>
> 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)