Announcement Announcement Module
Collapse
No announcement yet.
The plugins block problems in POM after upgrading Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • The plugins block problems in POM after upgrading

    I upgraded my STS installation to 2.8.0 first and 2.8.1 consequently from 2.3.0(?). The upgrading process was mess in my project POM file. After deleting all existing local Maven repositories and downgrading a few dependency versions, a couple problems in the plugins block prevent building the project. I don't seem to be able find a right version number of those plugin. Are they m2e related problems? I had posted a question on the mailing list and didn't get a response.

    Code:
    	<build>
    		<plugins>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-compiler-plugin</artifactId>
    				<version>2.3.2</version>                                       <--- which version it shall be?
    				<configuration>
    					<source>1.6</source>
    					<target>1.6</target>
    					<encoding>UTF-8</encoding>
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-war-plugin</artifactId>
    				<version>2.0.9</version>                             <--- which version it shall be?
    				<configuration>
    					<warName>vsm</warName>
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-dependency-plugin</artifactId>
    				<executions>
    					<execution>
    						<id>install</id>
    						<phase>install</phase>
    						<goals>
    							<goal>sources</goal>
    						</goals>
    					</execution>
    				</executions>
    			</plugin>
    		</plugins>
    	</build>
    Last edited by vw729; Jan 26th, 2012, 06:55 PM.

  • #2
    I can't see how STS would be causing this problem, but it may be worth looking into some more here. Some questions first:

    1. Which mailing list did you post on?
    2. What exactly are the errors you are getting?
    3. What version of m2e are you using (new or old)?
    4. Any errors in the error log?
    5. Can you successfully run mvn on the command line for this project?
    6. What version are you expecting? And what version are you getting?
    Last edited by Andrew Eisenberg; Jan 27th, 2012, 11:25 AM.

    Comment


    • #3
      Thanks Andrew. I answer your questions in the followings
      1. [email protected]
      2. In the file panel, the errors are the following:
      Code:
      - Failure to find org.apache.maven.plugins:maven-war-plugin:pom:2.0.9 in http://localhost:8081/nexus/content/groups/public was cached in 
      	 the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
      	- No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (C:\Documents and 
      	 Settings\smith\.m2\repository), nexus (http://localhost:8081/nexus/content/groups/public)]
      3. The m2e version shall be the one comes with STS 2.8.1. It is 1.0.100.20110804-1717. I don't know it is old or new.

      Comment


      • #4
        4. Here is what log file I export from the error message panel:
        Code:
        !SESSION 2012-01-27 10:13:11.562 -----------------------------------------------
        eclipse.buildId=2.8.1.201111221000-RELEASE
        java.version=1.6.0_29
        java.vendor=Sun Microsystems Inc.
        BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
        Framework arguments:  -product com.springsource.sts.ide
        Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.springsource.sts.ide
        
        !ENTRY org.eclipse.core.resources 2 10035 2012-01-27 10:14:16.796
        !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
        
        !ENTRY org.eclipse.osgi 2 0 2012-01-27 10:16:22.093
        !MESSAGE While loading class "org.eclipse.team.internal.ccvs.core.CVSWorkspaceSubscriber", thread "Thread[main,6,main]" timed out waiting (5000ms) for thread "Thread[Worker-22,5,main]" to finish starting bundle "org.eclipse.team.cvs.core_3.3.400.I20110510-0800 [708]". To avoid deadlock, thread "Thread[main,6,main]" is proceeding but "org.eclipse.team.internal.ccvs.core.CVSWorkspaceSubscriber" may not be fully initialized.
        !STACK 0
        org.osgi.framework.BundleException: State change in progress for bundle "reference:file:plugins/org.eclipse.team.cvs.core_3.3.400.I20110510-0800.jar" by thread "Worker-22".
        	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
        	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
        	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
        	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
        	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
        	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
        	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
        	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
        	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
        	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
        	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
        	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
        	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        	at org.eclipse.team.internal.ccvs.ui.CVSUIPlugin.start(CVSUIPlugin.java:683)
        	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
        	at java.security.AccessController.doPrivileged(Native Method)
        	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
        	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
        	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
        	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
        	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
        	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
        	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
        	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
        	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
        	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
        	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
        	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
        	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
        	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
        	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        	at org.eclipse.mylyn.internal.team.ccvs.CvsActiveChangeSetProvider.getActiveChangeSetManager(CvsActiveChangeSetProvider.java:26)
        	at org.eclipse.mylyn.internal.team.ui.FocusedTeamUiPlugin.addActiveChangeSetProvider(FocusedTeamUiPlugin.java:127)
        	at org.eclipse.mylyn.internal.team.ui.FocusedTeamExtensionPointReader.readExtensions(FocusedTeamExtensionPointReader.java:53)
        	at org.eclipse.mylyn.internal.team.ui.FocusedTeamUiPlugin$1.run(FocusedTeamUiPlugin.java:80)
        	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
        	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
        	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
        	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
        	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
        	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
        	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
        	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
        	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
        	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
        	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
        Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
        	... 62 more

        Comment


        • #5
          Code:
          Root exception:
          org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
          	at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
          	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
          	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
          	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
          	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
          	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
          	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
          	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
          	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
          	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
          	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
          	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
          	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
          	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
          	at org.eclipse.team.internal.ccvs.ui.CVSUIPlugin.start(CVSUIPlugin.java:683)
          	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
          	at java.security.AccessController.doPrivileged(Native Method)
          	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
          	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
          	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
          	at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
          	at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
          	at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
          	at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
          	at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:462)
          	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
          	at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
          	at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
          	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:473)
          	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
          	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
          	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
          	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
          	at org.eclipse.mylyn.internal.team.ccvs.CvsActiveChangeSetProvider.getActiveChangeSetManager(CvsActiveChangeSetProvider.java:26)
          	at org.eclipse.mylyn.internal.team.ui.FocusedTeamUiPlugin.addActiveChangeSetProvider(FocusedTeamUiPlugin.java:127)
          	at org.eclipse.mylyn.internal.team.ui.FocusedTeamExtensionPointReader.readExtensions(FocusedTeamExtensionPointReader.java:53)
          	at org.eclipse.mylyn.internal.team.ui.FocusedTeamUiPlugin$1.run(FocusedTeamUiPlugin.java:80)
          	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
          	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
          	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
          	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
          	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
          	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
          	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
          	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
          	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
          	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
          	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
          	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
          	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
          	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
          	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
          	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
          	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
          	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          	at java.lang.reflect.Method.invoke(Method.java:597)
          	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
          	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
          	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
          	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:16:57.921
          !MESSAGE The POM for org.springframework:spring-web:jar:3.1.0.M2 is missing, no dependency information available
          
          !ENTRY org.eclipse.jst.jsp.core 4 4 2012-01-27 10:22:52.734
          !MESSAGE A workspace crash was detected. The previous session did not exit normally. Not using saved taglib indexes.
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:23:18.984
          !MESSAGE The POM for org.springframework:spring-web:jar:3.1.0.M2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:23:19.625
          !MESSAGE The POM for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:23:19.625
          !MESSAGE Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-war-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-war-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:24:20.015
          !MESSAGE The POM for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:25:01.562
          !MESSAGE The POM for org.springframework:spring-web:jar:3.1.0.M2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:25:01.906
          !MESSAGE The POM for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:25:01.921
          !MESSAGE Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-war-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-war-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:25:02.656
          !MESSAGE The POM for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:57:48.609
          !MESSAGE The POM for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:58:01.171
          !MESSAGE The POM for org.springframework:spring-web:jar:3.1.0.M2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:58:02.593
          !MESSAGE The POM for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2 is missing, no dependency information available
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:58:02.640
          !MESSAGE Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-war-plugin:2.3.2: Plugin org.apache.maven.plugins:maven-war-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2
          
          !ENTRY org.eclipse.m2e.logback.appender 2 0 2012-01-27 10:58:05.562
          !MESSAGE The POM for org.apache.maven.plugins:maven-war-plugin:jar:2.3.2 is missing, no dependency information available
          5. After removing the version in the plugin block, I can run "mvn verify" successfully and a war file is created.
          6. The original version is 2.3.2 in the plugin block. After having the error shown in the 2 answer, I tried to upgrade it to the latest one according to mavenrepository.com. It doesn't take it. I can't recall the error. In the step mentioned in my answer for #5 question, the 2.0.2 version is downloaded.
          Last edited by vw729; Jan 27th, 2012, 02:42 PM.

          Comment


          • #6
            What about questions 4, 5, and 6?

            Comment


            • #7
              Andrew, I have answered your questions 4, 5, and 6. I couldn't get all text in one post and had to posted it in 3 separated posts.

              Also, I try to get a right plugin block code. So, I created a new Spring MVC project by walking through the STS Spring template setup procedure. I can't run a build of the project. The followings is the messages shown in the console panel:
              Code:
              [INFO] Scanning for projects...
              [WARNING] 
              [WARNING] Some problems were encountered while building the effective model for com.vernonwu:circle:war:1.0.0-BUILD-SNAPSHOT
              [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 122, column 12
              [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 130, column 12
              [WARNING] 
              [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
              [WARNING] 
              [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
              [WARNING] 
              [INFO] ------------------------------------------------------------------------
              [INFO] BUILD FAILURE
              [INFO] ------------------------------------------------------------------------
              [INFO] Total time: 0.312s
              [INFO] Finished at: Fri Jan 27 12:10:49 PST 2012
              [INFO] Final Memory: 1M/15M
              [INFO] ------------------------------------------------------------------------
              [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-site, site, post-site, site-deploy, pre-clean, clean, post-clean. -> [Help 1]
              [ERROR] 
              [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
              [ERROR] Re-run Maven using the -X switch to enable full debug logging.
              [ERROR] 
              [ERROR] For more information about the errors and possible solutions, please read the following articles:
              [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException
              I, however, can run the maven install (run as->m2 maven install).

              I copy the plugin block code over into the old project POM file and run "maven install". That seems to solve my problem. I will need to verify whether the war file is correct or not later.
              Last edited by vw729; Jan 27th, 2012, 03:49 PM.

              Comment

              Working...
              X