[jira] Commented: (MSITE-604) Properties from settings.xml are not recognized in site distribution management
[ https://jira.codehaus.org/browse/MSITE-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=279628#comment-279628 ] Lorand Somogyi commented on MSITE-604: -- This bug is introduced in 3.0. Work as expected with 3.0-beta-3. > Properties from settings.xml are not recognized in site distribution > management > > > Key: MSITE-604 > URL: https://jira.codehaus.org/browse/MSITE-604 > Project: Maven 2.x and 3.x Site Plugin > Issue Type: Bug > Components: site:deploy >Affects Versions: 3.0 > Environment: Apache Maven 2.2.1 and 3.0.3 >Reporter: Marcin Kuthan > > My distribution management section looks like: > {code} > > >${acme-corporate-pom.siteRepositoryId} >${acme-corporate-pom.siteRepositoryUrl} > > > {code} > Where the default property values are defined in the pom: > {code} > > > acme-site > > scp://sites.intranet.acme.com/var/www > > {code} > I'm able redefine properties from command line, the provided repository is > used instead default one: > {code} > mvn site:site site:deploy > -Dacme-corporate-pom.siteRepositoryUrl=scp://somehost/var/www/sites > -Dacme-corporate-pom.siteRepositoryId=somehost > {code} > But when I redefine properties in the profile in {{settings.xml}}, they are > ignored. The profile is activated in {{ It looks, than only m-site-p ignores properties defined in the > {{settings.xml}} file. m-deploy-p recognizes properties as I expected > (distribution management section for articats deployment is configured in > similar way to site deployment). > -- > Marcin Kuthan > Maven For Enterprise - http://code.google.com/p/m4enterprise/ -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MJAVADOC-276) Initial builds of a multi-module project fail
[ http://jira.codehaus.org/browse/MJAVADOC-276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=205342#action_205342 ] Lorand Somogyi commented on MJAVADOC-276: - Possible workaround: Add to build>plugins: org.apache.maven.plugins maven-release-plugin 2.0-beta-9 clean verify install The point is: do the install at preparation stage so that javadoc plugin could resolve inter-module dependencies. This setup works for Maven 2.2.1 + javadocs 2.6.1 > Initial builds of a multi-module project fail > - > > Key: MJAVADOC-276 > URL: http://jira.codehaus.org/browse/MJAVADOC-276 > Project: Maven 2.x Javadoc Plugin > Issue Type: Bug >Affects Versions: 2.6.1 > Environment: Java jdk1.6.0_16, Maven 2.2.1, Windows Vista 64-bit > Java jdk1.6.0_05, Maven 2.0.9, Windows XP 32-bit >Reporter: Anthony Whitford >Priority: Blocker > Attachments: bug.zip > > > I ran into a problem using Maven Javadoc Plugin 2.6.1 right after I > released... I went from version 1.15 to 1.16-SNAPSHOT, and my 1.16-SNAPSHOT > build failed ({{mvn clean install site}}) because Javadoc fails when run from > the top-level parent. When it is building _module A_, the javadoc complains > that _module B_ and _module C_ are missing -- of course they are, they > haven't been built yet. Note that running {{mvn clean install}} from _module > A_ works fine -- the behavior is limited to running from the top-level parent > -- AND, if you run a {{mvn install}} for _module B_ and _module C_, then you > have given it what it needs and so you won't see the error. > The attached example exhibits the problem. It was created from the > _j2ee-simple_ archetype -- I only added the explicit javadoc plugin > declaration to the top level pom to control the version being used. To > recreate the problem, unzip and simply: {{mvn clean install site}}. You > will get an error message like: > {noformat} > [INFO] Unable to find resource 'root.project.projects:logging:jar:1.0' in > repository central (http://repo1.maven.org/maven2) > [INFO] > > [ERROR] BUILD ERROR > [INFO] > > [INFO] Failed to resolve artifact. > Missing: > -- > 1) root.project.projects:logging:jar:1.0 > Try downloading the file manually from the project website. > Then, install it using the command: > mvn install:install-file -DgroupId=root.project.projects > -DartifactId=logging -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=root.project.projects > -DartifactId=logging -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file > -Durl=[url] -DrepositoryId= > [id] > Path to dependency: > 1) root.project:primary-source:jar:1.0 > 2) root.project.projects:logging:jar:1.0 > -- > 1 required artifact is missing. > for artifact: > root.project:primary-source:jar:1.0 > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > {noformat} > As you can see, it seems to think that a submodule (in this case > {{root.project.projects:logging:jar:1.0}}) is necessary to build the javadoc > for the project... Since this is the first time that this is being built, > the submodule does not exist (yet). > I have replicated this problem on two different computing environments, so > I'm convinced that the Maven version is not relevant. > (It is unclear to me if this problem also existed with Javadoc 2.6, but I > don't think so.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MRESOURCES-58) Filter not working on src/test/resources
Filter not working on src/test/resources Key: MRESOURCES-58 URL: http://jira.codehaus.org/browse/MRESOURCES-58 Project: Maven 2.x Resources Plugin Issue Type: Bug Affects Versions: 2.2 Environment: OS: Linux (Ubuntu gutsy) 2.6.22-14-generic. Maven: 2.0.8 Reporter: Lorand Somogyi Attachments: test.zip Filter does not work for test-resources. I tried: 1. No definition in pom.xml 2. Defining the resource in pom.xml In the attached really basic case the property comes from pom.xml property, but it does fail for filter file too. And even for default pom.xml variables too... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (ARCHETYPE-255) custom variable filtered in created resources
custom variable filtered in created resources - Key: ARCHETYPE-255 URL: http://jira.codehaus.org/browse/ARCHETYPE-255 Project: Maven Archetype Issue Type: Wish Components: Creator, Generator Environment: Any Reporter: Lorand Somogyi It would be nice to be able to define a custom variable that would be filtered for created resources just like artifactId or gourpId. Example Command line: mvn archetype:create ... -DartifactId=my-foo -DmyVar=myValue Usage, in archetype-resources pom for example: https://example.com/foo/${myVar}/${artifactId}/trunk Which would translate to: https://example.com/foo/myValue/my-foo/trunk -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira