I'm down to 4 errors,  all of them are related to a reference to a jbossts sar artifact which the plugin apparently does not like. I'm looking to see if there is a configuration option for what are accepted jar artifacts to resolve this.

Severity and Description    Path    Resource    Location    Creation Time    Id
Illegal type of archive for required library: '/home/svn/repository.jboss.org/maven2/jboss/jbossts/jbossts-tools/4.6.1.GA/jbossts-tools-4.6.1.GA.sar' in project 'testsuite'        testsuite    Build path    1249361338466    3325343
Illegal type of archive for required library: '/home/svn/repository.jboss.org/maven2/jboss/jbossts/jbossts-tools/4.6.1.GA/jbossts-tools-4.6.1.GA.sar' in project 'thirdparty'        thirdparty    Build path    1249361338764    3325344
The project cannot be built until build path errors are resolved        testsuite    Unknown    1249361346717    3325346
The project cannot be built until build path errors are resolved        thirdparty    Unknown    1249361346666    3325345



Andrew Lee Rubinger wrote:
I quickly tried m2eclipse over the weekend.  Still a bunch of explicit 
dependencies are missing in a bunch of the modules I suppose, as import 
had a bunch of missing .class references.

Next time I'm working in trunk I'll update them, unless someone beats me 
to it.

S,
ALR

On 08/03/2009 10:32 PM, Scott Stark wrote:
  
Ok, I am using m2eclipse on other projects, but did not know that the
eclipse:eclipse plugin was discouraged. Are the jbossas eclipse users ok
with updating the project files to rely on m2eclipse? Seems like there
is not much of a choice.

Max Rydahl Andersen wrote:
    
I've seen you guys keep mentioning mvn eclipse:eclipse.

I like to point out that the Maven guys (sonatype) discourage usage of
this since it is not maintained
and in some cases just utterly broken.

If it works for you guys, then that is great - but please consider
installing m2eclipse plugin which
adds "native" support for maven in eclipse; and if you find issues
there then we (jboss tools team) can
maybe even help out.

Just a suggestion.

Note: the issues below can also just as well be pom.xml bugs, but just
wanted to point out mvn eclipse:eclipse
is not the best way to use eclipse with maven.

/max

Scott Stark wrote:
      
I'm finally getting back to loading trunk into eclipse, and the eclipse
projects are incorrect, even after running mvn eclipse:eclipse.

1. jbossas-remoting does not have a source path for the tests so they
have an incorrect package
2. the varia project is missing org.exolab.castor in its classpath
3. connector has conflicting jdk5/6 jdbc uses
4. iiop has an obsolete jdk4 reference

It looks like the eclipse plugin is not using the excludes from the pom.
Is this supposed to be picked up automatically?

Paul Gier wrote:

        
I have refactored the AS 6 build so that the thirdparty pom is no longer needed.
    The thirdparty pom has now been replaced by two poms.  The first one is in
the build directory and contains module dependencies and anything else included
in the AS distribution.  The second pom is a new pom in the testsuite directory
and it contains dependencies that are only used in the testsuite.

The thirdparty pom should now be considered deprecated, and I will remove the
thirdparty directory in trunk after a little more testing.  If you want to
add/update dependencies in the AS, here is how to do it.

Add a new dependency just to the distribution
---------------------------------------------
1. add/update the dependency in component-matrix/pom.xml
2. add/update the dependency in build/pom.xml
3. the Ant build can then reference the dependency with the format:
${groupId:artifactId:[classifier:]type}

Add/update a dependency used only in the testsuite
--------------------------------------------------
1. add/update the dependency in component-matrix/pom.xml
2. add/update the dependency in testsuite/pom.xml
3. the Ant testsuite build can then reference the dependency with the format:
${groupId:artifactId:[classifier:]type}

Add/update a module dependency
------------------------------
1. add/update the dependency in component-matrix
2. add/update the dependency in the module pom


I will also add this information to the wiki [1] when clearspace starts working
for me again.

[1]http://www.jboss.org/community/wiki/jbossasbuild
_______________________________________________
jboss-development mailing list
jboss-development@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development


          
_______________________________________________
jboss-development mailing list
jboss-development@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development

        
------------------------------------------------------------------------

_______________________________________________
jboss-development mailing list
jboss-development@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development

      
------------------------------------------------------------------------

_______________________________________________
jboss-development mailing list
jboss-development@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development