« Return to Thread: [jira] Created: (MEVENIDE-614) war compiling into war class path recognition

[jira] Commented: (MEVENIDE-614) war compiling into war class path recognition

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/MEVENIDE-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129241#action_129241 ]

John Eichelsdorfer commented on MEVENIDE-614:
---------------------------------------------

Well, I have just tried what you mentioned.  This is what it looks like in my one sibling pom file.

     <dependencies>
          <dependency>
               <groupId>com.jmjmedia.jobbank</groupId>
               <artifactId>jobbank-core</artifactId>
               <version>3.0-SNAPSHOT</version>
               <type>war</type>
               <!-- <type>war</type> -->
          </dependency>
          <dependency>
               <groupId>com.jmjmedia.jobbank</groupId>
               <artifactId>jobbank-core</artifactId>
               <version>3.0-SNAPSHOT</version>
               <type>warpath</type>
          </dependency>
          <dependency>
               <groupId>com.jmjmedia.jobbank</groupId>
               <artifactId>jobbank-core</artifactId>
               <version>3.0-SNAPSHOT</version>
               <type>classes</type>
          </dependency>
     </dependencies>

artifact org.apache.maven.plugins:maven-antrun-plugin: checking for updates from appfuse
Using version: 1.1 of plugin: org.apache.maven.plugins:maven-antrun-plugin
[WARN]Attempting to build MavenProject instance for Artifact (org.appfuse:maven-warpath-plugin:2.0.2-20080308.111818-54) of type: maven-plugin; constructing POM artifact instead.
[#generate-sources]
[WARN]Attempting to build MavenProject instance for Artifact (org.appfuse:maven-warpath-plugin:2.0.2-20080308.111818-54) of type: maven-plugin; constructing POM artifact instead.
[warpath:add-classes]
[#process-resources]
[resources:resources]
Using default encoding to copy filtered resources.
[#compile]


------------------------------------------------------------------------
Reactor Summary:
------------------------------------------------------------------------
JMJ Media Development Parent .......................... SUCCESS [1.329s]
JMJ Media Common Development Library .................. SUCCESS [2.710s]
JMJ Media Common Model View Controller Library ........ SUCCESS [1.389s]
JMJ Media Payment Gateway ............................. SUCCESS [1.293s]
JMJ Media Product and Service Platform ................ SUCCESS [5.925s]
Jobbank Core Library .................................. SUCCESS [8.444s]
Jobbank USA ........................................... FAILED [4.780s]
JMJ Media Top Level Project ........................... NOT BUILT
JMJ Media Top Level Project ........................... NOT BUILT
------------------------------------------------------------------------
[ERROR]
[ERROR]
Transitive dependency resolution for scope: compile has failed for your project.



Error message: Missing:
----------
1) com.jmjmedia.sp:jmjdev-psplatform:warpath:3.0-SNAPSHOT
[ERROR]
[ERROR]  Try downloading the file manually from the project website.
[ERROR]
[ERROR]  Then, install it using the command:
[ERROR]      mvn install:install-file -DgroupId=com.jmjmedia.sp -DartifactId=jmjdev-psplatform -Dversion=3.0-SNAPSHOT -Dpackaging=warpath -Dfile=/path/to/file
[ERROR]
[ERROR]  Alternatively, if you host your own repository you can deploy the file there:
[ERROR]      mvn deploy:deploy-file -DgroupId=com.jmjmedia.sp -DartifactId=jmjdev-psplatform -Dversion=3.0-SNAPSHOT -Dpackaging=warpath -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR]  Path to dependency:
[ERROR]   1) com.jmjmedia.jobbank.usa:jobbank-usa:war:3.0-SNAPSHOT
[ERROR]   2) com.jmjmedia.jobbank:jobbank-core:warpath:3.0-SNAPSHOT
[ERROR]   3) com.jmjmedia.sp:jmjdev-psplatform:warpath:3.0-SNAPSHOT
[ERROR]
[ERROR]----------
1 required artifact is missing.

for artifact:
[ERROR]  com.jmjmedia.jobbank.usa:jobbank-usa:war:3.0-SNAPSHOT
[ERROR]
[ERROR]from the specified remote repositories:
[ERROR]  appfuse (http://static.appfuse.org/repository),
  central (http://repo1.maven.org/maven2)
[ERROR]
Group-Id: com.jmjmedia.jobbank.usa
Artifact-Id: jobbank-usa
Version: 3.0-SNAPSHOT


> war compiling into war class path recognition
> ---------------------------------------------
>
>                 Key: MEVENIDE-614
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-614
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.1
>         Environment: Netbeans 6.1 Beta, Mevenide 3.1 Nightly from March 17,  AppFuse warpath plugin, Java 6.*,  Vista/XP
>            Reporter: John Eichelsdorfer
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>         Attachments: Demo.zip
>
>
> Wars fail to compile into each other using the AppFuse plugin within Netbeans embedded environment.  Switching from war targets to jar allows the projects to compile, but fail to create a correct end target.  Changing to jar targets once while having the pom  targets be jars rather then wars while pointing to an external maven will allow the first compile to work.  It is possible then to switch back to war files to compile, but classpaths then show up messed up.
> If I compile from a command line prompt using "mvn install" this works without error or any hitch.  It just fails embedded.
> I have attached an example of the problem.
> If AppFuse warpath plugin can not work,  please suggest a better working solution within Mevenide for unbundling war dependencies and including them in a target holding that dependency.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: [jira] Created: (MEVENIDE-614) war compiling into war class path recognition