Skip to content

Add maven build#1

Merged
sbesson merged 17 commits intoome:masterfrom
rleigh-codelibre:maven
Jun 29, 2017
Merged

Add maven build#1
sbesson merged 17 commits intoome:masterfrom
rleigh-codelibre:maven

Conversation

@rleigh-codelibre
Copy link
Copy Markdown
Contributor

@rleigh-codelibre rleigh-codelibre commented Jun 28, 2017

Adds maven build infrastructure. Versions and names can be adjusted as necessary.

Note that Travis will remain red until ome/ome-common-java#11 is merged and we can bump the ome-common dependency. You can test by hand by building ome-common with that PR merged, and then building ome-codecs.

@mtbc
Copy link
Copy Markdown
Member

mtbc commented Jun 29, 2017

.mailmap is an interesting file.

Comment thread LICENSE.txt Outdated
@@ -1,4 +1,4 @@
Copyright (C) 2005 - 2017 Open Microscopy Environment:
Copyright (C) 2005 - 2016 Open Microscopy Environment:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bit peculiar

Comment thread .travis.yml
- oraclejdk8
- openjdk7

matrix:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we are jointly reviewing ome/ome-common-java#11, can you add a temporary step, cloning and installing this SNAPSHOT version to get Travis passing. Once we cut a new ome-common release, we can drop this step and consume the release version.

Comment thread pom.xml Outdated

<groupId>org.openmicroscopy</groupId>
<artifactId>ome-codecs</artifactId>
<version>6.0.0-SNAPSHOT</version>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we are changing the groupId/artifactId didn't we decide on going to 0.1.0-SNAPSHOT for now?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It predated that discussion. For ome-jai we picked 0.1.0 because we don't intend to have it reach a 1.0.0 release. But this component will be immediately used and consumed by bioformats and is already stable; I've set it to 1.0.0-SNAPSHOT for that reason; I can set it to 0.1.0-SNAPSHOT if there's value to make a release before bumping to 1.0.0, but I don't see use for that at present.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two thoughts here. For our immediate integration target, my preference is to release a 0.1.0 version which we can consume and wrap in Bio-Formats. That way if anything needs to be discussed, modified and/or adjusted, we can iterate quickly over 0.x.0 releases.

In the mid-run, once the integration is complete, we should definitely look into our roadmap towards a stable 1.0.0 for each of these decoupled components. I would drive this decision via our weekly meetings and make sure we collectively agree on whether we are happy with the state of the API as it stands or there is any breaking change we will have to consider in the next year or so.

Comment thread pom.xml Outdated
<version>6.0.0-SNAPSHOT</version>

<name>OME Common Java</name>
<description>Contains common I/O, date parsing, and XML processing classes.</description>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These need to be adjusted

Comment thread pom.xml
<email>ome-devel@lists.openmicroscopy.org.uk</email>
</developer>
</developers>
<contributors>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this contributor list need to be adjusted for this component?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have done so, though updating it from the git shortlog is a bit manual. Does this section have much value when the information is already in git?

Comment thread pom.xml Outdated
</prerequisites>

<scm>
<connection>scm:git:https://github.com/ome/ome-codecs-java</connection>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-java ?

Comment thread pom.xml Outdated
<connection>scm:git:https://github.com/ome/ome-codecs-java</connection>
<developerConnection>scm:git:git@github.com:ome/ome-codecs-java</developerConnection>
<tag>HEAD</tag>
<url>http://github.com/ome/ome-codecs-java</url>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, drop the -java

Comment thread pom.xml Outdated
<url>https://ci.openmicroscopy.org/</url>
</ciManagement>

<repositories>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section should be unnecessary as the component and its dependencies will be on the Central Repository

Comment thread pom.xml Outdated
</distributionManagement>

<dependencies>
<dependency>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the dependencies here are inherited from ome-common-java, can we simply reduce this to ome-common, ome-jai, lwf-stubs and testng?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I have now done so.

Comment thread pom.xml
- Board of Regents of the University of Wisconsin-Madison
- Glencoe Software, Inc.
- University of Dundee</organizationName>
<projectName>Common package for I/O and related utilities</projectName>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to be adjusted as well

Comment thread pom.xml
<version>2.19.1</version>
<configuration>
<suiteXmlFiles>
<suiteXmlFile>src/test/java/ome/codecs/utests/testng.xml</suiteXmlFile>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker at all but we can probably drop the utests namespace at some point.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. This applies to all our repos.

@rleigh-codelibre
Copy link
Copy Markdown
Contributor Author

I've pushed fixes for most of the comments.

@sbesson
Copy link
Copy Markdown
Member

sbesson commented Jun 29, 2017

Cut the release of upstreamorg.openmicroscopy:ome-common:5.3.2 including the new services, it should appear in the Central repository within the next hours.

@rleigh-codelibre
Copy link
Copy Markdown
Contributor Author

Now green.

@sbesson
Copy link
Copy Markdown
Member

sbesson commented Jun 29, 2017

The last commit reads fine to me and passes Travis. #1 (comment) remains to be addressed but this can be carried out in a separate PR together with the update of the headers using the Maven license plugin. Merging this and I will start listing the various cleanup items.

@sbesson sbesson merged commit 42713ec into ome:master Jun 29, 2017
@rleigh-codelibre rleigh-codelibre deleted the maven branch June 29, 2017 16:22
@sbesson sbesson mentioned this pull request Jun 30, 2017
@sbesson sbesson modified the milestone: 0.1.0 Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants