(adding back the users list) On 5/26/05, Anatol Pomozov <[EMAIL PROTECTED]> wrote: > [ERROR] Error while rewriting file or POM for artifact: > 'generama:generama:jar:1.1.1-SNAPSHOT'. See report at: > 'generama/generama/jar/1.1.1-SNAPSHOT.report.txt'.java.lang.NullPointerException
I'm not sure why this is - looks like a missing group ID, but it should have determined that from the path. > As I understand that is because of poms absence. Most of my M1 > artifacts have no pom in repository. It does add poms when they are missing. > Another question. What is default scope for artifact in M2 pom.xml?? compile (ie, available to all classpaths) > As I understand that dependency used only in dom4j for testing but > when I run 'm2 package' for my project maven tries to download this > dependency. Is it normal?? I don't want to run tests for dom4j and I > dont need this dependency. We will be adding filtering for this in alpha-3 so you can prevent it. For now, you must report it in JIRA under the MEV project so we can fix the dom4j POM and get them to fix it at the source too (you can adda hint in your m1 project files to set <properties><scope>test</scope></properties>). > Probably we need to to add some heuristic algorithm to evaluate scope > of the dependency from M1 pom. For example if for dependency present > property <dist.bundle> then it has runtime or compile scope otherwise > - test. Most compile dependencies won't have that property, unfortunately. Cheers, Brett --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
