Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package rename to align all jaxb-tools #378

Closed
mattrpav opened this issue Sep 13, 2023 · 2 comments
Closed

Package rename to align all jaxb-tools #378

mattrpav opened this issue Sep 13, 2023 · 2 comments
Milestone

Comments

@mattrpav
Copy link
Collaborator

mattrpav commented Sep 13, 2023

  • Drop version numbers
  • Drop underscores
  • Align all Java packages to simplified names where possible
  • Remove any verbose or unnecessary sub-grouping

The goal would be browsing the combined javadocs of all the projects would "make sense" and flow intuitively.

@mattrpav mattrpav added this to the 3.0.0 milestone Sep 13, 2023
@mattrpav
Copy link
Collaborator Author

Command

% find . -name "*.java" -exec grep -i "^package" {} \; | sort -u  | grep -v hyperjaxb

Packages:

package a;
package com.example.customerservice.service;
package com.example.customerservice.test;
package com.sun.java.xml.ns.persistence.orm;
package com.sun.java.xml.ns.persistence;
package net.webservicex.test;
package org.example.testxjc;
package org.hisrc.xml.bind.tests.addelement;
package org.hisrc.xml.bind.tests.dogs;
package org.hisrc.xml.bind.tests.dynamicelementname;
package org.hisrc.xml.bind.tests;
package org.hisrc.xml.xsom;
package org.jpox.samples.employee.model;
package org.jpox.samples.employee;
package org.jpox.samples.hotel;
package org.jvnet.jaxb.annox.annotation;
package org.jvnet.jaxb.annox.demos.guide.tests;
package org.jvnet.jaxb.annox.demos.guide;
package org.jvnet.jaxb.annox.io;
package org.jvnet.jaxb.annox.japa.parser.ast.visitor;
package org.jvnet.jaxb.annox.japa.parser;
package org.jvnet.jaxb.annox.model.annotation.field;
package org.jvnet.jaxb.annox.model.annotation.value;
package org.jvnet.jaxb.annox.model.test;
package org.jvnet.jaxb.annox.model;
package org.jvnet.jaxb.annox.parser.exception;
package org.jvnet.jaxb.annox.parser.java.visitor;
package org.jvnet.jaxb.annox.parser.tests;
package org.jvnet.jaxb.annox.parser.value;
package org.jvnet.jaxb.annox.parser;
package org.jvnet.jaxb.annox.reader.resourced.tests;
package org.jvnet.jaxb.annox.reader.resourced;
package org.jvnet.jaxb.annox.reader;
package org.jvnet.jaxb.annox.reflect;
package org.jvnet.jaxb.annox.samples.po.tests;
package org.jvnet.jaxb.annox.samples.po;
package org.jvnet.jaxb.annox.tests;
package org.jvnet.jaxb.annox.util.tests;
package org.jvnet.jaxb.annox.util;
package org.jvnet.jaxb.annox.xml.bind;
package org.jvnet.jaxb.annox;
package org.jvnet.jaxb.main;
package org.jvnet.jaxb.maven.java9;
package org.jvnet.jaxb.maven.net.tests;
package org.jvnet.jaxb.maven.net;
package org.jvnet.jaxb.maven.plugin.logging;
package org.jvnet.jaxb.maven.resolver.tools.tests;
package org.jvnet.jaxb.maven.resolver.tools;
package org.jvnet.jaxb.maven.test.plugin.foo.tests;
package org.jvnet.jaxb.maven.test.plugin.foo;
package org.jvnet.jaxb.maven.test;
package org.jvnet.jaxb.maven.tests.JAXB_1044;
package org.jvnet.jaxb.maven.tests.MAVEN_JAXB2_PLUGIN_53.b;
package org.jvnet.jaxb.maven.tests.MAVEN_JAXB2_PLUGIN_77;
package org.jvnet.jaxb.maven.tests.catalog;
package org.jvnet.jaxb.maven.tests.issues.common;
package org.jvnet.jaxb.maven.tests.res;
package org.jvnet.jaxb.maven.tests.rnc;
package org.jvnet.jaxb.maven.tests;
package org.jvnet.jaxb.maven.util.tests;
package org.jvnet.jaxb.maven.util;
package org.jvnet.jaxb.maven;
package org.jvnet.jaxb.test;
package org.jvnet.jaxb2_commons.codemodel;
package org.jvnet.jaxb2_commons.i18n;
package org.jvnet.jaxb2_commons.lang.tests.pojo;
package org.jvnet.jaxb2_commons.lang.tests;
package org.jvnet.jaxb2_commons.lang;
package org.jvnet.jaxb2_commons.locator.util;
package org.jvnet.jaxb2_commons.locator;
package org.jvnet.jaxb2_commons.plugin.annotate.tests.annotations;
package org.jvnet.jaxb2_commons.plugin.annotate.tests;
package org.jvnet.jaxb2_commons.plugin.annotate;
package org.jvnet.jaxb2_commons.plugin.autoinheritance;
package org.jvnet.jaxb2_commons.plugin.codegenerator;
package org.jvnet.jaxb2_commons.plugin.commons_lang;
package org.jvnet.jaxb2_commons.plugin.copyable.tests;
package org.jvnet.jaxb2_commons.plugin.copyable;
package org.jvnet.jaxb2_commons.plugin.customizations;
package org.jvnet.jaxb2_commons.plugin.defaultvalueplugin;
package org.jvnet.jaxb2_commons.plugin.elementwrapper;
package org.jvnet.jaxb2_commons.plugin.enumvalue;
package org.jvnet.jaxb2_commons.plugin.equals.tests;
package org.jvnet.jaxb2_commons.plugin.equals;
package org.jvnet.jaxb2_commons.plugin.fixjaxb1058;
package org.jvnet.jaxb2_commons.plugin.fluent_api;
package org.jvnet.jaxb2_commons.plugin.hashcode;
package org.jvnet.jaxb2_commons.plugin.inheritance.tests;
package org.jvnet.jaxb2_commons.plugin.inheritance.util;
package org.jvnet.jaxb2_commons.plugin.inheritance;
package org.jvnet.jaxb2_commons.plugin.jaxbindex;
package org.jvnet.jaxb2_commons.plugin.mergeable.tests;
package org.jvnet.jaxb2_commons.plugin.mergeable;
package org.jvnet.jaxb2_commons.plugin.model;
package org.jvnet.jaxb2_commons.plugin.namespace_prefix;
package org.jvnet.jaxb2_commons.plugin.removeannotation;
package org.jvnet.jaxb2_commons.plugin.setters;
package org.jvnet.jaxb2_commons.plugin.simpleequals;
package org.jvnet.jaxb2_commons.plugin.simplehashcode;
package org.jvnet.jaxb2_commons.plugin.simpletostring;
package org.jvnet.jaxb2_commons.plugin.simplify.tests01;
package org.jvnet.jaxb2_commons.plugin.simplify.tests02;
package org.jvnet.jaxb2_commons.plugin.simplify;
package org.jvnet.jaxb2_commons.plugin.spring;
package org.jvnet.jaxb2_commons.plugin.tostring.tests;
package org.jvnet.jaxb2_commons.plugin.tostring;
package org.jvnet.jaxb2_commons.plugin.util;
package org.jvnet.jaxb2_commons.plugin.value_constructor;
package org.jvnet.jaxb2_commons.plugin.wildcard;
package org.jvnet.jaxb2_commons.plugin;
package org.jvnet.jaxb2_commons.reflection.util.test;
package org.jvnet.jaxb2_commons.reflection.util;
package org.jvnet.jaxb2_commons.strategy.impl;
package org.jvnet.jaxb2_commons.strategy;
package org.jvnet.jaxb2_commons.test.superclass.b.tests;
package org.jvnet.jaxb2_commons.test.tests;
package org.jvnet.jaxb2_commons.test;
package org.jvnet.jaxb2_commons.tests.JAXB_1058;
package org.jvnet.jaxb2_commons.tests.annotate;
package org.jvnet.jaxb2_commons.tests.commons_lang;
package org.jvnet.jaxb2_commons.tests.defaultvalue;
package org.jvnet.jaxb2_commons.tests.issues._enum.annotate.target.enum_fromValue_method;
package org.jvnet.jaxb2_commons.tests.issues._enum.annotate.target.enum_value_method;
package org.jvnet.jaxb2_commons.tests.issues._enum.annotateEnumFromValueMethod;
package org.jvnet.jaxb2_commons.tests.issues._enum.annotateEnumValueMethod;
package org.jvnet.jaxb2_commons.tests.issues.tests;
package org.jvnet.jaxb2_commons.tests.issues;
package org.jvnet.jaxb2_commons.tests.namespace;
package org.jvnet.jaxb2_commons.tests.one;
package org.jvnet.jaxb2_commons.tests.po;
package org.jvnet.jaxb2_commons.tests.posimple;
package org.jvnet.jaxb2_commons.tests.simple_hashcode_equals_01.cases;
package org.jvnet.jaxb2_commons.tests.simple_hashcode_equals_01.customer;
package org.jvnet.jaxb2_commons.tests.simple_hashcode_equals_01.main;
package org.jvnet.jaxb2_commons.tests.zj;
package org.jvnet.jaxb2_commons.util.tests;
package org.jvnet.jaxb2_commons.util;
package org.jvnet.jaxb2_commons.xjc.generator.artificial;
package org.jvnet.jaxb2_commons.xjc.generator.concrete;
package org.jvnet.jaxb2_commons.xjc.generator;
package org.jvnet.jaxb2_commons.xjc.model.concrete.origin;
package org.jvnet.jaxb2_commons.xjc.model.concrete.tests.ahpla;
package org.jvnet.jaxb2_commons.xjc.model.concrete.tests.alpha;
package org.jvnet.jaxb2_commons.xjc.model.concrete;
package org.jvnet.jaxb2_commons.xjc.outline.artificial;
package org.jvnet.jaxb2_commons.xjc.outline.concrete;
package org.jvnet.jaxb2_commons.xjc.outline;
package org.jvnet.jaxb2_commons.xjc;
package org.jvnet.jaxb2_commons.xml.bind.annotation.adapters;
package org.jvnet.jaxb2_commons.xml.bind.model.concrete.origin;
package org.jvnet.jaxb2_commons.xml.bind.model.concrete;
package org.jvnet.jaxb2_commons.xml.bind.model.origin;
package org.jvnet.jaxb2_commons.xml.bind.model.util.tests.alpha;
package org.jvnet.jaxb2_commons.xml.bind.model.util.tests.beta;
package org.jvnet.jaxb2_commons.xml.bind.model.util.tests.delta;
package org.jvnet.jaxb2_commons.xml.bind.model.util.tests.gamma;
package org.jvnet.jaxb2_commons.xml.bind.model.util.tests;
package org.jvnet.jaxb2_commons.xml.bind.model.util;
package org.jvnet.jaxb2_commons.xml.bind.model;
package org.jvnet.jaxb2_commons.xml.bind;
package org.jvnet.jaxb2_commons.xml.namespace.util.tests;
package org.jvnet.jaxb2_commons.xml.namespace.util;
package org.jvnet.jaxb2_commons.xmlschema;
package org.jvnet.mjiip.tests.p_o;

@mattrpav
Copy link
Collaborator Author

I think we just rename 'jaxb2_commons' -> 'jaxb' and everything should line up reasonably.

@laurentschoelens thoughts?

laurentschoelens added a commit that referenced this issue Sep 24, 2023
* [#378] Java package refactor jaxb2_commons to jaxb

---------

Co-authored-by: Laurent Schoelens <61973605+laurentschoelens@users.noreply.github.com>
mattrpav pushed a commit to mattrpav/jaxb-tools that referenced this issue Feb 5, 2024
mattrpav added a commit to mattrpav/jaxb-tools that referenced this issue Feb 5, 2024
…rce#393)

* [highsource#378] Java package refactor jaxb2_commons to jaxb

---------

Co-authored-by: Laurent Schoelens <61973605+laurentschoelens@users.noreply.github.com>
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

No branches or pull requests

1 participant