On 6/8/07, Eugene Kuleshov <[EMAIL PROTECTED]> wrote:
Eric Redmond wrote: > Yes, the tcconfig-xmlbeans-generated.jar is currently generated by > Maven via XMLBeans plugin - that's not a problem. The configV1 and V2, > however, don't look to be generated (talking with some guys in IRC, > I'm fairly certain they are not) - in which case they need to be added > to the TC Maven repo as Maven projects. That can be done via: > > mvn deploy:deploy-file -DgroupId=org.terracotta > -DartifactId=tcconfigV1 -Dpackaging=jar -Dversion=V1 > -DgeneratePom=true -Dfile=tcconfigV1.jar -DrepositoryId=<REPO ID> > -Durl=<REPO UPLOAD PROCESS> > http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html I would probably suggest to use "qualifier" instead of version.
Classifier? Yeah, that might make sense- I really don't know what they are - different versions of the same thing? Different projects entirely? So you might want to deploy it as: mvn deploy:deploy-file \ -DgroupId=org.terracotta \ -DartifactId=tcconfig \ -Dversion=1.0 \ -Dpackaging=jar \ -Dclassifier=V1 \ -DgeneratePom=true \ -Dfile=tcconfigV1.jar \ -DrepositoryId=<REPO ID> \ -Durl=<REPO UPLOAD PROCESS>
However, what about the corresponding tc test-xmlbeans-generated.jar? > I don't see any mirroring "test" schemas, and it's also not generated > by the script. Was is a manual thing? Seems like that one is generated from /legacy-test-tree/tests.unit/com/tc/config/schema/test.xsd and only used by some weird ancient tests. I am not even sure what those tests are testing. :-)
Oh cool, I couldn't find it. I'll generate it just to be safe. Ultimately, these should really be seperate projects (in the Maven sense) since the rule is 1 artifact per project (or 2, in the case of a test-jar). Eric regards,
Eugene _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
-- Eric Redmond http://www.sonatype.com
_______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
