You can distribute it in any state that you want.
I was just pointing out that if you need to do something with the tgz
file at the destination, you can.
If it is ready to be used as a tgz, then you don't need to do anything.
My point is that trying to make Maven build installation packages can be
more trouble than it is worth and one way around this is to use Maven to
do the building of the artifacts and use an install builder to make the
final package that you send t the deploy stage.
iZPack works with Maven so I suggested that one but you can use any of
the other free (or commercial) installers to replace the part of ANT
that assembles the various artifacts and resources into a deployment
package.
You could stay with that part of your ANT process and use the Maven
ANTRun plugin to initiate the ANT stage.
Not as easy to build as an installer but you already have the script in
your curent set up.
Ron
On 13/03/2014 9:24 AM, Maxim Solodovnik wrote:
Thanks Ron,
I'll take a look at it, but I'm afraid distribute application in
"partially compiled state" is not an option.
Currently it works out of the box and this is the requirement.
Will try to study maven and postpone the migration for now
On Thu, Mar 13, 2014 at 8:18 PM, Ron Wheeler
<[email protected]
<mailto:[email protected]>> wrote:
IMHO, Maven is a software build tool and trying to make it a
installation tool is much too hard.
You might find that your life will be a lot easier with IzPack as
the tool to create your installer.
It will allow you to package up your maven artifacts with other
resources into different OS-specific installers that can be
distributed easily.
It supports install time execution of your procedures so that you
can start RED-5 or execute the flex processes required to build
and install the Flash assets.
Ron
On 13/03/2014 4:51 AM, Maxim Solodovnik wrote:
Hello Baptiste,
Thanks for your quick reply!
Red5-server is "custom tomcat" (zip/tgz with scripts,
libraries, configs
etc.).
We need to pack it in our distribution, not sure if it can be
done "Maven
way" :(
2) tgz contains flex based Flash compiler with all necessary
libraries and
binaries necessary to build Flash part of our application.
On Thu, Mar 13, 2014 at 5:15 AM, Baptiste Mathus
<[email protected] <mailto:[email protected]>> wrote:
IIUC, your project openmeetings depends on red5 libraries.
About your questions:
1) Not actually a Maven issue, but you seem to think the
way to go it to
build that dependency. As the project is ASLv2, you would
far better make
sure/ask it be uploaded to Maven Central. Then just just
the <dependency>
in a normal way/
Maven is actually very straightforward if you follow the
Maven Way (yeah,
sounds like a sect somehow, you may think ;-)).
2) Once again, what does contain that tgz? If it contains
jars and so on,
then forget about downloading and decompressing it during
your buil. Or
you're gonna a world of despair. Just upload those libs
under some sensible
coordinates in a corporate (or better, in Maven Central if
the project is
OSS), and add the dependency.
Please ask more questions/give more precisions if you want
more precise
help.
HTH
2014-03-12 17:51 GMT+01:00 Maxim Solodovnik
<[email protected] <mailto:[email protected]>>:
Hello All,
I'm new to maven and not very familiar with all its
plugins.
I need to move project [1] from ant+ivy to maven
The problems are:
1) this project is build on top of [2] maven project
(we need the exact
structure and all libraries from this project) *[first
problem: i don't
know how to do it]*
I did it using ant as follows:
a) using SVN download the project sources
b) build it using maven
c) unpack artifact and use it's structure in my
build
Currently this project was moved to git and I was
hoping it will be
possible to using maven scm:git for this, not sure how :(
2) this project need to download tgz file with
required framework,
extract
it somewhere and use extracted file to perform the
build *[second
problem:
is this possible?]*
Any help is highly appreciated
[1]
https://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/build.xml?view=markup
[2] https://github.com/Red5/red5-server
--
WBR
Maxim aka solomax
--
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor ! nbsp;!
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
<mailto:[email protected]>
skype: ronaldmwheeler
phone: 866-970-2435, ext 102
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>
--
WBR
Maxim aka solomax
--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102