You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Paolo Mottadelli <pa...@gmail.com> on 2008/09/08 17:51:32 UTC

POI 3.5 beta as a pom dependency

Hi all,

It would be great to provide a maven pom (to manage POI dependencies)
for the POI 3.5 beta release.
Having that pom, we will be able to include POI 3.5 as a dependency in
a maven built project.
At the moment I have to manually copy/paste dependencies' jars like:
_ ooxml-schemas.jar
_ openxml4j-bin-alpha-080407.jar

It would be great to directly include POI-3.5-beta as a dependency in
a 3rd Party project pom and to automatically download POI deps during
the build.

Is anybody already doing something similar? Is anybody interested in that?

Cheers,

-- 
Paolo Mottadelli: http://www.paolomottadelli.com
Sourcesense - making sense of Open Source: http://www.sourcesense.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: POI 3.5 beta as a pom dependency

Posted by Nick Burch <ni...@torchbox.com>.
On Mon, 8 Sep 2008, Paolo Mottadelli wrote:
>> The think we certainly need to talk to repository about is ooxml-schemas.
>> That's generated from the Ecma supplied xsds by xmlbeans. No idea what the
>> procedure is for getting that into the maven accessible repo.
>
> What about making the ooxml-schema packaging part of the build
> process? After all it can't be really considered a dependency library,
> what do you think?

It is generated in the build process, but it's also a run time dependency. 
The ant tasks to download the xsds, and build them into the jar are 
check-ooxml-xsds, fetch-ooxml-xsds and compile-ooxml-xsds

I'm not sure we can write a pom that'd farm out those steps to everyone 
that tries to download 3.5 via maven, nor if we'd want to?

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: POI 3.5 beta as a pom dependency

Posted by Paolo Mottadelli <p....@sourcesense.com>.
> The think we certainly need to talk to repository about is ooxml-schemas.
> That's generated from the Ecma supplied xsds by xmlbeans. No idea what the
> procedure is for getting that into the maven accessible repo.

What about making the ooxml-schema packaging part of the build
process? After all it can't be really considered a dependency library,
what do you think?


-- 
Paolo Mottadelli: http://www.paolomottadelli.com
Sourcesense - making sense of Open Source: http://www.sourcesense.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: POI 3.5 beta as a pom dependency

Posted by Nick Burch <ni...@torchbox.com>.
On Mon, 8 Sep 2008, Paolo Mottadelli wrote:
> It would be great to provide a maven pom (to manage POI dependencies)
> for the POI 3.5 beta release.
> Having that pom, we will be able to include POI 3.5 as a dependency in
> a maven built project.
> At the moment I have to manually copy/paste dependencies' jars like:
> _ ooxml-schemas.jar
> _ openxml4j-bin-alpha-080407.jar

You'll probably need to go and talk to repository@ about at least some of 
it.

In theory, it should be possible to get openxml4j published in ibiblio. 
We'd probably need another beta release of it, write a pom, and go through 
the upload hoops. Are you already an openxml4j committer?

The think we certainly need to talk to repository about is ooxml-schemas. 
That's generated from the Ecma supplied xsds by xmlbeans. No idea what the 
procedure is for getting that into the maven accessible repo.

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org