On Tue, 2011-09-06 at 16:49 -0400, Steven Hawkins wrote:
Changing the settings.xml comes straight from the community
recommendations:
http://community.jboss.org/wiki/MavenGettingStarted-Developers
This recommendation only applies to known use of deprecated dependencies
and is not ideal. As my maven installation builds many other maven
artifacts, pointing at a deprecated repository should only be done if
absolutely necessary. So, although the Profile may be nice to have in
the settings.xml it should not be enabled by default meaning that the
build command for Teiid would need reflect the inclusion of the
deprecated profile.
I can understand if you don't like it, but you should why those
are the recommendations before altering Teiid. Also all of the jars in question I believe
are coming in via transitive dependencies in jboss integration. You could also look using
exclusions and possibly including better references at a provided scope if needed.
I do not suggest that Teiid be blindly changed to incorporate the
requirement. Currently, Teiid's POM is dictating the location of the
repositories for its dependencies. So, it would make sense that this
belongs there if Teiid truly requires these dependencies. If not, then
the artifact the is being pulled into Teiid, which requires these
deprecated dependencies should point to the deprecated location instead
of the developer or public repository.
That was my original suggestion. The module which requires the artifact
needs to be updated to properly import the correct artifact. This way, I
do not have to make my entire maven installation pull deprecated
artifacts and I do not have to make my entire Teiid workspace pull the
deprecated artifacts.
----- Original Message -----
> The resolution should be in the form of updating the pom.xml. If the
> project depends on deprecated libraries, then the project should
> reflect
> that. The user should not have to modify their Maven environment to
> satisfy the dependencies of the project. I recommend adding the
> deprecated repository to the poms that require the deprecated
> artifacts.
>
> On Tue, 2011-09-06 at 07:13 -0500, Ramesh Reddy wrote:
> > try
> >
> >
http://community.jboss.org/thread/169101?tstart=0
> >
> > Ramesh..
> >
> > On Fri, 2011-09-02 at 16:39 -0500, Larry O'Leary wrote:
> > > It was brought to my attention that using the information provided
> > > in
> > >
> > >
http://community.jboss.org/wiki/TeiidEclipseDevEnvironmentSetUpAndBuildin...
> > >
> > > ... along with the settings.xml file which is attached to the
> > > document,
> > > building of Teiid fails due to missing dependencies such as jaas
> > > and
> > > trove.
> > >
> > > So, I attempted to build from rev3413 and had no problems. I then
> > > removed my local maven repo and tried the build and sure enough,
> > > the
> > > build failed due a few missing artifacts such as jaas and trove.
> > >
> > > Upon further investigation, it appears that we are expecting to
> > > find
> > > some of these (if not all) artifacts on Nexus. For example:
> > >
> > >
https://repository.jboss.org/nexus/content/groups/developer/javax/securit...
> > >
> > > It appears the JAR is simply missing here. I also noticed this
> > > same
> > > thing in the apache maven repo. The JAR seems to be missing from
> > > many of
> > > the common repos.
> > >
> > > Was there a change we should have made to the maven settings.xml
> > > to find
> > > these artifacts?
> > >
> > >
> > > _______________________________________________
> > > teiid-dev mailing list
> > > teiid-dev(a)lists.jboss.org
> > >
https://lists.jboss.org/mailman/listinfo/teiid-dev
> >
> >
>
>
> --
>
> Larry O'Leary
> Middleware Support Engineering Group
> Global Support Services
> Red Hat, Inc.
> loleary(a)redhat.com
> 1.866.LINUX70 (+1.314.336.2990) xt 81-62909
> Office: +1.314.336.2909
> Mobile: +1.618.420.7623
> --
> Red Hat supports World Environment Day 2011.
>
http://www.unep.org/wed
>
> _______________________________________________
> teiid-dev mailing list
> teiid-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/teiid-dev
--
Larry O'Leary
Middleware Support Engineering Group
Global Support Services
Red Hat, Inc.
loleary(a)redhat.com
1.866.LINUX70 (+1.314.336.2990) xt 81-62909
Office: +1.314.336.2909
Mobile: +1.618.420.7623
--
Do your part: reduce, reuse, recycle.