Skip to main content

Mobicents CLI maven 2 plugin

2 replies [Last post]
mlaporta
Offline
Joined: 2007-04-02

A maven2 plugin for MobicentsCLI is available for review at
https://mobicents-svn.dev.java.net/svn/mobicents-svn/plugins/mobicents-c...
see https://mobicents-svn.dev.java.net/svn/mobicents-svn/plugins/mobicents-c...

It's an alpha version consider unstable and it could change in the future.

It should provides same functionality of mobicents-cli with ant.Some of these are still not working (Profile and profileTable) and need testcase.

Can some someone confirm if Profile and profileTable cli commands working ok with ant?

A sample pom usage:

xmlns="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/maven-v4_0_0.xsd">

4.0.0

jboss
test-mobicents-cli-plugin
1.0-alpha-2-SNAPSHOT
jar

true

dev.java.net
dev.java.net
http://download.java.net/maven/2/
default

true

dev.java.net
dev.java.net
http://download.java.net/maven/2/
default

jboss
mobicents-cli-plugin
1.0-alpha-2-SNAPSHOT

jboss
mobicents-cli-plugin

file:///${basedir}/dummy-ratype.jar
file:///${basedir}/dummy-local-ra.jar

DUMMYRA#org.mobicents#1.0
DummyRA
DummyRA

ResourceAdaptorID[nistTckRA#NIST#1.0]
FINEST
ra
1

install

state


from command line try:

mvn install

this command should print slee state.

Actually there's not plugin documentation published but it can be generated see README.txt.

Any feedback on test is welcome

Michele

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ivelin
Offline
Joined: 2003-07-13

great. I am traveling for meetings this week..and the next...and the next :)
but will try to review and provide detailed feedback over the weekend.

profile ant tasks should work. I think Bartek had them working.

can you provide instructions how to checkout the build files from the new svn repository, setup maven, build mobicents and run the testsuite? That can be the beginning of the migration phase.

My understanding is that the initial checkout should be minimal as it only includes a few pom files. The mvn script itself will pull in all dependencies when its ran. Is that the case?

The next steps would be to publish the binaries for the core server, and resource adaptros so that we can begin declaring binary deps and not need to rebuild everything from source more often than necessary.

Ivelin

mlaporta
Offline
Joined: 2007-04-02

> great. I am traveling for meetings this week..and the
> next...and the next :)
> but will try to review and provide detailed feedback
> over the weekend.
>
> profile ant tasks should work. I think Bartek had
> them working.
>
> can you provide instructions how to checkout the
> build files from the new svn repository, setup maven,
> build mobicents and run the testsuite? That can be
> the beginning of the migration phase.
Ok once I have testsuite working without error I'll write to make it maven compatible someway.
Then setup will be describe in a maven getting start wiky page.

>
> My understanding is that the initial checkout should
> be minimal as it only includes a few pom files. The
> mvn script itself will pull in all dependencies when
> its ran. Is that the case?
Yes is that the case.

>
> The next steps would be to publish the binaries for
> the core server, and resource adaptros so that we can
> begin declaring binary deps and not need to rebuild
> everything from source more often than necessary.
>
> Ivelin
Exactly