[jboss-dev] split metadata

Alexey Loubyansky alexey.loubyansky at redhat.com
Thu Jun 18 09:50:50 EDT 2009


Regarding the authorization issue, I was missing snapshot.jboss.org 
server in the settings.xml. So, it worked now.
Common snapshot is deployed. You can check out only the project you want 
to work on and... work on it.

Alexey

Alexey Loubyansky wrote:
> I have committed the split metadata now. The details are below. I'd like 
> to get feedback from the projects that use it.
> 
> I couldn't execute mvn deploy. It would fail with e.g.
> [INFO] Error retrieving previous build number for artifact 
> 'org.jboss.metadata:metadata-common:jar': repository metadata for: 
> 'snapshot org.jboss.meta
> data:metadata-common:2.0.0-SNAPSHOT' could not be retrieved from 
> repository: snapshots.jboss.org due to an error: Authorization failed: 
> Not authorized
> 
> So, if you want to build e.g. EJB metadata you have to check out ejb and 
> common projects, build and install common and then build ejb.
> 
> 
> New metadata structure
> ----------------------
> 
> Metadata project (version 1.0.X) has been split into several: common 
> project + one project per specific technology. The initial version for 
> all the new projects is 2.0.0-SNAPSHOT. The current list of the projects 
> is:
> - common
> - EJB
> - WEB
> - RAR
> - EAR
> - client
> 
> The common one contains stuff which is used by other projects, plus 
> common Java EE metadata, common JBoss metadata and WS metadata. These 
> could further be extracted to their own projects if needed.
> All technology-specific projects declare dependency on the common project.
> 
> 
> SVN repository
> --------------
> 
> The main location is 
> https://svn.jboss.org/repos/jbossas/projects/metadata/. Under which each 
> project's trunk is located under project_name/trunk, e.g. common/trunk, 
> ejb/trunk, etc.
> 
> 
> Maven
> -----
> 
> groupId remains the same, i.e. org.jboss.metadata.
> artifactId is metadata-project_name, e.g. metadata-common, metadata-ejb, 
> etc.
> 
> 
> Things that were removed
> ------------------------
> 
> Packages org.jboss.ejb3.metamodel and org.jboss.metamodel.descriptor 
> weren't copied. I am not sure if they are used now.
> The same for org.jboss.metadata.test.ejb3 and 
> org.jboss.metadata.test.generator.
> 
> JAWS DTDs weren't copied neither (they shouldn't have been there from 
> the beginning).
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development



More information about the jboss-development mailing list