added rat plugin and licenses where reqd
Project: http://git-wip-us.apache.org/repos/asf/mahout/repo Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/4f18f402 Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/4f18f402 Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/4f18f402 Branch: refs/heads/branch-0.14.0 Commit: 4f18f402a289de7fb41f067c411bd059d3b0138d Parents: 65c8aae Author: Trevor a.k.a @rawkintrevo <[email protected]> Authored: Sun Jun 3 11:23:42 2018 -0500 Committer: Trevor a.k.a @rawkintrevo <[email protected]> Committed: Sun Jun 3 11:23:42 2018 -0500 ---------------------------------------------------------------------- community/community-engines/flink-batch/pom.xml | 6 ++ .../mahout/flinkbindings/blas/FlinkOpAewB.scala | 16 +++ community/community-engines/h2o/pom.xml | 6 ++ .../apache/mahout/h2o/common/DrmMetadata.scala | 16 +++ .../h2obindings/drm/CheckpointedDrmH2O.scala | 16 +++ .../h2obindings/test/LoggerConfiguration.scala | 16 +++ community/community-engines/pom.xml | 10 ++ community/mahout-mr/pom.xml | 6 ++ community/pom.xml | 11 ++ community/spark-cli-drivers/pom.xml | 9 ++ core/pom.xml | 6 ++ .../apache/mahout/math/backend/Backend.scala | 16 +++ .../mahout/math/backend/SolverFactory.scala | 16 +++ .../mahout/math/backend/incore/package.scala | 16 +++ .../mahout/math/backend/jvm/JvmBackend.scala | 16 +++ .../mahout/math/decompositions/DSSVD.scala | 16 +++ .../apache/mahout/math/drm/logical/OpPar.scala | 16 +++ .../scala/org/apache/mahout/math/package.scala | 16 +++ .../mahout/math/backend/BackendSuite.scala | 16 +++ .../mahout/test/LoggerConfiguration.scala | 16 +++ engine/hdfs/pom.xml | 10 ++ engine/pom.xml | 10 ++ engine/spark/pom.xml | 7 +- .../mahout/sparkbindings/blas/AinCoreB.scala | 16 +++ .../apache/mahout/sparkbindings/blas/Ax.scala | 16 +++ .../apache/mahout/sparkbindings/blas/Par.scala | 16 +++ .../mahout/sparkbindings/blas/Slicing.scala | 16 +++ .../drm/CheckpointedDrmSparkOps.scala | 16 +++ experimental/pom.xml | 9 ++ experimental/viennacl-omp/pom.xml | 6 ++ experimental/viennacl-omp/runs | 32 ------ .../viennacl/openmp/javacpp/Context.scala | 16 +++ .../openmp/javacpp/DenseRowMatrix.scala | 16 +++ .../viennacl/openmp/javacpp/VCLVector.scala | 16 +++ .../apache/mahout/viennacl/openmp/package.scala | 16 +++ .../mahout/viennacl/omp/ViennaCLSuiteOMP.scala | 16 +++ experimental/viennacl/pom.xml | 6 ++ .../apache/mahout/viennacl/opencl/package.scala | 16 +++ pom.xml | 100 +++++++++++-------- refactor-readme.md | 15 ++- 40 files changed, 559 insertions(+), 74 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/community-engines/flink-batch/pom.xml ---------------------------------------------------------------------- diff --git a/community/community-engines/flink-batch/pom.xml b/community/community-engines/flink-batch/pom.xml index 64083f7..3e89c4c 100644 --- a/community/community-engines/flink-batch/pom.xml +++ b/community/community-engines/flink-batch/pom.xml @@ -40,6 +40,12 @@ <build> <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + <!-- copy jars to top directory, which is MAHOUT_HOME --> <plugin> <artifactId>maven-antrun-plugin</artifactId> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/community-engines/flink-batch/src/main/scala/org/apache/mahout/flinkbindings/blas/FlinkOpAewB.scala ---------------------------------------------------------------------- diff --git a/community/community-engines/flink-batch/src/main/scala/org/apache/mahout/flinkbindings/blas/FlinkOpAewB.scala b/community/community-engines/flink-batch/src/main/scala/org/apache/mahout/flinkbindings/blas/FlinkOpAewB.scala index a3be618..cd980b5 100644 --- a/community/community-engines/flink-batch/src/main/scala/org/apache/mahout/flinkbindings/blas/FlinkOpAewB.scala +++ b/community/community-engines/flink-batch/src/main/scala/org/apache/mahout/flinkbindings/blas/FlinkOpAewB.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.flinkbindings.blas http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/community-engines/h2o/pom.xml ---------------------------------------------------------------------- diff --git a/community/community-engines/h2o/pom.xml b/community/community-engines/h2o/pom.xml index 89f560c..2a3cd05 100644 --- a/community/community-engines/h2o/pom.xml +++ b/community/community-engines/h2o/pom.xml @@ -43,6 +43,12 @@ <build> <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + <!-- copy jars to top directory, which is MAHOUT_HOME --> <plugin> <artifactId>maven-antrun-plugin</artifactId> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2o/common/DrmMetadata.scala ---------------------------------------------------------------------- diff --git a/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2o/common/DrmMetadata.scala b/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2o/common/DrmMetadata.scala index 33aafef..5100b50 100644 --- a/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2o/common/DrmMetadata.scala +++ b/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2o/common/DrmMetadata.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.h2o.common import scala.reflect.ClassTag http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2obindings/drm/CheckpointedDrmH2O.scala ---------------------------------------------------------------------- diff --git a/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2obindings/drm/CheckpointedDrmH2O.scala b/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2obindings/drm/CheckpointedDrmH2O.scala index faf584a..876b1fd 100644 --- a/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2obindings/drm/CheckpointedDrmH2O.scala +++ b/community/community-engines/h2o/src/main/scala/org/apache/mahout/h2obindings/drm/CheckpointedDrmH2O.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.h2obindings.drm import org.apache.mahout.h2obindings._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/community-engines/h2o/src/test/scala/org/apache/mahout/h2obindings/test/LoggerConfiguration.scala ---------------------------------------------------------------------- diff --git a/community/community-engines/h2o/src/test/scala/org/apache/mahout/h2obindings/test/LoggerConfiguration.scala b/community/community-engines/h2o/src/test/scala/org/apache/mahout/h2obindings/test/LoggerConfiguration.scala index 98e5a42..f905422 100644 --- a/community/community-engines/h2o/src/test/scala/org/apache/mahout/h2obindings/test/LoggerConfiguration.scala +++ b/community/community-engines/h2o/src/test/scala/org/apache/mahout/h2obindings/test/LoggerConfiguration.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.h2obindings.test import org.scalatest.{Suite, ConfigMap} http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/community-engines/pom.xml ---------------------------------------------------------------------- diff --git a/community/community-engines/pom.xml b/community/community-engines/pom.xml index d48d461..0d006f7 100644 --- a/community/community-engines/pom.xml +++ b/community/community-engines/pom.xml @@ -38,4 +38,14 @@ <module>h2o</module> <module>flink-batch</module> </modules> + + <build> + <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + </plugins> + </build> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/mahout-mr/pom.xml ---------------------------------------------------------------------- diff --git a/community/mahout-mr/pom.xml b/community/mahout-mr/pom.xml index 6db69a1..cf03000 100644 --- a/community/mahout-mr/pom.xml +++ b/community/mahout-mr/pom.xml @@ -51,6 +51,12 @@ </resource> </resources> <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + <!-- copy jars to top directory, which is MAHOUT_HOME --> <plugin> <artifactId>maven-antrun-plugin</artifactId> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/pom.xml ---------------------------------------------------------------------- diff --git a/community/pom.xml b/community/pom.xml index 1212ac8..a5ef74a 100644 --- a/community/pom.xml +++ b/community/pom.xml @@ -40,6 +40,17 @@ </modules> + <build> + <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + </plugins> + </build> + + <profiles> <profile> <id>mahout-mr</id> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/community/spark-cli-drivers/pom.xml ---------------------------------------------------------------------- diff --git a/community/spark-cli-drivers/pom.xml b/community/spark-cli-drivers/pom.xml index 1785619..636bc63 100644 --- a/community/spark-cli-drivers/pom.xml +++ b/community/spark-cli-drivers/pom.xml @@ -32,6 +32,15 @@ <description>These drivers will allow you to compile a handy Apache Spark App which utilizes Apache Mahout. </description> + <build> + <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + </plugins> + </build> <packaging>jar</packaging> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/pom.xml ---------------------------------------------------------------------- diff --git a/core/pom.xml b/core/pom.xml index cdb26fc..6c9dd43 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -187,6 +187,12 @@ </execution> </executions> </plugin> + + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> </plugins> </build> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/main/scala/org/apache/mahout/math/backend/Backend.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/mahout/math/backend/Backend.scala b/core/src/main/scala/org/apache/mahout/math/backend/Backend.scala index 9dfb7f2..d30417c 100644 --- a/core/src/main/scala/org/apache/mahout/math/backend/Backend.scala +++ b/core/src/main/scala/org/apache/mahout/math/backend/Backend.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.math.backend import org.apache.mahout.math.backend.jvm.JvmBackend http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/main/scala/org/apache/mahout/math/backend/SolverFactory.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/mahout/math/backend/SolverFactory.scala b/core/src/main/scala/org/apache/mahout/math/backend/SolverFactory.scala index 756b971..5a4604a 100644 --- a/core/src/main/scala/org/apache/mahout/math/backend/SolverFactory.scala +++ b/core/src/main/scala/org/apache/mahout/math/backend/SolverFactory.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.math.backend import scala.collection.{Iterable, Map} http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/main/scala/org/apache/mahout/math/backend/incore/package.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/mahout/math/backend/incore/package.scala b/core/src/main/scala/org/apache/mahout/math/backend/incore/package.scala index 1bb4480..cfb34c2 100644 --- a/core/src/main/scala/org/apache/mahout/math/backend/incore/package.scala +++ b/core/src/main/scala/org/apache/mahout/math/backend/incore/package.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.math.backend import org.apache.mahout.math.scalabindings.{MMBinaryFunc, MMUnaryFunc} http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/main/scala/org/apache/mahout/math/backend/jvm/JvmBackend.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/mahout/math/backend/jvm/JvmBackend.scala b/core/src/main/scala/org/apache/mahout/math/backend/jvm/JvmBackend.scala index 6588243..34d48c3 100644 --- a/core/src/main/scala/org/apache/mahout/math/backend/jvm/JvmBackend.scala +++ b/core/src/main/scala/org/apache/mahout/math/backend/jvm/JvmBackend.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.math.backend.jvm import org.apache.mahout.math._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/main/scala/org/apache/mahout/math/decompositions/DSSVD.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/mahout/math/decompositions/DSSVD.scala b/core/src/main/scala/org/apache/mahout/math/decompositions/DSSVD.scala index d917d11..8d167d6 100644 --- a/core/src/main/scala/org/apache/mahout/math/decompositions/DSSVD.scala +++ b/core/src/main/scala/org/apache/mahout/math/decompositions/DSSVD.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.math.decompositions import org.apache.mahout.math.{Matrices, Matrix, Vector} http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/main/scala/org/apache/mahout/math/drm/logical/OpPar.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/mahout/math/drm/logical/OpPar.scala b/core/src/main/scala/org/apache/mahout/math/drm/logical/OpPar.scala index 2402b1f..d7e6469 100644 --- a/core/src/main/scala/org/apache/mahout/math/drm/logical/OpPar.scala +++ b/core/src/main/scala/org/apache/mahout/math/drm/logical/OpPar.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.math.drm.logical import org.apache.mahout.math.drm.DrmLike http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/main/scala/org/apache/mahout/math/package.scala ---------------------------------------------------------------------- diff --git a/core/src/main/scala/org/apache/mahout/math/package.scala b/core/src/main/scala/org/apache/mahout/math/package.scala index eac953a..e5f67bc 100644 --- a/core/src/main/scala/org/apache/mahout/math/package.scala +++ b/core/src/main/scala/org/apache/mahout/math/package.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout package object math { http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/test/scala/org/apache/mahout/math/backend/BackendSuite.scala ---------------------------------------------------------------------- diff --git a/core/src/test/scala/org/apache/mahout/math/backend/BackendSuite.scala b/core/src/test/scala/org/apache/mahout/math/backend/BackendSuite.scala index ba6e145..e250d72 100644 --- a/core/src/test/scala/org/apache/mahout/math/backend/BackendSuite.scala +++ b/core/src/test/scala/org/apache/mahout/math/backend/BackendSuite.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.math.backend import org.apache.mahout.math.backend.jvm.JvmBackend http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/core/src/test/scala/org/apache/mahout/test/LoggerConfiguration.scala ---------------------------------------------------------------------- diff --git a/core/src/test/scala/org/apache/mahout/test/LoggerConfiguration.scala b/core/src/test/scala/org/apache/mahout/test/LoggerConfiguration.scala index 7a34aa2..7c5d1bc 100644 --- a/core/src/test/scala/org/apache/mahout/test/LoggerConfiguration.scala +++ b/core/src/test/scala/org/apache/mahout/test/LoggerConfiguration.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.test import org.scalatest._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/engine/hdfs/pom.xml ---------------------------------------------------------------------- diff --git a/engine/hdfs/pom.xml b/engine/hdfs/pom.xml index c9a011b..b09de9b 100644 --- a/engine/hdfs/pom.xml +++ b/engine/hdfs/pom.xml @@ -34,6 +34,16 @@ <packaging>jar</packaging> + <build> + <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + + </plugins> + </build> <!--<build>--> <!--<resources>--> <!--<resource>--> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/engine/pom.xml ---------------------------------------------------------------------- diff --git a/engine/pom.xml b/engine/pom.xml index aa103ef..8ca834a 100644 --- a/engine/pom.xml +++ b/engine/pom.xml @@ -43,4 +43,14 @@ <dependencies> </dependencies> + + <build> + <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + </plugins> + </build> </project> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/engine/spark/pom.xml ---------------------------------------------------------------------- diff --git a/engine/spark/pom.xml b/engine/spark/pom.xml index 2ef995e..36d02f2 100644 --- a/engine/spark/pom.xml +++ b/engine/spark/pom.xml @@ -43,8 +43,13 @@ <build> <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> - + <!-- Pre-refactor plugins start here --> <plugin> <artifactId>maven-javadoc-plugin</artifactId> </plugin> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/AinCoreB.scala ---------------------------------------------------------------------- diff --git a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/AinCoreB.scala b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/AinCoreB.scala index bf0f903..e7e95fb 100644 --- a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/AinCoreB.scala +++ b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/AinCoreB.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.sparkbindings.blas import org.apache.mahout.math._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Ax.scala ---------------------------------------------------------------------- diff --git a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Ax.scala b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Ax.scala index 3cc4c27..2063b9d 100644 --- a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Ax.scala +++ b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Ax.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.sparkbindings.blas import org.apache.mahout.math._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Par.scala ---------------------------------------------------------------------- diff --git a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Par.scala b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Par.scala index 974c8db..dbef196 100644 --- a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Par.scala +++ b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Par.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.sparkbindings.blas import org.apache.mahout.logging._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Slicing.scala ---------------------------------------------------------------------- diff --git a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Slicing.scala b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Slicing.scala index a100443..821c205 100644 --- a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Slicing.scala +++ b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/blas/Slicing.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.sparkbindings.blas import org.apache.mahout.sparkbindings.drm.DrmRddInput http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/drm/CheckpointedDrmSparkOps.scala ---------------------------------------------------------------------- diff --git a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/drm/CheckpointedDrmSparkOps.scala b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/drm/CheckpointedDrmSparkOps.scala index e745a24..c9c4174 100644 --- a/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/drm/CheckpointedDrmSparkOps.scala +++ b/engine/spark/src/main/scala/org/apache/mahout/sparkbindings/drm/CheckpointedDrmSparkOps.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.sparkbindings.drm import org.apache.mahout.math.drm.CheckpointedDrm http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/pom.xml ---------------------------------------------------------------------- diff --git a/experimental/pom.xml b/experimental/pom.xml index 71e536c..fbe26f2 100644 --- a/experimental/pom.xml +++ b/experimental/pom.xml @@ -42,4 +42,13 @@ <module>viennacl-omp</module> </modules> + <build> + <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + </plugins> + </build> </project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl-omp/pom.xml ---------------------------------------------------------------------- diff --git a/experimental/viennacl-omp/pom.xml b/experimental/viennacl-omp/pom.xml index fa57e2c..ba5b46a 100644 --- a/experimental/viennacl-omp/pom.xml +++ b/experimental/viennacl-omp/pom.xml @@ -37,6 +37,12 @@ <build> <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + <!-- create test jar so other modules can reuse the native test utility classes. --> <plugin> <groupId>org.apache.maven.plugins</groupId> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl-omp/runs ---------------------------------------------------------------------- diff --git a/experimental/viennacl-omp/runs b/experimental/viennacl-omp/runs deleted file mode 100644 index a152244..0000000 --- a/experimental/viennacl-omp/runs +++ /dev/null @@ -1,32 +0,0 @@ -original -row-major viennacl::matrix - + OCL matrix memory domain after assgn=2 -- dense vcl mmul with fast_copy -- mmul microbenchmark - + Mahout multiplication time: 15699 ms. - + ViennaCL/OpenCL multiplication time: 3625 ms. - + ompA mem domain:1 - + ompB mem domain:1 - + ViennaCL/cpu/OpenMP multiplication time: 2838 ms. - -with sys.ArrayCopy, all dense. -ViennaCLSuite: -- row-major viennacl::matrix - + OCL matrix memory domain after assgn=2 -- dense vcl mmul with fast_copy -- mmul microbenchmark - + Mahout multiplication time: 15407 ms. - + ViennaCL/OpenCL multiplication time: 3499 ms. - + ompA mem domain:1 - + ompB mem domain:1 - + ViennaCL/cpu/OpenMP multiplication time: 2714 ms. - -DL latest -ViennaCLSuite: -- row-major viennacl::matrix - + OCL matrix memory domain after assgn=2 -- dense vcl mmul with fast_copy -- mmul microbenchmark - + Mahout multiplication time: 16076 ms. - + ViennaCL/OpenCL multiplication time: 3360 ms. - + ViennaCL/cpu/OpenMP multiplication time: 2666 ms. http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/Context.scala ---------------------------------------------------------------------- diff --git a/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/Context.scala b/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/Context.scala index ae1b782..3428006 100644 --- a/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/Context.scala +++ b/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/Context.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.viennacl.openmp.javacpp http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/DenseRowMatrix.scala ---------------------------------------------------------------------- diff --git a/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/DenseRowMatrix.scala b/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/DenseRowMatrix.scala index 7bbd3a0..5885e57 100644 --- a/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/DenseRowMatrix.scala +++ b/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/DenseRowMatrix.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.viennacl.openmp.javacpp import org.bytedeco.javacpp.DoublePointer http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/VCLVector.scala ---------------------------------------------------------------------- diff --git a/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/VCLVector.scala b/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/VCLVector.scala index 33947ec..183de03 100644 --- a/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/VCLVector.scala +++ b/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/javacpp/VCLVector.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.viennacl.openmp.javacpp import org.bytedeco.javacpp._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/package.scala ---------------------------------------------------------------------- diff --git a/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/package.scala b/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/package.scala index 89af010..da68598 100644 --- a/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/package.scala +++ b/experimental/viennacl-omp/src/main/scala/org/apache/mahout/viennacl/openmp/package.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.viennacl import java.nio._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl-omp/src/test/scala/org/apache/mahout/viennacl/omp/ViennaCLSuiteOMP.scala ---------------------------------------------------------------------- diff --git a/experimental/viennacl-omp/src/test/scala/org/apache/mahout/viennacl/omp/ViennaCLSuiteOMP.scala b/experimental/viennacl-omp/src/test/scala/org/apache/mahout/viennacl/omp/ViennaCLSuiteOMP.scala index af29e3c..b22c0a8 100644 --- a/experimental/viennacl-omp/src/test/scala/org/apache/mahout/viennacl/omp/ViennaCLSuiteOMP.scala +++ b/experimental/viennacl-omp/src/test/scala/org/apache/mahout/viennacl/omp/ViennaCLSuiteOMP.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.viennacl.openmp import org.apache.mahout.math._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl/pom.xml ---------------------------------------------------------------------- diff --git a/experimental/viennacl/pom.xml b/experimental/viennacl/pom.xml index 98267e0..007ccb3 100644 --- a/experimental/viennacl/pom.xml +++ b/experimental/viennacl/pom.xml @@ -37,6 +37,12 @@ <build> <plugins> + <!-- ensure licenses --> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + </plugin> + <!-- create test jar so other modules can reuse the native test utility classes. --> <plugin> <groupId>org.apache.maven.plugins</groupId> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/experimental/viennacl/src/main/scala/org/apache/mahout/viennacl/opencl/package.scala ---------------------------------------------------------------------- diff --git a/experimental/viennacl/src/main/scala/org/apache/mahout/viennacl/opencl/package.scala b/experimental/viennacl/src/main/scala/org/apache/mahout/viennacl/opencl/package.scala index 8c3743a..9365608 100644 --- a/experimental/viennacl/src/main/scala/org/apache/mahout/viennacl/opencl/package.scala +++ b/experimental/viennacl/src/main/scala/org/apache/mahout/viennacl/opencl/package.scala @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.mahout.viennacl import java.nio._ http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 68ea446..e2d7a33 100644 --- a/pom.xml +++ b/pom.xml @@ -98,7 +98,7 @@ <prerequisites> <maven>3.3.3</maven> </prerequisites> - <!-- do we need this still? --> + <!-- Required for Release Plugin --> <scm> <connection>scm:git:[email protected]:apache/mahout.git</connection> <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/mahout.git</developerConnection> @@ -108,8 +108,8 @@ <!-- --> <properties> - <!--<skipTests>false</skipTests>--> + <apache-rat.plugin.version>0.12</apache-rat.plugin.version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <slf4j.version>1.7.22</slf4j.version> @@ -584,6 +584,7 @@ <optimize>true</optimize> </configuration> </plugin> + <!-- TODO This isn't done (release plugin)--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> @@ -596,7 +597,63 @@ <arguments>${arguments}</arguments> </configuration> </plugin> + <!-- TODO ^^ not done --> </plugins> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>${apache-rat.plugin.version}</version> + <executions> + <execution> + <phase>validate</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <licenses> + <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense"> + <patterns> + <note>CERN license for Colt -- basically only requires attribution</note> + <pattern>1999 CERN - European Organization for Nuclear Research</pattern> + </patterns> + </license> + <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense"> + <patterns> + <pattern>public domain</pattern> + </patterns> + </license> + </licenses> + <excludes> + <exclude>**/*.conf</exclude> + <exclude>**/*.iml</exclude> + <exclude>**/*.md</exclude> + <exclude>**/*.props</exclude> + <exclude>**/gen/**</exclude> + <exclude>**/resources/**</exclude> + <exclude>**/images/**</exclude> + <exclude>**/target/**</exclude> + <exclude>**/testdata/**</exclude> + <exclude>**/.idea/**</exclude> + <exclude>**/package-info.java</exclude> + <exclude>**/.git/**</exclude> + <exclude>**/.classpath</exclude> + <exclude>**/.project</exclude> + <exclude>**/.settings/**</exclude> + <exclude>**/*.patch</exclude> + <exclude>website/**</exclude> + <exclude>.github/*</exclude> + <exclude>**/*.properties</exclude> + </excludes> + <excludeSubProjects>false</excludeSubProjects> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> <!--<defaultGoal>install</defaultGoal>--> <!--<pluginManagement>--> @@ -896,44 +953,7 @@ <!--<failOnError>false</failOnError>--> <!--</configuration>--> <!--</plugin>--> - <!--<plugin>--> - <!--<groupId>org.apache.rat</groupId>--> - <!--<artifactId>apache-rat-plugin</artifactId>--> - <!--<configuration>--> - <!--<licenses>--> - <!--<license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">--> - <!--<patterns>--> - <!--<note>CERN license for Colt -- basically only requires attribution</note>--> - <!--<pattern>1999 CERN - European Organization for Nuclear Research</pattern>--> - <!--</patterns>--> - <!--</license>--> - <!--<license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">--> - <!--<patterns>--> - <!--<pattern>public domain</pattern>--> - <!--</patterns>--> - <!--</license>--> - <!--</licenses>--> - <!--<excludes>--> - <!--<exclude>**/*.conf</exclude>--> - <!--<exclude>**/*.iml</exclude>--> - <!--<exclude>**/*.md</exclude>--> - <!--<exclude>**/*.props</exclude>--> - <!--<exclude>**/gen/**</exclude>--> - <!--<exclude>**/resources/**</exclude>--> - <!--<exclude>**/images/**</exclude>--> - <!--<exclude>**/target/**</exclude>--> - <!--<exclude>**/testdata/**</exclude>--> - <!--<exclude>**/.idea/**</exclude>--> - <!--<exclude>**/package-info.java</exclude>--> - <!--<exclude>**/.git/**</exclude>--> - <!--<exclude>**/.classpath</exclude>--> - <!--<exclude>**/.project</exclude>--> - <!--<exclude>**/.settings/**</exclude>--> - <!--<exclude>**/*.patch</exclude>--> - <!--</excludes>--> - <!--<excludeSubProjects>false</excludeSubProjects>--> - <!--</configuration>--> - <!--</plugin>--> + <!--<!–--> <!--<plugin>--> <!--<groupId>net.alchim31.maven</groupId>--> http://git-wip-us.apache.org/repos/asf/mahout/blob/4f18f402/refactor-readme.md ---------------------------------------------------------------------- diff --git a/refactor-readme.md b/refactor-readme.md index f105df7..251416b 100644 --- a/refactor-readme.md +++ b/refactor-readme.md @@ -35,7 +35,7 @@ mahout -[x] IO Tests move over -[x] Add drivers to Community (to avoid future `scopt` hold ups) -[ ] update all poms to dump files in `lib/` --[ ] Move MR to community engines. +-[ ] Move MR to community engines. (Failling on OpenIntHash, etc.) -[ ] Figure out where mising classes are ^^ OpenIntIntHash, etc. -[x] failing tests on Naivebayes (needs 'Online Summarizer') -[ ] Add `examples` module @@ -51,3 +51,16 @@ mahout -[ ] Update Website -[ ] - Description of modules -[ ] - Available profiles and what they do +-[ ] Update bin/mahout +-[ ] Add licenes to files + +### Plugins to add in +-[ ] Release +-[x] Ratcheck +-[ ] Checkstyle +-[ ] Maven-enforcer +-[ ] Maven Surefire +-[ ] JavaDoc/Scala Doc Plugin + +-[ ] profile for fat jars (spark/flink/h2o) +-[ ] profile to turn on flink / h2o / other non-essentials (then disable them in standard build)
