Hi. > Luc Maisonobe commented on MATH-389: > ------------------------------------ > > At first sight, it seems good to me. > You can check there are incomatibilities by performing the changes locally > and run "clirr" (for example by running "mvn site") and check the clirr > report.
Here is the report on stdout: ---CUT--- [INFO] Comparing to version: 2.1 [ERROR] org.apache.commons.math.MessagesResources_fr: Class org.apache.commons.math.MessagesResources_fr removed [ERROR] org.apache.commons.math.analysis.interpolation.SmoothingBicubicSplineInterpolator: Return type of method 'public org.apache.commons.math.analysis.BivariateRealFunction interpolate(double[], double[], double[][])' has been changed to org.apache.commons.math.analysis.interpolation.BicubicSplineInterpolatingFunction [ERROR] org.apache.commons.math.optimization.DifferentiableMultivariateRealOptimizer: Method 'public org.apache.commons.math.optimization.RealPointValuePair optimize(org.apache.commons.math.analysis.DifferentiableMultivariateRealFunction, org.apache.commons.math.optimization.GoalType, double[])' has been removed [ERROR] org.apache.commons.math.optimization.general.AbstractScalarDifferentiableOptimizer: Field DEFAULT_MAX_ITERATIONS has been removed, but it was previously a constant [ERROR] org.apache.commons.math.optimization.general.AbstractScalarDifferentiableOptimizer: Removed field checker [ERROR] org.apache.commons.math.optimization.general.AbstractScalarDifferentiableOptimizer: Removed field goal [ERROR] org.apache.commons.math.optimization.general.AbstractScalarDifferentiableOptimizer: Removed field point ---CUT--- Concerning the items related to this issue: 3rd item: The method is declared in a superclass. 4th item: The constant is defined in a superclass. It is still "public" but I think that it's a mistake and should be made "private" instead. Last 3 items: The field still exists but in a superclass. The problem would have been prevented if those fields were "private" instead of "protected". So, what does that mean with respect to committing the changes into the trunk? I tried to see whether similar changes where present between 2.0 an 2.1 but "mvn install" doesn't work on the source tree located at: http://svn.apache.org/repos/asf/commons/proper/math/tags/MATH_2_0 [I've attached the console output.] Gilles
[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building Commons Math [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-jar-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/2.2/maven-jar-plugin-2.2.pom [WARNING] Unable to get resource 'org.apache.maven.plugins:maven-jar-plugin:pom:2.2' from repository central (http://repo1.maven.org/maven2): Error transferring file: Network is unreachable [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: org.apache.maven.plugins:maven-jar-plugin Reason: POM 'org.apache.maven.plugins:maven-jar-plugin' not found in repository: Unable to download the artifact from any repository org.apache.maven.plugins:maven-jar-plugin:pom:2.2 from the specified remote repositories: apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository), central (http://repo1.maven.org/maven2) for project org.apache.maven.plugins:maven-jar-plugin [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: < 1 second [INFO] Finished at: Thu Jul 22 12:37:05 CEST 2010 [INFO] Final Memory: 6M/74M [INFO] ------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org