Hi Artem.
Would you be willing to create a branch containing actual
files?
If so, since the break-down into modules I'm thinking of is
not the one you've taken below,[1] I suggest that you create
an "all-example" module, into which you'd move _all_ the code.
I'd think that you should start from
https://svn.apache.org/repos/asf/commons/proper/weaver/trunk/pom.xml
as suggested by Matt.
Then, I expect that
$ mvn clean site
will run smoothly, and produce everything which the current
config does.[2]
Please let me know if you don't have the time to do it, or if
you run into any problem that would prevent this goal to be
achieved quickly.[3]
Thanks,
Gilles
[1] I'm still convinced that the "utils" (referred to in the
other thread) should be a separate component. But we could
nevertheless create modules in "Commons RNG" that would
clearly stress the separation between the low-level RNG
algorithms, the high-level interfaces and the "simple API".
Then later on, the "utils" component could choose to only
depend on the "core" algorithms and provide its own API.
[2] In that case, I'll give a try at splitting the codebase.
[3] In that case, I'll start the release process tomorrow, with
what we have now.
On Thu, 20 Oct 2016 15:20:12 +0300, Artem Barger wrote:
On Thu, Oct 20, 2016 at 2:55 PM, Gilles
wrote:
Can you point me at a component that has a config supporting
multiple modules?
I cannot point you to the multi module project within ASF commons,
while
it's not that
hard to create one. First of all you can use "mvn archetype:generate"
to
create base
skeleton to play with, for example:
1. mvn archetype:generate -DgroupId=org.apache.commons \
-DartifactId=commons-rng \
-DarchetypeArtifactId=org.codehaus.mojo.archetypes
2. Enter commons-rng folder and run:
mvn archetype:generate -DgroupId=org.apache.commons \
-DartifactId=commons-rng-core
\
-DarchetypeArtifactId=maven-archetype-quickstart
mvn archetype:generate -DgroupId=org.apache.commons \
-DartifactId=commons-rng-utility \
-DarchetypeArtifactId=maven-archetype-quickstart
This will create parent muti-module project "commons-rng" with two
modules
"utility" and "core".
Here is the example of pom.xml for possible multi module RNG
component,
assuming
you have one main module with all core logic which is
"commons-rng-core"
and another
utility one "commong-rng-utility" both of these are wrapped into pom
packaged module
"commons-rng":
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;>
4.0.0
org.apache.commons
commons-parent
41
org.apache.commons
commons-rng
1.0-SNAPSHOT
pom
rng
http://maven.apache.org
UTF-8
commons-rng-core
commons-rng-utils
2016
The Apache Commons RNG project provides
implementations of
random numbers generators.
http://commons.apache.org/proper/commons-rng/
jira
http://issues.apache.org/jira/browse/RNG
scm:git:
http://git-wip-us.apache.org/repos/asf/commons-rng.git
scm:git:
https://git-wip-us.apache.org/repos/asf/commons-rng.git
https://git-wip-us.apache.org/repos/asf?p=commons-rng.git
apache.website
Apache Commons Site
scm:svn:
https://svn.apache.org/repos/infra/websites/production/commons/content/proper/commons-rng/
junit
junit
4.11
test
Hope this helps you.
Best regards,
Artem Barger.
-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org