JyotsnaT / xuggle

Automatically exported from code.google.com/p/xuggle
0 stars 0 forks source link

Maven repository compability #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello folks,

As I described in the mailing-list some weeks ago, I would like to be able
to use maven to download the xuggle directly from its repository. 

Currently, the xuggle repository is not compliance with the maven one.

So, what I ment is that the maven respository layout is like this:

In the root of the repository you have:

\GroupID
    |_______\ArtifactID
                  |_______\Version
                              \groupid-artifactid-version.jar

Therefore as an example we have: (in this case the maven2 is the root of
repository.)

/maven2/hibernate/hibernate-tools/2.1.3/hibernate-tools-2.1.3.jar

In the xuggle repository we have a layout like this: (in this case java is
the root of repository)

/java/xuggle/xuggle-utils/xuggle-utils-1.18.114.jar

So, we're missing in this layout the version directory and maven is not
capable to download from it.

Would be nice to have this feature in future releases.
Regards,
Samuel

Original issue reported on code.google.com by samuel.c...@gmail.com on 17 Mar 2009 at 11:42

GoogleCodeExporter commented 9 years ago
Samuel, can you give me an example of our current file:
/java/xuggle/xuggle-utils/xuggle-utils-1.18.114.jar

in a maven2 compatible version.  I know you specify it above, but I'd love the 
actual
example to make sure I don't misunderstand.

Original comment by art.cla...@gmail.com on 17 Mar 2009 at 3:17

GoogleCodeExporter commented 9 years ago
Hi Art,

Sorry for the late response. I was out for sometime. 

I'm attaching a file with the local maven repo that I have on my machine, this 
is
compatible with maven 2. I just used the version that I currently have on my
computer, but this is the way it works for whatever version. The repository 
directory
in this example is the root of the repository.

This is how I've configured my pom.xml to retrieve dependencies. As it can't 
retrieve
from the current repository, it only will retrieve from my local one.

<repositories>
   <repository>
      <id>xuggleRepository</id>
      <name>Xuggle Repository</name>
      <url>
         http://xuggle.googlecode.com/svn/trunk/repo/share/java
      </url>
   </repository>
</repositories>
<dependencies>
   <dependency>
      <groupId>xuggle</groupId>
      <artifactId>xuggle-xuggler</artifactId>
      <version>1.20.209</version>
      <scope>compile</scope>
   </dependency>
   <dependency>
      <groupId>xuggle</groupId>
      <artifactId>xuggle-utils</artifactId>
      <version>1.17.117</version>
      <scope>compile</scope>
   </dependency>
</dependencies>

HTH,
Samuel

Original comment by samuel.c...@gmail.com on 22 Mar 2009 at 7:44

Attachments:

GoogleCodeExporter commented 9 years ago
Implemented in r292.  Will be in 2.0 release.

Original comment by art.cla...@gmail.com on 31 Mar 2009 at 5:33