as3corelib icon indicating copy to clipboard operation
as3corelib copied to clipboard

Need maven artifacts for this library

Open darronschall opened this issue 15 years ago • 6 comments

Originally filed by mohammedsaleem on 2008-09-29T17:47:00

It would be great if you could provide maven artifacts for these projects. Flex-mojos is a good starting point for mavenizing them.

darronschall avatar Jul 28 '10 20:07 darronschall

Updated by mikechambers on 2008-11-06T21:00:47

I am open to this if someone wants to volunteer to do the work.

darronschall avatar Jul 28 '10 20:07 darronschall

Updated by arunkv on 2008-11-09T04:04:09

Here's what is required: Run this command:

mvn deploy:deploy-file
-Dfile=as3corelib.swc
-Durl=file:///path/to/some/repo
-DgroupId=com.adobe
-DartifactId=as3corelib
-Dversion=0.92
-Dpackaging=swc

What this does is to deploy the as3corelib.swc file to /path/to/some/repo (using the groupId, artifactId, version). After this if /path/to/some/repo is exposed on the web, users will be able to refer to that web URL (by defining a repository in their Maven project) and use as3corelib as a dependency in their Maven projects.

Temporary work around is for users to install the file into their local Maven repository:

mvn install:install-file
-Dfile=as3corelib.swc
-DgroupId=com.adobe
-DartifactId=as3corelib
-Dversion=0.92
-Dpackaging=swc
-DgeneratePom=true
-DcreateChecksum=true

darronschall avatar Jul 28 '10 20:07 darronschall

Updated by arunkv on 2008-11-09T04:07:22

Some Google Code projects use a portion of the SVN tree itself for the Maven repository since it's already accessible on the web. For example: http://flex-mojos.googlecode.com/svn/trunk/repository/ is a Maven repository.

darronschall avatar Jul 28 '10 20:07 darronschall

Updated by mohammedsaleem on 2008-11-09T12:01:11

there are two choices here = one is to use the flex-mojos project to use maven to build the project or as arun here says, which I feel is a much better option, is to deploy the final artifacts into the repository.

it is imperative for you guys to come up with the group id and artifact ids, for the project.

darronschall avatar Jul 28 '10 20:07 darronschall

Updated by arunkv on 2008-11-09T13:54:13

BTW I noticed that this project is using Ant for the build. There are some Maven Ant tasks available: http://maven.apache.org/ant-tasks/index.html Specifically the deploy task can be used in this project's build.xml: http://maven.apache.org/ant-tasks/reference.html#install

darronschall avatar Jul 28 '10 20:07 darronschall

A maven repo for this would be great. Using the old as3corelib svn repo on googlecode would work well.

deniszgonjanin avatar May 04 '11 01:05 deniszgonjanin