Skip to content

Commit

Permalink
monorepo: Java: Move and review all files...
Browse files Browse the repository at this point in the history
* Simplify all dir names, remove "kurento-" prefix from everywhere.

* Remove unmaintained and deprecated packages:
  - jurento-java/kurento-assembly
  - jurento-java/kurento-basicroom
  - jurento-java/kurento-repository
  - kurento-java/kurento-integration-tests/kurento-repository-test
  - kurento-tutorial-java/kurento-hello-world-repository

* Move kurento-java/kurento-integration-tests out of kurento-java.
  Now it exists independently, at test/integration/
  This fixes a circular dependency issue between components:
  - Extra/Example plugins (chroma, crowddetector, platedetector, etc)
    depend on kurento-client.
  - kurento-java builds kurento-client and kurento-integration-tests.
  - kurento-integration-tests depends on extra plugins (chrome, etc).
  - Thus it was impossible to make a from-scratch, clean slate build
    of all this.

* Update ALL files to ensure consistent names and correct information
  everywhere:
  - Git repo: https://github.com/Kurento/kurento.git
  - Website: https://kurento.openvidu.io/
  - Email: kurento@openvidu.io
  - Version: 7.0.0
  • Loading branch information
j1elo committed Jan 17, 2023
1 parent 50588df commit 1853128
Show file tree
Hide file tree
Showing 1,238 changed files with 469 additions and 16,376 deletions.
2 changes: 1 addition & 1 deletion clients/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Usage:

Issues:

* [Bug Tracker](https://github.com/Kurento/bugtracker/issues)
* [Bug Tracker](https://github.com/Kurento/kurento/issues)
* [Support](https://doc-kurento.readthedocs.io/en/latest/user/support.html)

News:
Expand Down
34 changes: 24 additions & 10 deletions clients/java/bin/set-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#/ and existing (available for download or installed locally).
#/
#/ We have frequently found that this is a limitation, because some times it is
#/ needed to update from an unexisting version (like if some component is
#/ needed to update from an nonexistent version (like if some component is
#/ skipping a patch number, during separate development of different modules),
#/ or when doing a Release (when the release version is not yet available).
#/
Expand Down Expand Up @@ -48,7 +48,7 @@
#/ released, and the Java packages should be made to depend on the new API
#/ definition ones (which get published as part of the Media Server release).
#/
#/ <KmsVersion> is a full Maven version, such as "6.12.0-SNAPSHOT" or "6.12.0".
#/ <KmsVersion> is a full Maven version, such as "7.0.0-SNAPSHOT" or "7.0.0".
#/
#/ Optional. Default: None.
#/
Expand Down Expand Up @@ -166,9 +166,27 @@ function git_add() {
# Apply version
# =============

# maven-plugin
{
pushd maven-plugin/

# Project version: Set new value.
xmlstarlet edit -S --inplace \
--update "/_:project/_:version" \
--value "$VERSION_JAVA" \
pom.xml

# Dependency on kurento-module-creator.
xmlstarlet edit -S --inplace \
--update "/_:project/_:dependencies/_:dependency[_:artifactId='kurento-module-creator']/_:version" \
--value "$VERSION_JAVA" \
pom.xml
popd
}

# kurento-parent-pom
{
pushd kurento-parent-pom/
pushd parent-pom/

# NOTE: No need to update the parent version. Release docs already instruct
# to update it manually whenever kurento-qa-pom is getting a new version.
Expand Down Expand Up @@ -209,13 +227,9 @@ function git_add() {

# Children: Make them inherit from the new parent.
CHILDREN=(
kurento-assembly
kurento-basicroom
kurento-client
kurento-commons
kurento-integration-tests
kurento-jsonrpc
kurento-repository
client
commons
jsonrpc
)
for CHILD in "${CHILDREN[@]}"; do
find "$CHILD" -name pom.xml -print0 | xargs -0 -n1 \
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ News and Website
----------------

Check the [Kurento blog]
Follow us on Twitter @[kurentoms].

Issue tracker
-------------
Expand Down Expand Up @@ -98,9 +97,8 @@ Before asking for support, please read first the [Kurento Netiquette Guidelines]

[documentation]: https://kurento.openvidu.io/documentation
[FIWARE]: http://www.fiware.org
[GitHub Kurento bugtracker]: https://github.com/Kurento/bugtracker/issues
[GitHub Kurento Group]: https://github.com/kurento
[kurentoms]: http://twitter.com/kurentoms
[GitHub Kurento bugtracker]: https://github.com/Kurento/kurento/issues
[GitHub Kurento Group]: https://github.com/Kurento
[Kurento]: https://kurento.openvidu.io/
[Kurento Blog]: https://kurento.openvidu.io/blog
[Kurento FIWARE Catalog Entry]: http://catalogue.fiware.org/enablers/stream-oriented-kurento
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.kurento</groupId>
<artifactId>kurento-parent-pom</artifactId>
<version>7.0.0-SNAPSHOT</version>
<relativePath>../kurento-parent-pom</relativePath>
<relativePath>../parent-pom</relativePath>
</parent>
<artifactId>kurento-client</artifactId>
<packaging>jar</packaging>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ News and Website
----------------

Check the [Kurento blog]
Follow us on Twitter @[kurentoms].

Issue tracker
-------------
Expand Down Expand Up @@ -97,9 +96,8 @@ Before asking for support, please read first the [Kurento Netiquette Guidelines]

[documentation]: https://kurento.openvidu.io/documentation
[FIWARE]: http://www.fiware.org
[GitHub Kurento bugtracker]: https://github.com/Kurento/bugtracker/issues
[GitHub Kurento Group]: https://github.com/kurento
[kurentoms]: http://twitter.com/kurentoms
[GitHub Kurento bugtracker]: https://github.com/Kurento/kurento/issues
[GitHub Kurento Group]: https://github.com/Kurento
[Kurento]: https://kurento.openvidu.io/
[Kurento Blog]: https://kurento.openvidu.io/blog
[Kurento FIWARE Catalog Entry]: http://catalogue.fiware.org/enablers/stream-oriented-kurento
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.kurento</groupId>
<artifactId>kurento-parent-pom</artifactId>
<version>7.0.0-SNAPSHOT</version>
<relativePath>../kurento-parent-pom</relativePath>
<relativePath>../parent-pom</relativePath>
</parent>
<artifactId>kurento-commons</artifactId>
<packaging>jar</packaging>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ News and Website
----------------

Check the [Kurento blog]
Follow us on Twitter @[kurentoms].

Issue tracker
-------------
Expand Down Expand Up @@ -99,9 +98,8 @@ Before asking for support, please read first the [Kurento Netiquette Guidelines]

[documentation]: https://kurento.openvidu.io/documentation
[FIWARE]: http://www.fiware.org
[GitHub Kurento bugtracker]: https://github.com/Kurento/bugtracker/issues
[GitHub Kurento Group]: https://github.com/kurento
[kurentoms]: http://twitter.com/kurentoms
[GitHub Kurento bugtracker]: https://github.com/Kurento/kurento/issues
[GitHub Kurento Group]: https://github.com/Kurento
[Kurento]: https://kurento.openvidu.io/
[Kurento Blog]: https://kurento.openvidu.io/blog
[Kurento FIWARE Catalog Entry]: http://catalogue.fiware.org/enablers/stream-oriented-kurento
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ News and Website
----------------

Check the [Kurento blog]
Follow us on Twitter @[kurentoms].

Issue tracker
-------------
Expand Down Expand Up @@ -99,9 +98,8 @@ Before asking for support, please read first the [Kurento Netiquette Guidelines]

[documentation]: https://kurento.openvidu.io/documentation
[FIWARE]: http://www.fiware.org
[GitHub Kurento bugtracker]: https://github.com/Kurento/bugtracker/issues
[GitHub Kurento Group]: https://github.com/kurento
[kurentoms]: http://twitter.com/kurentoms
[GitHub Kurento bugtracker]: https://github.com/Kurento/kurento/issues
[GitHub Kurento Group]: https://github.com/Kurento
[Kurento]: https://kurento.openvidu.io/
[Kurento Blog]: https://kurento.openvidu.io/blog
[Kurento FIWARE Catalog Entry]: http://catalogue.fiware.org/enablers/stream-oriented-kurento
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Installation details
* Build
```sh
git clone git@github.com:Kurento/kurento-java.git
cd kurento-java/kurento-jsonrpc/kurento-jsonrpc-demo-server
cd kurento/clients/java/jsonrpc/jsonrpc-demo-server
git checkout $(git describe --abbrev=0 --tags)
mvn clean install
```
Expand Down Expand Up @@ -55,7 +55,7 @@ vim kurento-jsonrpc-demo-server-x.y.z-SNAPSHOT/config/kjrserver.conf.json
* Build
```sh
git clone git@github.com:Kurento/kurento-java.git
cd kurento-java/kurento-jsonrpc/kurento-jsonrpc-demo-server
cd kurento/clients/java/jsonrpc/jsonrpc-demo-server
git checkout $(git describe --abbrev=0 --tags)
mvn clean install
```
Expand Down Expand Up @@ -119,7 +119,6 @@ News and Website
----------------

Check the [Kurento blog]
Follow us on Twitter @[kurentoms].

Issue tracker
-------------
Expand Down Expand Up @@ -175,9 +174,8 @@ Before asking for support, please read first the [Kurento Netiquette Guidelines]

[documentation]: https://kurento.openvidu.io/documentation
[FIWARE]: http://www.fiware.org
[GitHub Kurento bugtracker]: https://github.com/Kurento/bugtracker/issues
[GitHub Kurento Group]: https://github.com/kurento
[kurentoms]: http://twitter.com/kurentoms
[GitHub Kurento bugtracker]: https://github.com/Kurento/kurento/issues
[GitHub Kurento Group]: https://github.com/Kurento
[Kurento]: https://kurento.openvidu.io/
[Kurento Blog]: https://kurento.openvidu.io/blog
[Kurento FIWARE Catalog Entry]: http://catalogue.fiware.org/enablers/stream-oriented-kurento
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ News and Website
----------------

Check the [Kurento blog]
Follow us on Twitter @[kurentoms].

Issue tracker
-------------
Expand Down Expand Up @@ -100,9 +99,8 @@ Before asking for support, please read first the [Kurento Netiquette Guidelines]

[documentation]: https://kurento.openvidu.io/documentation
[FIWARE]: http://www.fiware.org
[GitHub Kurento bugtracker]: https://github.com/Kurento/bugtracker/issues
[GitHub Kurento Group]: https://github.com/kurento
[kurentoms]: http://twitter.com/kurentoms
[GitHub Kurento bugtracker]: https://github.com/Kurento/kurento/issues
[GitHub Kurento Group]: https://github.com/Kurento
[Kurento]: https://kurento.openvidu.io/
[Kurento Blog]: https://kurento.openvidu.io/blog
[Kurento FIWARE Catalog Entry]: http://catalogue.fiware.org/enablers/stream-oriented-kurento
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.kurento</groupId>
<artifactId>kurento-parent-pom</artifactId>
<version>7.0.0-SNAPSHOT</version>
<relativePath>../kurento-parent-pom</relativePath>
<relativePath>../parent-pom</relativePath>
</parent>
<artifactId>kurento-jsonrpc</artifactId>
<packaging>pom</packaging>
Expand All @@ -27,16 +27,16 @@
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>kurento-jsonrpc-client</module>
<module>kurento-jsonrpc-server</module>
<module>kurento-jsonrpc-demo-server</module>
<module>jsonrpc-client</module>
<module>jsonrpc-server</module>
<module>jsonrpc-demo-server</module>
</modules>
</profile>
<profile>
<id>deploy</id>
<modules>
<module>kurento-jsonrpc-client</module>
<module>kurento-jsonrpc-server</module>
<module>jsonrpc-client</module>
<module>jsonrpc-server</module>
</modules>
<build>
<plugins>
Expand All @@ -63,7 +63,7 @@
</dependencies>

<modules>
<module>kurento-jsonrpc-client-jetty</module>
<module>jsonrpc-client-jetty</module>
</modules>

</project>
116 changes: 0 additions & 116 deletions clients/java/kurento-assembly/README.md

This file was deleted.

Loading

0 comments on commit 1853128

Please sign in to comment.