<
From version < 5.1 >
edited by tig
on 2012/05/24 12:55
To version < 7.1 >
edited by tig
on 2012/05/24 13:25
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -103,8 +103,9 @@
103 103  
104 104  == Automatic Build Integration ==
105 105  
106 -* New plugin
107 -** (((
106 +* (((
107 +New plugin
108 +* (((
108 108  New plugins need a {{code language="none"}}pom.xml{{/code}} in the plugin's root folder
109 109  
110 110  {{code title="plugin pom.xml" language="html/xml" collapse="true"}}
... ... @@ -118,7 +118,7 @@
118 118   <version>0.0.1-SNAPSHOT</version>
119 119   </parent>
120 120   <groupId>de.cau.cs.kieler</groupId>
121 - <artifactId>de.cau.cs.kieler.core</artifactId>
122 + <artifactId>YOUR.NEW.PLUGIN.NAME</artifactId>
122 122   <version>0.7.0-SNAPSHOT</version>
123 123   <packaging>eclipse-plugin</packaging>
124 124  </project>
... ... @@ -126,12 +126,40 @@
126 126  
127 127  {{/code}}
128 128  )))
129 -** Make sure that (% style="font-family: monospace;" %)<version>
130 +* Make sure that {{code language="none"}}<version>{{/code}} is in sync with {{code language="none"}}Bundle-Version{{/code}} in {{code language="none"}}META-INF/MANIFEST.MF{{/code}}
131 +* Add a {{code language="none"}}<module>{{/code}} entry in the corresponding parent POM i.e. {{code language="none"}}plugins/pom.xml{{/code}}
132 +* (((
133 +If your plugin uses xtend, tell maven to run the xtend compiler in {{code language="none"}}pom.xml{{/code}}(% style="font-family: monospace;" %)
130 130  
131 -{{warning}}
132 -This section hasn't been written yet.
133 -{{/warning}}
134 134  
136 +{{code language="html/xml" collapse="true"}}
137 + <build>
138 + <sourceDirectory>src</sourceDirectory>
139 + <plugins>
140 + <plugin>
141 + <groupId>org.eclipse.xtend2</groupId>
142 + <artifactId>xtend-maven-plugin</artifactId>
143 + <executions>
144 + <execution>
145 + <goals>
146 + <goal>compile</goal>
147 + </goals>
148 + </execution>
149 + </executions>
150 + </plugin>
151 + </plugins>
152 + </build>
153 +
154 +
155 +{{/code}}
156 +)))
157 +)))
158 +* New JUnit test plugin\\
159 +** Basically the same steps as for plugins except <packaging> is eclipse-test-plugin
160 +* New features
161 +** The same steps as for plugins except <packaging> is eclipse-feature
162 +** Additionally if sources are to be distributed a separate source-feature with the corresponding source-bundles must be created
163 +
135 135  = Features =
136 136  
137 137  == Naming Conventions ==
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -1540137
1 +1540141
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/1540137/Naming and Metadata
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/1540141/Naming and Metadata