Re: How access classes from war dependency?
Anders Hammar wrote: No, you create a third project which is a standard jar Maven project. There you but those Java classes. This will produce a jar artifact, which you declare a dependency to from both war projects. I've done this, as you've explained me here. But I have one problem yet. If I save data in jar object from 1-st war for the 2-nd war, the 2-nd war cannot acces they. My object is the singleton. 1 protected static Controller controller; 2 3 public static Controller getInstance() { 4 if(controller == null) { 5 controller = new Controller(); 6 } 7 return controller; 8 } If I debug 1-st war and then 2-nd one, I see that 2-nd war also goes into row 5. So both wars works with different objects. Can you explain me how can I solve this? Thank you in advance. Best Regards, -sipungora -- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4373647.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How access classes from war dependency?
Rick Genter wrote: I don't think you can do this. I think each war is in its own class loader; effectively each web application is in its own space. There may be ways to configure your app server to share information between wars, but frankly the whole concept smells of bad design. -- Rick Genter Thank you for explanation Rick, but what would be in this case a good design? Thank you in advance, Best Regards, -sipungora -- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4373726.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How access classes from war dependency?
Wayne Fay wrote: If I debug 1-st war and then 2-nd one, I see that 2-nd war also goes into row 5. So both wars works with different objects. Can you explain me how can I solve this? This is not the right place to ask such questions -- we are Maven experts, not j2ee war classloader experts. You probably need to use some tooling like Terracotta to achieve a server-wide (or even cluster-wide?) singleton. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org Thank you Wayne. I don't simple known where I should ask this. Besides Anders has proposed me this idea. I've thought that he can help me further. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4373752.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to extend GWT Module to Dynamic Web Module with Maven?
Wayne Fay wrote: on the page: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/39e0ff6325e4d504/55bfd342d77ec910?pli=1 one explains how gwt-module can be extended to Dynamic Web Module in order to be deploybar into eclipse tomcat. I've configured my pom so, that item 3 will be done by maven. You will most likely have better luck getting these questions answered at the GWT forum (or possibly even the M2E forum/list) than here at Maven. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org But if I search in this forum, I can find discussions about setting additionalProjectFacets with Maven. Unfortunately, all what I've found, were discussions about issues in facets-files created by maven. But I cannot create any facets-file for eclipse with maven. My pom settings for maven-eclipse-plugin are in the my first message. I build with mvn eclipse:eclipse command. What should I do yet in order it works? -- View this message in context: http://maven.40175.n5.nabble.com/How-to-extend-GWT-Module-to-Dynamic-Web-Module-with-Maven-tp4365106p4369599.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to extend GWT Module to Dynamic Web Module with Maven?
Ok, I must also add wtp-configs: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.8/version configuration ... wtpversion1.5/wtpversion wtpapplicationxmltrue/wtpapplicationxml ... And now I have the same issues in facets-file, that was earlier (ca. 2009) here discussed. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-extend-GWT-Module-to-Dynamic-Web-Module-with-Maven-tp4365106p4369734.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How to extend GWT Module to Dynamic Web Module with Maven?
In my case the tag additionalProjectFacets isn't needed. As a result I've got: faceted-project fixed facet=jst.java/ fixed facet=jst.web/ installed facet=jst.web version=2.4/ installed facet=jst.java version=6.0/ /faceted-project -- View this message in context: http://maven.40175.n5.nabble.com/How-to-extend-GWT-Module-to-Dynamic-Web-Module-with-Maven-tp4365106p4369776.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
RE: How to extend GWT Module to Dynamic Web Module with Maven?
plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.8/version configuration additionalBuildcommands buildcommandcom.google.gdt.eclipse.core.webAppProjectValidator /buildcommand buildcommandcom.google.gwt.eclipse.core.gwtProjectValidator /buildcommand /additionalBuildcommands additionalProjectnatures projectnaturecom.google.gwt.eclipse.core.gwtNature /projectnature projectnatureorg.eclipse.wst.common.modulecore.ModuleCoreNature /projectnature projectnatureorg.eclipse.wst.common.project.facet.core.nature /projectnature projectnatureorg.eclipse.wst.jsdt.core.jsNature /projectnature /additionalProjectnatures classpathContainers classpathContainercom.google.gwt.eclipse.core.GWT_CONTAINER /classpathContainer classpathContainerorg.eclipse.jdt.launching.JRE_CONTAINER /classpathContainer /classpathContainers /configuration /plugin I've only configured my pom as shown above and build with mvn eclipse:eclipse from console. I've manually located nothing on my classpath. How this exactly internal works, I don't know, but this works. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-extend-GWT-Module-to-Dynamic-Web-Module-with-Maven-tp4365106p4370603.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: gwt + jsf?
Solution: mvn war:inplace this creates war(webapp) directory in my eclipse project. All jar-dependencies will be copied into WEB-INF/lib. Exactly this webapp will be published in eclipse tomcat. And if I test it, it works! Cool. -- View this message in context: http://maven.40175.n5.nabble.com/gwt-jsf-tp4363026p4365083.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How to extend GWT Module to Dynamic Web Module with Maven?
Hi, My problem: on the page: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/39e0ff6325e4d504/55bfd342d77ec910?pli=1 one explains how gwt-module can be extended to Dynamic Web Module in order to be deploybar into eclipse tomcat. I've configured my pom so, that item 3 will be done by maven. 3. insert the following natures into your .project file (inside the natures node): natureorg.eclipse.wst.common.modulecore.ModuleCoreNature/nature natureorg.eclipse.wst.common.project.facet.core.nature/nature natureorg.eclipse.wst.jsdt.core.jsNature/nature But how can I configure pom for 7 and 8 items? 6. right-click the project and select Properties - Project Facets 7. Check 'Java' and 'Dynamic Web Project' 8. Click 'further configuration available' and change the Content Directory to 'war', to align with GWT's output This is my configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.8/version configuration additionalBuildcommands buildcommandorg.eclipse.jdt.core.javabuilder /buildcommand buildcommandcom.google.gdt.eclipse.core.webAppProjectValidator /buildcommand buildcommandcom.google.gwt.eclipse.core.gwtProjectValidator /buildcommand /additionalBuildcommands additionalProjectnatures projectnatureorg.eclipse.jdt.core.javanature /projectnature projectnaturecom.google.gwt.eclipse.core.gwtNature /projectnature projectnatureorg.eclipse.wst.common.modulecore.ModuleCoreNature /projectnature projectnatureorg.eclipse.wst.common.project.facet.core.nature /projectnature projectnatureorg.eclipse.wst.jsdt.core.jsNature /projectnature /additionalProjectnatures classpathContainers classpathContainercom.google.gwt.eclipse.core.GWT_CONTAINER /classpathContainer classpathContainerorg.eclipse.jdt.launching.JRE_CONTAINER /classpathContainer /classpathContainers additionalProjectFacets jst.java6.0/jst.java jst.web2.4/jst.web lt;/lt;bgt;additionalProjectFacets /configuration /plugin But additionalProjectFacets have no effect. If I do items 7 and 8 manually as it was described, the file org.eclipse.wst.common.project.facet.core.xml will be created. Its content is ?xml version=1.0 encoding=UTF-8? faceted-project installed facet=jst.java version=6.0/ installed facet=jst.web version=2.4/ /faceted-project But unfortunately this file will not be created by maven (I build with mvn eclipse:eclipse). This was item 7. About item 8 I have no ideas yet (I mean the build with maven). Thanks in advance. Best Regards. -sipungora -- View this message in context: http://maven.40175.n5.nabble.com/How-to-extend-GWT-Module-to-Dynamic-Web-Module-with-Maven-tp4365106p4365106.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How access classes from war dependency?
Thank you, Anders. I'll try this to do. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4362573.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How access classes from war dependency?
Thank you Dennis. I will later write, if it works. -- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4362575.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
gwt + jsf?
Hi, I'm developing a new application in gwt and I'm using an old application in jsf. I can build both with maven. And after build classes of jsf-project are correct arranged in WEB-INF/classes of gwt-war. My gwt project is also a dynamic web project. But if I deploy my gwt project into Tomcat-Server in Eclipse, the gwt-war will only be deployed without jsf-classes. It seems the war will be taken, that is created by gwt compilation with google plugin for eclipse. What can I do in this case? Also: I have jsf-war-dependency in the gwt-project. And it will correct be built with maven. But the gwt-war will be deployed, that is created by google plugin for eclipse and it contains no classes of jsf. Thanks in advance. Best Regards. -sipungora-- View this message in context: http://maven.40175.n5.nabble.com/gwt-jsf-tp4363026p4363026.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Error assembling WAR: MANIFEST.MF does not exist.
Why are you setting outputDirectory manually? I have no good answer to your question. I have found the similar project like my one. And I do copy and paste. that means in war/WEB-INF/classes/META-INF/ just as it says in the error message. I've understood this, and therefore I've said sorry. dennisl wrote: On 2011-05-01 01:31, sipungora wrote: Sorry, it was my error. pom says: build outputDirectorywar/WEB-INF/classes/outputDirectory This is not good. You should alway use a directory under target/ as your output directory. Why are you setting outputDirectory manually? ... and ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration warSourceDirectorywar/warSourceDirectory webXmlsrc/main/webapp/WEB-INF/web.xml/webXml dependentWarExcludesWEB-INF/lib/*/dependentWarExcludes archive manifestFile${project.build.outputDirectory}/META-INF/MANIFEST.MF /manifestFile Here you are telling the plugin to use your own custom MANIFEST.MF that is located in ${project.build.outputDirectory}/META-INF/ and with your current outputDirectory that means in war/WEB-INF/classes/META-INF/ just as it says in the error message. /archive /configuration /plugin ... /build Now I've corrected it and build is successful. Thank you for hint. Sorry. -- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361959.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Dennis Lundberg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4363196.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How access classes from war dependency?
Hi Anders, you create a third project which is a standard jar Maven project. I've done it. But how can I configure my pom, that this jar will after building be in WEB-INF/lib of my war? Currently I do it manually. Thank you in advance. Best Regards, -sipungora-- View this message in context: http://maven.40175.n5.nabble.com/How-to-access-classes-from-war-dependency-tp4362127p4363706.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: gwt + jsf?
stephenconnolly wrote: sounds like you don't have an issue with maven... did you mean to send this to the eclipse or the m2eclipse list? - Stephen --- Sent from my Android phone, so random spelling mistakes, random nonsense words and other nonsense are a direct result of using swype to type on the screen On 1 May 2011 17:31, sipungora lt;kostya...@yahoo.degt; wrote: probably I do it later. But now I have found a work around. I've created a new project with only for gwt-project needed java classes. I make it to jar. And so I have now in gwt-project this jar-dependency and I don't need a jsf-war dependency. My problem now is, how can I configure my pom so, that the jar will be in WEB-INF/lib of my war? Currently I do it manually. Thank you in advance. Best Regards. -sipungora-- View this message in context: http://maven.40175.n5.nabble.com/gwt-jsf-tp4363026p4363731.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Error assembling WAR: MANIFEST.MF does not exist.
Hi, can somebody explain me why get I this error: Error assembling WAR: myproject\war\WEB-INF\classes\META-INF\MANIFEST.MF does not exist. Why is it looking for MANIFEST.MF in WEB-INF\classes? Thanks in advance. Best Regards. -sipungora-- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361924.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Error assembling WAR: MANIFEST.MF does not exist.
Do you mean this part? plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration warSourceDirectorywar/warSourceDirectory webXmlsrc/main/webapp/WEB-INF/web.xml/webXml dependentWarExcludesWEB-INF/lib/*/dependentWarExcludes archive manifestFile${project.build.outputDirectory}/META-INF/MANIFEST.MF /manifestFile /archive /configuration /plugin -- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361951.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Error assembling WAR: MANIFEST.MF does not exist.
Sorry, it was my error. pom says: build outputDirectorywar/WEB-INF/classes/outputDirectory ... and ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration warSourceDirectorywar/warSourceDirectory webXmlsrc/main/webapp/WEB-INF/web.xml/webXml dependentWarExcludesWEB-INF/lib/*/dependentWarExcludes archive manifestFile${project.build.outputDirectory}/META-INF/MANIFEST.MF /manifestFile /archive /configuration /plugin ... /build Now I've corrected it and build is successful. Thank you for hint. Sorry. -- View this message in context: http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361959.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How access classes from war dependency?
Hi, I have a war-dependency. Its classes are arranged in war/WEB-INF/classes/. How should I configure my pom, that I can access they? I assume, they should be copied from war/WEB-INF/classes/ into mywar/WEB-INF/classes/, but I don't know, how my pom should correct be configured. this is a config of maven-war-plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration warSourceDirectorywar/warSourceDirectory webXmlsrc/main/webapp/WEB-INF/web.xml/webXml dependentWarExcludesWEB-INF/lib/*/dependentWarExcludes archive manifestFilewar/META-INF/MANIFEST.MF /manifestFile /archive /configuration /plugin and this is the war-dependency: dependency groupId${groupId}/groupId artifactIdtest/artifactId version${version}/version typewar/type /dependency Thanks in advance. Best Regards. -sipungora. -- View this message in context: http://maven.40175.n5.nabble.com/How-access-classes-from-war-dependency-tp4362127p4362127.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: auto code format eclipse .settings
Thank you, Patrick, I try this. Thank you for all, who has taken a part in this discussion. Best Regards, Sipungora Patrick Turcotte-4 wrote: Maybe this could help. If you make the modification through Eclipse interface, and check how the files were modified in .settings, you could probably set the plugin so it uses additionalConfig as below: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId version2.7/version configuration additionalConfig file name.settings/org.eclipse.core.resources.prefs/name content ![CDATA[eclipse.preferences.version=1 encoding/project=ISO-8859-1]] /content /file /additionalConfig /configuration /plugin Patrick On 10-03-17 04:13 PM, Ludwig Magnusson wrote: Perhaps the code formatter? It's possible to export/import a projects code formatting in eclipse to/from an xml file. But I don't know if maven can use it to configure the code formatting of a project. /Ludwig -Original Message- From: Sipungora [mailto:kostya...@yahoo.de] Sent: den 17 mars 2010 21:03 To: users@maven.apache.org Subject: Re: auto code format eclipse .settings Hi Wayne, probably I don't correct understand your questions.:-( I read the documentation on the http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html site and there is the clause eclipse:eclipse Generates the following eclipse configuration files: ... .setting/org.eclipse.jdt.core.prefs with project specific compiler settings... there. But I didn't find how I can configure my pom to write e.g. formatting settings in this file in .setting directory. Wayne Fay wrote: how can I change .settings files with Maven2? maven-eclipse-plugin allows to set the workspace, but I want to set auto code format settings. Is it possible with maven? :confused::confused::confused: What in the maven-eclipse-plugin documentation makes you believe this is functionality that m-e-p will provide/support? Or is it merely an assumption on your part? What is confusing you? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- Patrick Turcotte Développeur/Architecte Java patrick.turco...@revolutionlinux.com (819) 780-8955, poste 1129 Sans frais 1-800-996-8955, poste 1129 - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://old.nabble.com/auto-code-format-eclipse-.settings-tp27933567p27942678.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: auto code format eclipse .settings
I've solved it. This is my parent model: http://old.nabble.com/file/p27945404/pom.xml pom.xml Warning: It doesn't work so. It must be extended. It should only show the principle. Settings for .settings files were made with eclipse first and then they was saved in foo-core.xml and in foo-ui.xml Best Regards, Sipungora Sipungora wrote: Hi, how can I change .settings files with Maven2? maven-eclipse-plugin allows to set the workspace, but I want to set auto code format settings. Is it possible with maven? :confused::confused::confused: Thanks in advance. -- View this message in context: http://old.nabble.com/auto-code-format-eclipse-.settings-tp27933567p27945404.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
auto code format eclipse .settings
Hi, how can I change .settings files with Maven2? maven-eclipse-plugin allows to set the workspace, but I want to set auto code format settings. Is it possible with maven? :confused::confused::confused: Thanks in advance. -- View this message in context: http://old.nabble.com/auto-code-format-eclipse-.settings-tp27933567p27933567.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: auto code format eclipse .settings
Hi Wayne, probably I don't correct understand your questions.:-( I read the documentation on the http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html site and there is the clause eclipse:eclipse Generates the following eclipse configuration files: ... .setting/org.eclipse.jdt.core.prefs with project specific compiler settings... there. But I didn't find how I can configure my pom to write e.g. formatting settings in this file in .setting directory. Wayne Fay wrote: how can I change .settings files with Maven2? maven-eclipse-plugin allows to set the workspace, but I want to set auto code format settings. Is it possible with maven? :confused::confused::confused: What in the maven-eclipse-plugin documentation makes you believe this is functionality that m-e-p will provide/support? Or is it merely an assumption on your part? What is confusing you? Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://old.nabble.com/auto-code-format-eclipse-.settings-tp27933567p27937559.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Scope
Hi, I need provided transitive scope. Scope provided isn't transitive. Is there a solution for it? Thanks in advance. -- View this message in context: http://www.nabble.com/Scope-tp24270252p24270252.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: How remove exclude **/*.java from resources
Thank you, Wayne, very much. Sipungora Wayne Fay wrote: i try to get two source folders in my project. As a second source folder I'm going to use resources directory. I can set **/*.java in include. But in conflicts between include and exclude, exclude wins. You should use the build-helper-maven-plugin to add the second source directory. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org -- View this message in context: http://www.nabble.com/How-remove-exclude-**-*.java-from-resources-tp24184164p24217538.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Valid id pattern
Hi, this is my project structure: parent child1 child2 child11 child22 child11 depends from child22. Which is valid id pattern for this? I thought ${parent.parent.artifactId}, but this doesn't work. Thanks in advance. -- View this message in context: http://www.nabble.com/Valid-id-pattern-tp24221893p24221893.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Valid id pattern
Hi, this is my project structure: parent child1 child2 child11 child22 child11 depends from child22. How can I access my parent from child11? I thought with ${parent.parent.artifactId}, but this doesn't work. Which is valid id pattern for this? Thanks in advance. -- View this message in context: http://www.nabble.com/Valid-id-pattern-tp24222135p24222135.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
How remove exclude **/*.java from resources
Hi, i try to get two source folders in my project. As a second source folder I'm going to use resources directory. I can set **/*.java in include. But in conflicts between include and exclude, exclude wins. How can I remove a default exclude **/*.java from resources?:confused: -- View this message in context: http://www.nabble.com/How-remove-exclude-**-*.java-from-resources-tp24184164p24184164.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org