由于很早以前就迁移到Java 11,maven发布插件无法与构建的工件一起生成javadoc。我在父pom(和编译器插件,如果相关)中的配置:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<doclint>none</doclint>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
</plugin>
如果我做mvn javadoc: javadoc,它工作正常。如果我做mvn干净安装-DperformReleas=true,它工作正常(javadoc是与主工件一起生成的)。
但是,如果我尝试使用mvn release:prepare,然后是mvn release:perform进行真正的构建,那么我根本没有得到任何错误,事实上,我没有得到任何迹象表明它甚至试图调用javadoc插件。我得到的唯一工件是主罐。
mvn版本的输出到此结束:测试全部通过后,执行通常会生成javadoc和源代码的操作,然后maven安装插件也会安装这些内容:
W:\test\momime-gitutilstest>mvn release:prepare
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< com.ndg.common:git-utils >----------------------
[INFO] Building ndgUtils 0.4.5-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-release-plugin:3.0.0-M4:prepare (default-cli) @ git-utils ---
[INFO] phase verify-release-configuration
[INFO] starting prepare goal, composed of 17 phases: check-poms, scm-check-modifications, check-dependency-snapshots, create-backup-poms, map-release-versions, input-variables, map-development-versions, rewrite-poms-for-release, generate-release-poms, run-preparation-goals, scm-commit-release, scm-tag, rewrite-poms-for-development, remove-release-poms, run-completion-goals, scm-commit-development, end-release
[INFO] [prepare] 1/17 check-poms
[INFO] [prepare] 2/17 scm-check-modifications
[INFO] Verifying that there are no local modifications...
[INFO] ignoring changes on: **\pom.xml.next, **\release.properties, **\pom.xml.branch, **\pom.xml.tag, **\pom.xml.backup, **\pom.xml.releaseBackup
[INFO] Executing: cmd.exe /X /C "git rev-parse --show-prefix"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git status --porcelain ."
[INFO] Working directory: W:\test\momime-gitutilstest
[WARNING] Ignoring unrecognized line: ?? release.properties
[INFO] [prepare] 3/17 check-dependency-snapshots
[INFO] Checking dependencies and plugins for snapshots ...
[INFO] [prepare] 4/17 create-backup-poms
[INFO] [prepare] 5/17 map-release-versions
What is the release version for "ndgUtils"? (com.ndg.common:git-utils) 0.4.5: :
[INFO] [prepare] 6/17 input-variables
What is the SCM release tag or label for "ndgUtils"? (com.ndg.common:git-utils) git-utils-0.4.5: :
[INFO] [prepare] 7/17 map-development-versions
What is the new development version for "ndgUtils"? (com.ndg.common:git-utils) 0.4.6-SNAPSHOT: :
[INFO] [prepare] 8/17 rewrite-poms-for-release
[INFO] Transforming 'ndgUtils'...
[INFO] [prepare] 9/17 generate-release-poms
[INFO] Not generating release POMs
[INFO] [prepare] 10/17 run-preparation-goals
[INFO] Executing goals 'clean verify'...
[WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
[INFO] [INFO] ----------------------< com.ndg.common:git-utils >----------------------
[INFO] [INFO] Building ndgUtils 0.4.5
[INFO] [INFO] --------------------------------[ jar ]---------------------------------
[INFO] [INFO]
[INFO] [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ git-utils ---
[INFO] [INFO]
[INFO] [INFO] --- maven-jaxb2-plugin:0.14.0:generate (main-xjc-generate) @ git-utils ---
[INFO] [INFO] Sources are not up-to-date, XJC will be executed.
[INFO] WARNING: An illegal reflective access operation has occurred
[INFO] WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/W:/maven/repository/org/glassfish/jaxb/jaxb-runtime/2.3.0/jaxb-runtime-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
[INFO] WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
[INFO] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[INFO] WARNING: All illegal access operations will be denied in a future release
[INFO] [INFO] Episode file [W:\test\momime-gitutilstest\target\generated-sources\xjc-layoutmanagers\META-INF\layoutmanagers.episode] was augmented with if-exists="true" attributes.
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ git-utils ---
[INFO] [INFO] Using 'cp1252' encoding to copy filtered resources.
[INFO] [INFO] Using 'cp1252' encoding to copy filtered properties files.
[INFO] [INFO] Copying 1 resource
[INFO] [INFO] Copying 1 resource
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ git-utils ---
[INFO] [INFO] Changes detected - recompiling the module!
[INFO] [INFO] Compiling 52 source files to W:\test\momime-gitutilstest\target\classes
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ git-utils ---
[INFO] [INFO] Using 'cp1252' encoding to copy filtered resources.
[INFO] [INFO] Using 'cp1252' encoding to copy filtered properties files.
[INFO] [INFO] Copying 2 resources
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ git-utils ---
[INFO] [INFO] Changes detected - recompiling the module!
[INFO] [INFO] Compiling 20 source files to W:\test\momime-gitutilstest\target\test-classes
[INFO] [INFO]
[INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ git-utils ---
[INFO] [INFO]
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO] T E S T S
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO] Running com.ndg.math.TestRomanNumerals
[INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in com.ndg.math.TestRomanNumerals
[INFO] [INFO] Running com.ndg.swing.layoutmanagers.xmllayout.TestXmlLayoutContainerExImpl
[INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.swing.layoutmanagers.xmllayout.TestXmlLayoutContainerExImpl
[INFO] [INFO] Running com.ndg.swing.layoutmanagers.xmllayout.TestXmlLayoutManager
[INFO] Jul. 11, 2021 11:27:48 A.M. com.ndg.swing.layoutmanagers.xmllayout.XmlLayoutManager layoutContainer
[INFO] WARNING: No entry in XML layout was found for component with name "ButtonFour"
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.894 s - in com.ndg.swing.layoutmanagers.xmllayout.TestXmlLayoutManager
[INFO] [INFO] Running com.ndg.swing.TestJPanelWithConstantRepaints
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.07 s - in com.ndg.swing.TestJPanelWithConstantRepaints
[INFO] [INFO] Running com.ndg.swing.TestMouseClickListener
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.067 s - in com.ndg.swing.TestMouseClickListener
[INFO] [INFO] Running com.ndg.utils.FileNameUtilsTest
[INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 s - in com.ndg.utils.FileNameUtilsTest
[INFO] [INFO] Running com.ndg.utils.NumberUtilsTest
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.NumberUtilsTest
[INFO] [INFO] Running com.ndg.utils.ProcessUtilsImplTest
[INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.ProcessUtilsImplTest
[INFO] [INFO] Running com.ndg.utils.stream.BooleanTest
[INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s - in com.ndg.utils.stream.BooleanTest
[INFO] [INFO] Running com.ndg.utils.stream.DelphiDateTest
[INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.stream.DelphiDateTest
[INFO] [INFO] Running com.ndg.utils.stream.DoubleTest
[INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.stream.DoubleTest
[INFO] [INFO] Running com.ndg.utils.stream.LengthAndStringTest
[INFO] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.stream.LengthAndStringTest
[INFO] [INFO] Running com.ndg.utils.stream.Signed2ByteShortTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in com.ndg.utils.stream.Signed2ByteShortTest
[INFO] [INFO] Running com.ndg.utils.stream.Signed4ByteIntTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.stream.Signed4ByteIntTest
[INFO] [INFO] Running com.ndg.utils.stream.Signed8ByteLongTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.stream.Signed8ByteLongTest
[INFO] [INFO] Running com.ndg.utils.stream.Unsigned2ByteIntTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.stream.Unsigned2ByteIntTest
[INFO] [INFO] Running com.ndg.utils.stream.Unsigned4ByteLongTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.stream.Unsigned4ByteLongTest
[INFO] [INFO] Running com.ndg.utils.StringUtilsTest
[INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 s - in com.ndg.utils.StringUtilsTest
[INFO] [INFO]
[INFO] [INFO] Results:
[INFO] [INFO]
[INFO] [INFO] Tests run: 49, Failures: 0, Errors: 0, Skipped: 0
[INFO] [INFO]
[INFO] [INFO]
[INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ git-utils ---
[INFO] [INFO] Building jar: W:\test\momime-gitutilstest\target\git-utils-0.4.5.jar
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD SUCCESS
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 22.750 s
[INFO] [INFO] Finished at: 2021-07-11T11:28:04-02:30
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [prepare] 11/17 scm-commit-release
[INFO] Checking in modified POMs...
[INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git rev-parse --show-prefix"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git status --porcelain ."
[INFO] Working directory: W:\test\momime-gitutilstest
[WARNING] Ignoring unrecognized line: ?? pom.xml.releaseBackup
[WARNING] Ignoring unrecognized line: ?? release.properties
[WARNING] Ignoring unrecognized line: ?? target/
[INFO] Executing: cmd.exe /X /C "git commit --verbose -F C:\Users\NIGELG~1\AppData\Local\Temp\maven-scm-1323264089.commit"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git push ssh:********@git.code.sf.net/p/momime/gitutilstest refs/heads/develop:refs/heads/develop"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] [prepare] 12/17 scm-tag
[INFO] Tagging release with the label git-utils-0.4.5...
[INFO] Executing: cmd.exe /X /C "git tag -F C:\Users\NIGELG~1\AppData\Local\Temp\maven-scm-79680122.commit git-utils-0.4.5"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git push ssh:********@git.code.sf.net/p/momime/gitutilstest refs/tags/git-utils-0.4.5"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git ls-files"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] [prepare] 13/17 rewrite-poms-for-development
[INFO] Transforming 'ndgUtils'...
[INFO] [prepare] 14/17 remove-release-poms
[INFO] Not removing release POMs
[INFO] [prepare] 15/17 run-completion-goals
[INFO] [prepare] 16/17 scm-commit-development
[INFO] Checking in modified POMs...
[INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git rev-parse --show-prefix"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git status --porcelain ."
[INFO] Working directory: W:\test\momime-gitutilstest
[WARNING] Ignoring unrecognized line: ?? pom.xml.releaseBackup
[WARNING] Ignoring unrecognized line: ?? release.properties
[WARNING] Ignoring unrecognized line: ?? target/
[INFO] Executing: cmd.exe /X /C "git commit --verbose -F C:\Users\NIGELG~1\AppData\Local\Temp\maven-scm-2027775157.commit"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] Executing: cmd.exe /X /C "git push ssh:********@git.code.sf.net/p/momime/gitutilstest refs/heads/develop:refs/heads/develop"
[INFO] Working directory: W:\test\momime-gitutilstest
[INFO] [prepare] 17/17 end-release
[INFO] Release preparation complete.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.197 s
[INFO] Finished at: 2021-07-11T11:28:14-02:30
[INFO] ------------------------------------------------------------------------
W:\test\momime-gitutilstest>mvn release:perform
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< com.ndg.common:git-utils >----------------------
[INFO] Building ndgUtils 0.4.6-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-release-plugin:3.0.0-M4:perform (default-cli) @ git-utils ---
[INFO] phase verify-release-configuration
[INFO] starting perform goal, composed of 3 phases: verify-completed-prepare-phases, checkout-project-from-scm, run-perform-goals
[INFO] [perform] 1/3 verify-completed-prepare-phases
[INFO] [perform] 2/3 checkout-project-from-scm
[INFO] Checking out the project to perform the release ...
[INFO] Executing: cmd.exe /X /C "git clone --depth 1 --branch git-utils-0.4.5 ssh:********@git.code.sf.net/p/momime/gitutilstest checkout"
[INFO] Working directory: W:\test\momime-gitutilstest\target
[INFO] Executing: cmd.exe /X /C "git ls-remote ssh:********@git.code.sf.net/p/momime/gitutilstest"
[INFO] Working directory: C:\Users\NIGELG~1\AppData\Local\Temp
[INFO] Executing: cmd.exe /X /C "git fetch ssh:********@git.code.sf.net/p/momime/gitutilstest"
[INFO] Working directory: W:\test\momime-gitutilstest\target\checkout
[INFO] Executing: cmd.exe /X /C "git checkout git-utils-0.4.5"
[INFO] Working directory: W:\test\momime-gitutilstest\target\checkout
[INFO] Executing: cmd.exe /X /C "git ls-files"
[INFO] Working directory: W:\test\momime-gitutilstest\target\checkout
[INFO] [perform] 3/3 run-perform-goals
[INFO] Invoking perform goals in directory W:\test\momime-gitutilstest\target\checkout
[INFO] Executing goals 'deploy'...
[INFO] pomFileName is already set, ignoring the -f argument
[WARNING] Maven will be executed in interactive mode, but no input stream has been configured for this MavenInvoker instance.
[INFO] [INFO] Scanning for projects...
[INFO] [INFO]
[INFO] [INFO] ----------------------< com.ndg.common:git-utils >----------------------
[INFO] [INFO] Building ndgUtils 0.4.5
[INFO] [INFO] --------------------------------[ jar ]---------------------------------
[INFO] [INFO]
[INFO] [INFO] --- maven-jaxb2-plugin:0.14.0:generate (main-xjc-generate) @ git-utils ---
[INFO] [INFO] Sources are not up-to-date, XJC will be executed.
[INFO] WARNING: An illegal reflective access operation has occurred
[INFO] WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/W:/maven/repository/org/glassfish/jaxb/jaxb-runtime/2.3.0/jaxb-runtime-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
[INFO] WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
[INFO] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
[INFO] WARNING: All illegal access operations will be denied in a future release
[INFO] [INFO] Episode file [W:\test\momime-gitutilstest\target\checkout\target\generated-sources\xjc-layoutmanagers\META-INF\layoutmanagers.episode] was augmented with if-exists="true" attributes.
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ git-utils ---
[INFO] [INFO] Using 'cp1252' encoding to copy filtered resources.
[INFO] [INFO] Using 'cp1252' encoding to copy filtered properties files.
[INFO] [INFO] Copying 1 resource
[INFO] [INFO] Copying 1 resource
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ git-utils ---
[INFO] [INFO] Changes detected - recompiling the module!
[INFO] [INFO] Compiling 52 source files to W:\test\momime-gitutilstest\target\checkout\target\classes
[INFO] [INFO]
[INFO] [INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ git-utils ---
[INFO] [INFO] Using 'cp1252' encoding to copy filtered resources.
[INFO] [INFO] Using 'cp1252' encoding to copy filtered properties files.
[INFO] [INFO] Copying 2 resources
[INFO] [INFO]
[INFO] [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ git-utils ---
[INFO] [INFO] Changes detected - recompiling the module!
[INFO] [INFO] Compiling 20 source files to W:\test\momime-gitutilstest\target\checkout\target\test-classes
[INFO] [INFO]
[INFO] [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ git-utils ---
[INFO] [INFO]
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO] T E S T S
[INFO] [INFO] -------------------------------------------------------
[INFO] [INFO] Running com.ndg.math.TestRomanNumerals
[INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.17 s - in com.ndg.math.TestRomanNumerals
[INFO] [INFO] Running com.ndg.swing.layoutmanagers.xmllayout.TestXmlLayoutContainerExImpl
[INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.swing.layoutmanagers.xmllayout.TestXmlLayoutContainerExImpl
[INFO] [INFO] Running com.ndg.swing.layoutmanagers.xmllayout.TestXmlLayoutManager
[INFO] Jul. 11, 2021 11:28:39 A.M. com.ndg.swing.layoutmanagers.xmllayout.XmlLayoutManager layoutContainer
[INFO] WARNING: No entry in XML layout was found for component with name "ButtonFour"
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.954 s - in com.ndg.swing.layoutmanagers.xmllayout.TestXmlLayoutManager
[INFO] [INFO] Running com.ndg.swing.TestJPanelWithConstantRepaints
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.054 s - in com.ndg.swing.TestJPanelWithConstantRepaints
[INFO] [INFO] Running com.ndg.swing.TestMouseClickListener
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.043 s - in com.ndg.swing.TestMouseClickListener
[INFO] [INFO] Running com.ndg.utils.FileNameUtilsTest
[INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 s - in com.ndg.utils.FileNameUtilsTest
[INFO] [INFO] Running com.ndg.utils.NumberUtilsTest
[INFO] [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.NumberUtilsTest
[INFO] [INFO] Running com.ndg.utils.ProcessUtilsImplTest
[INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.ProcessUtilsImplTest
[INFO] [INFO] Running com.ndg.utils.stream.BooleanTest
[INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s - in com.ndg.utils.stream.BooleanTest
[INFO] [INFO] Running com.ndg.utils.stream.DelphiDateTest
[INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.stream.DelphiDateTest
[INFO] [INFO] Running com.ndg.utils.stream.DoubleTest
[INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.stream.DoubleTest
[INFO] [INFO] Running com.ndg.utils.stream.LengthAndStringTest
[INFO] [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.stream.LengthAndStringTest
[INFO] [INFO] Running com.ndg.utils.stream.Signed2ByteShortTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.stream.Signed2ByteShortTest
[INFO] [INFO] Running com.ndg.utils.stream.Signed4ByteIntTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.stream.Signed4ByteIntTest
[INFO] [INFO] Running com.ndg.utils.stream.Signed8ByteLongTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.stream.Signed8ByteLongTest
[INFO] [INFO] Running com.ndg.utils.stream.Unsigned2ByteIntTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in com.ndg.utils.stream.Unsigned2ByteIntTest
[INFO] [INFO] Running com.ndg.utils.stream.Unsigned4ByteLongTest
[INFO] [INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in com.ndg.utils.stream.Unsigned4ByteLongTest
[INFO] [INFO] Running com.ndg.utils.StringUtilsTest
[INFO] [INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 s - in com.ndg.utils.StringUtilsTest
[INFO] [INFO]
[INFO] [INFO] Results:
[INFO] [INFO]
[INFO] [INFO] Tests run: 49, Failures: 0, Errors: 0, Skipped: 0
[INFO] [INFO]
[INFO] [INFO]
[INFO] [INFO] --- maven-jar-plugin:3.2.0:jar (default-jar) @ git-utils ---
[INFO] [INFO] Building jar: W:\test\momime-gitutilstest\target\checkout\target\git-utils-0.4.5.jar
[INFO] [INFO]
[INFO] [INFO] --- maven-install-plugin:3.0.0-M1:install (default-install) @ git-utils ---
[INFO] [INFO] Installing W:\test\momime-gitutilstest\target\checkout\target\git-utils-0.4.5.jar to W:\maven\repository\com\ndg\common\git-utils\0.4.5\git-utils-0.4.5.jar
[INFO] [INFO] Installing W:\test\momime-gitutilstest\target\checkout\pom.xml to W:\maven\repository\com\ndg\common\git-utils\0.4.5\git-utils-0.4.5.pom
[INFO] [INFO]
[INFO] [INFO] --- maven-deploy-plugin:3.0.0-M1:deploy (default-deploy) @ git-utils ---
我一直在寻找解决这个问题的方法,但是大多数帖子要么是a)javadoc生成失败的人,因为他们没有doclint=no,要么是b)想要完全打开javadoc生成的人。我找不到任何关于如何打开它的信息,因为它应该默认打开。非常感谢任何建议,谢谢。
(编辑:也为maven源插件添加了父pom config和SO标记,因为这与无法运行的问题完全相同)
在进行了大量搜索和尝试后,发现一些不起作用的东西,最终找到了这个必须添加的设置。虽然我仍然很困惑,如果没有这个,这在过去很好地工作,所以他们一定已经将默认值从true改为false了。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>3.0.0-M4</version>
<configuration>
<useReleaseProfile>true</useReleaseProfile>
</configuration>
</plugin>
更新:yes签回版本的发布插件-在3.0.0-M4 useReleaseProfile中默认为true,在2.5.3(最新版本2.x.x)中默认为false。
我下载了适用于Windows的Ruby安装程序,安装了Ruby,然后进行了尝试 错误:执行gem时。。。(Gem::RemoteFetcher::FetchError) SSL_connect返回=1 errno=0 state=SSLv3读取服务器证书B:证书验证失败(https://api.rubygems.org/specs.4.8.gz) 更新已安装的宝石 错误:执行gem时。。。(Gem
命令失败,我无法构建kafka-connect-jdbc源代码。我的意图是修改kafka-connect-jdbc源代码。 我遵循了说明https://github.com/confluentinc/kafka-connect-jdbc/issues/456和https://github.com/confluentinc/kafka-connect-jdbc/wiki/faq 所有这些都不能解决问
我有一个麻烦生成javadoc在Android Studio。我也引用了这个链接,即使这个问题没有解决。不幸的是,我找不到解决办法。 Javadoc失败,没有找到java.lang.FunctionalInterface的类文件 错误是: 在其他命令行参数中:-bootclasspath“C:\ProgramFiles\Java\jre7\lib\rt.jar”;“path\android sdk
我使用的是NetBeans IDE 8.2。这是我正在使用的代码: 加载到cats阵列中的图像位于名为“img”的src文件夹中,编号为1-6。当我从NetBeans IDE运行程序时,它运行得非常完美;然而,当我试图在构建项目后创建的dist文件夹中执行JAR文件时,它根本不会运行。当我尝试使用命令行运行它时,我得到以下结果: 我假设问题是JAR文件无法访问图像文件,但我不知道如何修复它。如何将
当我用依赖项构建项目时,它给出了这个错误。 提前致谢
我试图让一个任务在Windows调度程序运行每10分钟。 下图中有两条蓝线,这只是一个任务,但我在刷新页面后的不同时间截图了它们。 正如您可以在图像任务调度器中看到的,在最后运行时间下的底部蓝线上显示为下午3:37,下一个运行时间为下午5:02。然后在顶部蓝线上,我在下午5:02之后有一个相同任务的屏幕截图,它没有更新上一次运行时间,但它将下一次运行时间向前推了10分钟。 如果我右键单击任务并手动