I've raised https://github.com/siom79/japicmp/issues/148 to ask if the
japicmp report can be skipped if the "mvn package" phase has not been
run.


If someone does 'mvn site', would it not be typically from the trunk
or after running 'mvn package'?

For now, do you think it's enough to add the requirement for "mvn
package site" to the README on trunk?

I guess most compiling users would not build the site, they would
build the JAR with "mvn package" or "mvn install".



I activated japicmp according to
http://central.maven.org/maven2/org/apache/commons/commons-parent/41/commons-parent-41.pom
by adding src/site/resources/profile.japicmp
 - how are other components using japicmp?


On 15 September 2016 at 09:34, Stian Soiland-Reyes <st...@apache.org> wrote:
> I wonder if japicmp needs
>
> mvn clean package site
>
> So that it will have a JAR to compare. Did that work with you?
>
> I'll have a look at the other errors.
>
>
> On 15 Sep 2016 6:49 a.m., "Gary Gregory" <garydgreg...@gmail.com> wrote:
>>
>> From the src zip: MD5, SHA1, ASC OK.
>>
>> -1 because I cannot run 'mvn clean site' not matter what version of Java I
>> use: 6, 7, or 8.
>>
>> Users must be able to download the source zip or checkout this release
>> tag,
>> apply mods and rebuild and see that they did not cause regressions or
>> break
>> things.
>>
>> Building with 'mvn clean site' fails with Java 6 and Maven 3.0.5 due to:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
>> project commons-beanutils: Execution default-site of goal
>> org.apache.maven.plugins:maven-site-plugin:3.4:site failed: An API
>> incompatibility was encountered while executing
>> org.apache.maven.plugins:maven-site-plugin:3.4:site:
>> java.lang.UnsupportedClassVersionError: japicmp/maven/JApiCmpReport :
>> Unsupported major.minor version 51.0
>>
>> This is not a blocker but MUST be documented in the RN and site IMO.
>>
>> Building with 'mvn clean site' fails with Java 8 and Maven 3.3.9 due to
>> doclint errors; not a blocker but MUST be documented in the RN and site
>> IMO.
>>
>> Building with 'mvn clean site' fails with Java 7 and Maven 3.0.5
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 2:30.776s
>> [INFO] Finished at: Wed Sep 14 22:43:23 PDT 2016
>> [INFO] Final Memory: 51M/526M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
>> project commons-beanutils: Error generating
>> japicmp-maven-plugin:0.9.0:cmp-report: Failed to generate report: Please
>> provide at least one resolvable
>> new version using one of the configuration elements <newVersion/> or
>> <newVersions/>. -> [Help 1]
>>
>> Gary
>>
>>
>>
>> On Wed, Sep 14, 2016 at 8:45 AM, Stian Soiland-Reyes <st...@apache.org>
>> wrote:
>>
>> > This is a [VOTE] for releasing Apache Commons BeanUtils 1.9.3 (from RC2)
>> >
>> >
>> > SVN tag:
>> >   https://svn.apache.org/repos/asf/commons/proper/beanutils/
>> > tags/BEANUTILS_1_9_3_RC2/
>> >
>> > Site:
>> >   https://stain.github.io/commons-beanutils/1.9.3-rc2/
>> >
>> > Javadoc:
>> >   https://stain.github.io/commons-beanutils/1.9.3-rc2/apidocs/index.html
>> >
>> > API changes since 1.9.2 (japicmp):
>> >   https://stain.github.io/commons-beanutils/1.9.3-rc2/japicmp.html
>> >
>> > RAT report:
>> >   https://stain.github.io/commons-beanutils/1.9.3-rc2/rat-report.html
>> >
>> > Distribution files (rev 15358)
>> >   https://dist.apache.org/repos/dist/dev/commons/beanutils/
>> > BEANUTILS_1_9_3_RC2/
>> >
>> >
>> > Distribution files hashes (SHA1):
>> >
>> > 40b7b1639eedf91b5fad5d38e6ebec01e659048f  commons-rng-1.0-src.tar.gz
>> > 6296dbabde10169d6365bda99f2af6dcc191e515  commons-rng-1.0-src.zip
>> > a221e862c8ff970a9ca3e7fbd86c3200d1f8780a  commons-rng-1.0-bin.tar.gz
>> > 689b2bfbdb1856d4f47851d75762aab42057805a  commons-rng-1.0-bin.zip
>> >
>> >
>> > KEYS file to check signatures:
>> >   http://www.apache.org/dist/commons/KEYS
>> >
>> > Maven artifacts:
>> >   https://repository.apache.org/content/repositories/
>> > orgapachecommons-1200/
>> >
>> >
>> > [ ] +1 Release it.
>> > [ ] +0 Go ahead; I don't care.
>> > [ ] -0 There are a few minor glitches: ...
>> > [ ] -1 No, do not release it because ...
>> >
>> > This vote will be open for at least 72 hours, let's say
>> > 2016-09-19T08:00:00Z
>> >
>> > --
>> > Stian Soiland-Reyes
>> > http://orcid.org/0000-0001-9842-9718
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
>> > For additional commands, e-mail: dev-h...@commons.apache.org
>> >
>> >
>>
>>
>> --
>> E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
>> Java Persistence with Hibernate, Second Edition
>> <http://www.manning.com/bauer3/>
>> JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
>> Spring Batch in Action <http://www.manning.com/templier/>
>> Blog: http://garygregory.wordpress.com
>> Home: http://garygregory.com/
>> Tweet! http://twitter.com/GaryGregory



-- 
Stian Soiland-Reyes
http://orcid.org/0000-0001-9842-9718

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to